6.2. Client

The following table shows the fields that can be used to include information about your client's business in an invoice.

Table 6.2. Client Properties

Property Version Meaning
1. General
client.name 1.0 self-explained
client.code 1.5 The client code is especially useful if you want to number invoices automatically and to include the client code in the invoice number.
client.invoices 2.0

A list with all the invoices of a client. This is useful if you want to create a statement. To access an invoice from the list use the following Freemarker code:

<#list client.invoices as invoice>
...
</#list>
client.balance 2.0 How much money the client has to pay for all open (unpaid) invoices. Balance is the difference between the total of all invoices and the total of all payments.

2. Taxes

client.taxNumber 1.4 The tax number assigned by the government to your client's business. In many countries, invoices must include the client's VAT number. In such cases, the tax number is the VAT number.

3. Contact

client.attention 1.0 self-explained
client.address 1.0 self-explained
client.city 1.0 self-explained
client.state 1.0 self-explained
client.zip 1.0 self-explained
client.country 1.0 self-explained
client.phone 1.0 self-explained
client.fax 1.0 self-explained
client.mobile 2.1 self-explained
client.other 2.1 self-explained
client.email 1.0 self-explained
client.website 1.8 self-explained