company
A company drop contains information about the current file.
Methods
Method | Return type | Description |
---|---|---|
account_mapping_list.name (deprecated) | string | The name of a mapping list. |
account_mapping_list.id (deprecated) | string | the id of the mapping list on firm level |
account_mapping_list.marketplace_template_id (deprecated) | string | the id of the mapping list on partner level |
analytical_type_(0..x)_codes | drop | Contains information about dimensions/companies in an analytical/consolidation file. |
city | string | The city from the company settings. |
company_form | string | The company form from the company settings. |
company_type | string | The type from the company settings. |
country | string | The country from the company settings. |
country_code | string | The country code based upon the country from the company settings. |
currency | string | The currency code from the company settings. |
custom | drop | A way to attach custom information to a company, independent of the period. |
external_companies | drop | Access data from other companies (also see link to useful information section) |
file_code | string | The file number from the company settings. |
first_name | string | !Personal files only! (Feature flagged) The first name from the company settings. |
last_name | string | !Personal files only! (Feature flagged) The last name from the company settings. |
locales | array | Available languages for the company. |
name | string | The company name from the company settings. |
national_insurance_number | string | !Personal files only! (Feature flagged) The national insurance number from the company settings. |
periods_per_year | integer | Returns 1,4,12 depending on the reporting frequency (yearly, quarterly or monthly). |
postalcode | string | The post code from the company settings. |
street | string | The street from the company settings. |
vat_identifier (deprecated) | string | The VAT identifier from the company settings. |
registration_number | string | The company number from the company settings. |
vat_number | string | The VAT number from the company settings. |
vat_identifier versus registration_number and vat_number
The
vat_identifier
method is replaced by theregistration_number
method. Thevat_identifier
stays as an alias of theregistration_number
. This means that the value ofcompany.registration_number
will be the same ascompany.vat_identifier
and vice versa.The
vat_number
is created to insert a separate VAT number for the company, when it is different from the company registration number. This adjustment has been implemented in the 'Edit client' section. Before the update, there was only one field available for the VAT identifier of the company.The purpose in future updates and new templates is to use the
company.registration_number
instead ofcompany.vat_identifier
.

Input
{% stripnewlines %}
|--------
|--------
{% newline %}
|City:|{{ company.city }}
{% newline %}
|Company_form:|{{ company.company_form }}
{% newline %}
|Company_country:|{{ company.country }}
{% newline %}
|Company_country_code:|{{ company.country_code }}
{% newline %}
|Company_custom_field:|{% input company.custom.some.data %}
{% newline %}
|Company_file_code:|{{ company.file_code }}
{% newline %}
|Company_locales:|{{ company.locales | append:"," }}
{% newline %}
|Company_name:|{{ company.name }}
{% newline %}
|Company_street:|{{ company.street }}
{% newline %}
|Company_registration_number:|{{ company.registration_number }}
{% newline %}
|Company_vat_number:|{{ company.vat_number }}
{% newline %}
|Company_type:|{{ company.company_type }}
{% endstripnewlines %}
Output

Updated 18 days ago