The client
group of properties contains information related to your customer.
The client
properties contain information for the document section that contains the customer details.
The company name of the customer. If the customer has no company name, client.full_name
is used.
The full name of the customer; the values of client.first_name
and client.last_name
combined.
The heading of the document section that contains the customer details.
You can edit the text on the Design → Client Details page in your Sufio account.
The client.address
property contains the complete address of your customer, formatted in the country-specific format. Use the individual client.addres.X
properties to return specific values.
The address of the customer, generated from the client.address
properties.
Use the text
attribute to render the property formatted in a country-specific address format.
The client.contacts
group of properties covers properties that contain the contact information of your client. You can return them as strings or formatted as clickable hyperlinks.
The contact information of your client.
Use the following for
loop to iterate through all the
properties of the group that are supposed to be shown in the document.
This depends on the document type, your settings on the Design page, and whether the properties have a value.
The contact email address of the customer.
Use the text
attribute to render the value as a clickable link formatted in HTML.
The contact phone of the customer.
Use the text
attribute to render the value as a clickable link formatted in HTML.
The client.details
group covers properties that contain the company information of your customer.
The company information of your customer.
Use the following for
loop to iterate through all the
properties of the group that are supposed to be shown in the document.
This depends on the document type, your settings on the Design page, and whether the properties have a value.
The company registration or identification number of the customer.
The client.shipping.address
property contains the complete shipping address of your customer, formatted in the country-specific format. Use the individual client.shipping.address.X
properties to return the specific values.
The shipping address of the customer, taken from the client.shipping.address
properties.
Use the text
attribute to render the property formatted in country-specific address format.
The postal or ZIP code of the customer’s shipping address.
The values of client.shipping.first_name
and client.shipping.last_name
of the customer’s shipping address, combined.
The heading of the document section that contains the customer’s shipping address details.
You can edit the text on the Design → Client Details page in your Sufio account.
The client.shipping.contacts
group of properties covers properties that contain the shipping contact information of your client. You can return them as strings or formatted as clickable hyperlinks.
The shipping contact information of your client.
Use the following for
loop to iterate through all the
properties of the group that are supposed to be shown in the document.
This depends on the document type, your settings on the Design page, and whether the properties have a value.
The shipping contact email address of the customer.
Use the text
attribute to render the value as a clickable link in HTML.
The shipping contact phone number of the customer.
Use the text
attribute to render the value as a clickable link formatted in HTML.
The client.statuses
group of properties contains various checks you can use as conditions in your document templates.
If True
, the customer’s address country is different to your account’s country.
True
if the properties client.has_vat_no
and client.address.is_eu_country
are both True
and the property document.has_tax
is False
at the same time. False
for all other combinations.
If True
, the customer’s shipping address country is different to your account’s country.
If True
, the customer’s shipping address country is in the EU.