Company VAT register

This table contains company VAT information per country when sending invoices, product catalogues, order response and despatch advice through Visma.net AutoInvoice.

You can add registration information for companies that have VAT registration in several countries in this table. When sending documents to Visma.net AutoInvoice, and the order's or customer's (when sending product catalogues) country number is found in this table, content from this table will replace company-related information that would otherwise be taken from the Company information table.

The following fields exist in this table:

Address line 1

The company’s Address line 1 to Address line 3

If left empty, no address fields will be included in the XML document.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAddress lineText (60)
SQL nameAd1The database field name.
API identifieraddressLine1The API identifier used in GraphQL.
Number18782 

Address line 2

The company’s Address line 1 to Address line 3

If left empty, no address fields will be included in the XML document.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAddress lineText (60)
SQL nameAd2The database field name.
API identifieraddressLine2The API identifier used in GraphQL.
Number18783 

Address line 3

The company’s Address line 1 to Address line 3

If left empty, no address fields will be included in the XML document.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAddress lineText (60)
SQL nameAd3The database field name.
API identifieraddressLine3The API identifier used in GraphQL.
Number18784 

Country no.

The country of the VAT registration.

Primary key in the table. When sending a document to AutoInvoice, this value will be looked for in Company VAT register based on the order's Country no.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainCountry no.Integer
Primary keyYesCountry no.
SQL nameCtryThe database field name.
API identifiercountryNoThe API identifier used in GraphQL.
Number18780 
Table 1. Table relations
To tablePurposeFrom columnsTo columnsComments
CountryCountry
  • Country no.

VAT reg.no.

VAT registration number for the company in the specified country. Mandatory field.

Mandatory for the functionality. VAT reg.no. must be set, otherwise the default fields in Company information table will be used instead when creating the XML document.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainOrganisation no.Text (24)
SQL nameEUTaxNoThe database field name.
API identifiereuVatRegistrationNoThe API identifier used in GraphQL.
Number18788 

Name

The name of the company.

If not set, the company name in Company table will be used.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainNameText (80)
SQL nameNmThe database field name.
API identifiernameThe API identifier used in GraphQL.
Number18781 

Organisation type

The type of register the organisation is registered in, in the specified country.

If left empty, the XML fields using Organisation type will not be included in the XML document. This may cause validation issues depending on the format rules for the specified country.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainString of length 50Text (50)
SQL nameOrgTpThe database field name.
API identifierorganizationTypeThe API identifier used in GraphQL.
Number18789 

Postal area

The postal area of the company in the specified country.

If left empty, postal area will not be included in the XML document.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAddress lineText (60)
SQL namePAreaThe database field name.
API identifierpostalAreaThe API identifier used in GraphQL.
Number18786 

Post code

The post code of the company in the specified country.

If left empty, post code will not be included in the XML document.

If you enter a Post code that exists in the Postal address table, the Postal area field is filled in and the cursor jumps to the next field. If the Post code does not exist you will see a warning in the Status bar and the cursor will then stop in the Postal area field so you can type in the Postal area manually.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainPost codeText (40)
SQL namePNoThe database field name.
API identifierpostCodeThe API identifier used in GraphQL.
Number18785 
Table 2. Table relations
To tablePurposeFrom columnsTo columnsComments
Postal addressPostalAddress
  • Post code

Control columns

Control columns include information about who has changed the record last and when, and which process that is currently editing the record.

Changed by user

The name of the user that changed the record.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainUser nameText (24)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChUsrThe database field name.
API identifierchangedByUserThe API identifier used in GraphQL.
NumberA unique column number. 

Changed date

The date when the record was changed.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDateInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChDtThe database field name.
API identifierchangedDateThe API identifier used in GraphQL.
NumberA unique column number. 

Changed time

The time when the record was changed.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainTimeInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChTmThe database field name.
API identifierchangedTimeThe API identifier used in GraphQL.
NumberA unique column number. 

Changed time stamp

The date and time when the record was changed.

The field is updated with the UTC time.

This value can be used by external systems to replicate changed data. The column is indexed. 

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDate/timeDateTime
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChTsThe database field name.
API identifierchangedTimestampThe API identifier used in GraphQL.
NumberA unique column number. 

Created by user

The name of the user that created the record.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainUser nameText (24)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreUsrThe database field name.
API identifiercreatedByUserThe API identifier used in GraphQL.
NumberA unique column number. 

Created date

The date when the record was created.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDateInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreDtThe database field name.
API identifiercreatedDateThe API identifier used in GraphQL.
NumberA unique column number. 

Created time

The time when the record was created.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainTimeInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreTmThe database field name.
API identifiercreatedTimeThe API identifier used in GraphQL.
NumberA unique column number. 

Created time stamp

The date and time when the record was created.

The field is updated with the UTC time.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDate/timeDateTime
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreTsThe database field name.
API identifiercreatedTimestampThe API identifier used in GraphQL.
NumberA unique column number. 

Edit status

The current status of the record.

A look-up in this field gives you the following list of possible values:

0 - Unchanged: The record is read, but not changed.

1 - Inserted: The record is new.

2 - Changed: The record is changed.

3 - Deleted: The record is deleted.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainEdit statusInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameLckStThe database field name.
API identifiereditStatusThe API identifier used in GraphQL.
NumberA unique column number. 

Process no

The Process no. from the Active company process table which is currently using or has control of this record.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainProcess no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChPrcThe database field name.
API identifierlockedByProcessNoThe API identifier used in GraphQL.
NumberA unique column number. 
Table 3. Table relations
To table Purpose From columns To columns Comments
Active company process CompanyProcess Process no. Process no.