Ever wondered what the logic is behind the structured communication on your invoices? Read more about it in this article!
First part of the communication
Teamleader uses the unique ID of the invoice to generate the structured communication. You can see the ID of an invoice in the URL of the specific invoice page:
For example, if the ID of the invoice is 1809426, then the communication will be: +++001/8094/26074+++
Last part of the communication
This part depends on a calculation called the modulo operation (learn more about it here). Teamleader Focus uses the unique ID of the invoice with an added zero and the number 97 to calculate the modulus (the result of the operation). The modulo operation finds the remainder after division of one number by another. The notation of the modulo operation is "%".
- If the result of the modulo operation equals 0, the number 97 is used.
- If the result of the modulo operation is bigger than 0, the actual result of the modulo is used.
For example: Invoice ID with added zero = 1809426 + 0 = 18094260
18094260 % 97 = 74
Structured communication on invoices
You can add the structured communication on your invoices by adding the shortcode $STRUCTURED_COMM$ on your document layout. To know more about shortcodes, click here.
Note: The shortcode $STRUCTURED_COMM$ will only show the structured communication when a Belgian customer creates an invoice for their Belgian customer. In all other circumstances, the shortcode will show the number of the invoice.