Account properties

The account group of properties contains information related to your company.

Account Information

The account properties contains various account properties, such as company name and logo.

account.company_name

account.company_name

The name of your company.

Code
{{ account.company_name }}
Output
ACME Shop Inc.

account.heading

account.heading

The heading of the document section that contains your company details. This is typically displayed above your company name.

You can edit the text on the DesignCompany Details page in your Sufio account.

Code
{{ account.heading }}
Output
Supplier
account.logo

The URL of your logo image.

You can upload the logo in your Sufio account in the DesignLogo & Signature page.

Code
{{ account.logo }}
Output
/media/cache/s/sufio-test/c13s_1p6y1n_document.png

Use the text attribute to render the value as an HTML img tag. The tag can contain a style attribute to resize the logo image based on your settings.

Code
{{ account.logo.text }}
Output
<img src="/media/cache/s/sufio/c13s_1p6y1n_document.png" style="width: 90.00%;">

account.notes

account.notes

The Company Info text that appears below your address on invoices.

You can enter the text on the SettingsCompany Profile page in your Sufio account.

Code
{{ account.notes }}
Output
Coffee experts since 2013

account.stamp

account.stamp

The URL of your stamp or signature image.

You can upload the image in your Sufio account in the DesignLogo & Signature page.

Code
{{ account.stamp }}
Output
/media/cache/s/sufio-test/c13s_1p6y1n_document.png

Resize the stamp

Use the text attribute to render the value as an HTML img tag. The tag can contain a style attribute to resize the logo image based on your settings.

Code
{{ account.stamp.text }}
Output
<img src="/media/cache/s/sufio/c13s_1p6y1n_document.png" style="width: 90.00%;">

Account Address

The account.address property contains your complete billing address, formatted in the country-specific format, generated from the set of account.address properties.

Use the individual account.address.X properties to render the specific values.

account.address

account.address

The address of your company, formatted in country-specific address format, generated from the set of account.address properties.

Code
{{ account.address }}
Output
42 Geary Street
San Francisco
CA
94108
United States

Use the text attribute to render the value formatted in a country-specific address format.

Code
{{ account.address.text }}
Output
<div class="address" itemprop="address" itemscope itemtype="http://data-vocabulary.org/Address"><div class="ls-comma"><span itemprop="street-address" class="street">42 Geary Street</span><span></span></div><div class="ls-comma"><span itemprop="locality" class="city">San Francisco</span><span>,&nbsp;</span><span itemprop="region" class="region-code">CA</span><span>&nbsp;</span><span itemprop="postal-code" class="postal-code">94108</span><span></span></div><div class="ls-last"><span itemprop="country-name" class="country">United States</span><span></span></div></div>

account.address.city

account.address.city

The city of your company address.

Code
{{ account.address.city }}
Output
San Francisco

account.address.country

account.address.country

The country of your company address.

Code
{{ account.address.country }}
Output
United States

account.address.country_code

account.address.country_code

The country code (ISO 3166-1 alpha-2 format) of your company address.

Code
{{ account.address.country_code }}
Output
US

account.address.postal_code

account.address.postal_code

The postal or ZIP code of your company address.

Code
{{ account.address.postal_code }}
Output
94108

account.address.region

account.address.region

The region of your company address.

Code
{{ account.address.region }}
Output
California

account.address.region_code

account.address.region_code

The region code (ISO 3166-2 alpha-2 format) of your company address.

Code
{{ account.address.region_code }}
Output
CA

account.address.street

account.address.street

The street of your company address, including the street number.

Code
{{ account.address.street }}
Output
42 Geary St

Account Contacts

The account.contacts group includes properties that contain information about your business, such as your phone number, email address, or social media pages.

You can render the property values as plain text strings or as clickable hyperlinks formatted in HTML.

account.contacts

account.contacts

The contact information about your business, such as your phone number, email address, or social media pages.

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.

{% for contact in account.contacts %}
    <div id="{{ contact.id }}" class="{{ contact.css_classes }}">
        {{ contact.title }}: {{ contact.text }}
    </div>
{% endfor %}

account.contacts.company_name

account.contacts.company_name

The name of your company.

Code
{{ account.contacts.company_name }}
Output
ACME Shop Inc.

account.contacts.email

account.contacts.email

The email address of your company.

Code
{{ account.contacts.email }}
Output
invoices@acmeshop.com

Use the text attribute to render the value as a clickable hyperlink formatted in HTML.

Code
{{ account.contacts.email.text }}
Output
<a href="mailto:invoices@acmeshop.com">invoices@acmeshop.com</a>

account.contacts.facebook

account.contacts.facebook

The URL of your company Facebook account.

Code
{{ account.contacts.facebook }}
Output
facebook.com/sufiocom/

Use the text attribute to render the value as a clickable hyperlink formatted in HTML.

Code
{{ account.contacts.facebook.text }}
Output
<a href=”https://facebook.com/sufiocom” target=”_blank”>facebook.com/sufiocom</a>

account.contacts.fax

account.contacts.fax

The fax number of your company.

Code
{{ account.contacts.fax }}
Output
+1387654321

account.contacts.phone

account.contacts.phone

The phone number of your company.

Code
{{ account.contacts.phone }}
Output
+1387654321

Use the text attribute to render the value as a clickable hyperlink formatted in HTML.

Code
{{ account.contacts.phone.text }}
Output
<a href="tel:+1387654321">+1387654321</a>

account.contacts.website

account.contacts.website

The URL of your company website.

Code
{{ account.contacts.website }}
Output
acmeshop.com

Use the text attribute to render the value as a clickable hyperlink formatted in HTML.

Code
{{ account.contacts.website.text }}
Output
<a href=”https://acmeshop.com” target=”_blank”>acmeshop.com</a>

account.contacts.twitter

account.contacts.twitter

The handle of your company X account.

Code
{{ account.contacts.twitter }}
Output
@sufio_com

Use the text attribute to render the value a clickable hyperlink formatted in HTML.

Code
{{ account.contacts.twitter.text }}
Output
<a href=”https://x.com/sufio_com” target=”_blank”>@sufio_com</a>

Account Details

The account.details group contains additional details about your company, such as company or tax identifiers.

account.details

account.details

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.

{% for detail in account.details %}
    <div id="{{ detail.id }}" class="{{ detail.css_classes }}">
        {{ detail.title }}: {{ detail.text }}
    </div>
{% endfor %}

account.details.company_no

account.details.company_no

The registration or identification number of your company.

Code
{{ account.details.company_no }}
Output
12345678

account.details.vat_no

account.details.vat_no

The VAT or GST number of your company.

Code
{{ account.details.vat_no }}
Output
DE123456789