Back

Adding Construction Variables to the Sales Invoice Printable Template

Invoices generated from a payment certificate can print contract, project and certificate details, for a ZATCA-compliant tax invoice that states the contractual reference. Construction fields were added to the Add Other Fields list of the sales invoice template.

Required permissionsEdit General Settings, with the Construction app active.
How to get thereTemplates → Printable Templates → Estimates & Invoices → open the template

Before you start

  • The construction fields show in the list only when the Construction app is active.
  • Values come from the linked payment certificate, so real data prints only on invoices generated from a certificate (Invoice on an approved certificate).

Add the variables

  1. Open Printable Templates and choose Estimates & Invoices.
  2. Open the template or create a new design.
  3. Open the Additional Fields tab and click Add Other Fields; the construction fields are in the same list as the other fields, after Retention and Retention Percentage.
  4. Insert the variables and Save.

Construction variables

Variable Shows
Contract Number Number of the construction contract linked to the certificate.
Contract Title The contract title.
Project Name The construction project name.
Payment Certificate Date Date of the certificate the invoice was generated from.
Start Date (Payment Certificate) Start of the certificate period.
End Date (Payment Certificate) End of the certificate period.

Invoices not linked to a certificate

  • These variables have no values on an invoice not generated from a certificate, so no construction data prints; the rows are hidden together with their labels, as is the row of any date left empty on the certificate.
  • Check how the template looks on an invoice not linked to a certificate before relying on it.

Frequently asked questions

Why are the construction fields missing from the list?

The Construction app is not active.

Where do the values come from?

From the payment certificate linked to the invoice.

Do the variables make the invoice ZATCA-compliant?

They add the contractual reference to the tax invoice; other ZATCA requirements stay as in the template.