Generate invoices using the template engine
Smartcat allows you to generate invoices in PDF format. For this purpose, you can use the standard template or create your own templates using the Smartcat Template Engine technology. It can be used to create a single template for all clients or individual templates for each client.
Below is the data model used to generate invoices in PDF format. These objects and their respective fields can be used to develop custom templates using the Smartcat Template Engine technology.
Invoice | ||
General invoice details | ||
Field name | Data type | Description |
Number | string | Internal invoice number in Smartcat’s system |
ExternalNumber | string | External invoice number |
DateSent | DateTime | Invoice date |
DatePaid | DateTime | Payment date |
Currency | string | Invoice currency |
TotalCost | decimal | Total cost of all services listed on the invoice |
AccountId | string | Invoice creator’s account ID |
IsPaid | bool | A boolean value indicating whether the invoice is paid. Returnstrueif the invoice is paid. |
PaymentReceiveDestination | A method of receiving invoice payments. ReturnsBalance (1)if the Smartcat balance is selected as the preferred method orExternalBankAccount (2)if the company’s external bank account is selected as the preferred method. | |
TotalCostDescription | string | Total cost of all services spelled out in Russian (for Russian users) |
Below is an example of how to use the Invoice object:
Invoice No. <<[Invoice.Number]>>Invoice date <<[Invoice.DateSent]>> |