Accounting document

PropertyValueDescription
DatabaseCompanyThis table is in the company databases.
SQL nameInAcDocThe table name in the database.
API identifierincomingAccountingDocumentThe API identifier used in GraphQL.
Table no.406The table number in the data model.

The following fields exist in this table:

Accounting document no.

The unique number of an accounting document.

Note:
If you press + in this field, the next available number is suggested. Gaps in the number series resulting from any deleted rows are not suggested. If you enter an existing number you will receive an error message. The number cannot be changed once it is entered.
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.
DomainNo.Integer
Primary keyYesAccounting document no.
SQL nameInAcDocNoThe database field name.
API identifierincomingAccountingDocumentNoThe API identifier used in GraphQL.
Number17924 
Table 1. Table relations
To tablePurposeFrom columnsTo columnsComments
DocumentDocument
  • Accounting document no.
BatchBatch
  • Accounting document no.

Bank account

The supplier's bank account number.

May also contain Bankgiro or Plusgiro accounts (Sweden).

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainBank accountText (35)
SQL nameBGiroThe database field name.
API identifierbankAccountThe API identifier used in GraphQL.
Number20561 

Description

Text describing the incoming document.

The field is editable, so content may be extended or replaced.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainString of length 250Text (250)
SQL nameDescrThe database field name.
API identifierdescriptionThe API identifier used in GraphQL.
Number18578 

Doc. date

Date of the document.

If running Process document on documents with Document type 3-6, today's date will be used as voucher date if the field is empty.

The date is validated using the regional settings in Windows.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDateInteger
SQL nameDocDtThe database field name.
API identifierdocumentDateThe API identifier used in GraphQL.
Number17927 

Document type

Shows the type of the incoming document.

Processings in the table depend on the type of document.

A look-up in this field gives you the following list of possible values:
1 - Invoice
2 - Expense claim
3 - Payment
4 - Reminder
5 - Receipt
6 - Other
7 - Credit note
8 - Payroll
The document contains payroll data.
9 - Settlement
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDocument typeInteger
SQL nameInAcDocTpThe database field name.
API identifierincomingAccountingDocumentTypeThe API identifier used in GraphQL.
Number18576 

Due date

Due date on the downloaded document.

The date is validated using the regional settings in Windows.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDateInteger
SQL nameDueDtThe database field name.
API identifierdueDateThe API identifier used in GraphQL.
Number18768 

External document ID

The ID of the document in an external system.

In use when Origin is 1 - AutoInvoice or 2 - Expense.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainGUIDText (40)
SQL nameExtDocIdThe database field name.
API identifierexternalDocumentIdThe API identifier used in GraphQL.
Number17926 

Giro type

Defines information available on the giro used for payment in Denmark.

Bank giro type texts for different languages can be defined in the Text table. These texts has text type 206.
Note:
If you double-click or press * in this field, you can look up a Bank giro type in the Text table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainBank giro typeInteger
SQL nameGiroTpThe database field name.
API identifiergiroTypeThe API identifier used in GraphQL.
Number20564 

IBAN

The supplier's IBAN account number.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainBank accountText (35)
SQL nameIBANThe database field name.
API identifieribanThe API identifier used in GraphQL.
Number20562 

Invoice no.

The invoice number of the downloaded document.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDoc. no.Text (40)
SQL nameInvoNoThe database field name.
API identifierinvoiceNoThe API identifier used in GraphQL.
Number18766 

Invoice reference

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainString of length 240Text (240)
SQL nameInvRefThe database field name.
API identifierinvoiceReferenceThe API identifier used in GraphQL.
Number20980 

Invoice reference employee

The Empl. no. is a unique number identifying one specific Employee.

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.
DomainEmpl. no.Integer
SQL nameInvRefEmpThe database field name.
API identifierinvoiceReferenceEmployeeThe API identifier used in GraphQL.
Number20981 
Table 2. Table relations
To tablePurposeFrom columnsTo columnsComments
AssociateInvoiceReferenceEmployee
  • Invoice reference employee

Invoice response status

Displays the latest status sent to the supplier as an invoice response document. More information found in Invoice response.

A look-up in this field gives you the following list of possible values:
1 - Message acknowledgement
2 - Accepted
3 - Rejected
4 - In process
5 - Under query
6 - Conditionally accepted
7 - Paid
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainResponse codeInteger
SQL nameInvRespStThe database field name.
API identifierinvoiceResponseStatusThe API identifier used in GraphQL.
Number19726 

Invoice URL

The content of the field is a link to a document image or to an external system.

Double-click or press * to open the web page in your web browser.

Alternatively the field can be used to refer to documents or other files. Double-click or press * in the empty field to open the Select file dialog box.

On the Design tab, in the Insert group, you can click on Web page to visualise the document or web page on the screen.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainWeb pageText (260)
SQL nameInvoURLThe database field name.
API identifierinvoiceUrlThe API identifier used in GraphQL.
Number17931 

Nothing to process

Set if you have selected the Nothing to process check box in the dialog for the Status field.

The field is editable so that the status may be changed directly adding or removing content in this field.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainBooleanInteger
Memory fieldYesThe value in this field is only displayed in the program, it is not stored in the database.
API identifiernothingToProcessThe API identifier used in GraphQL.
Number18580 

Order no.

Used for matching incoming invoices to purchase orders

The field contains a lookup to the Order table. If an Order no. is found in the invoice file, but a match is not found in the Order table, the field will be left empty.

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.
DomainOrder no.Integer
SQL nameOrdNoThe database field name.
API identifierorderNoThe API identifier used in GraphQL.
Number18821 
Table 3. Table relations
To tablePurposeFrom columnsTo columnsComments
OrderOrder
  • Order no.

Organisation no.

The supplier company ID of the downloaded document.

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

Origin

A source system of the incoming accounting document.

Processings in the table depend on the origin.

A look-up in this field gives you the following list of possible values:
1 - AutoInvoice
2 - Expense
Stores attachments from claims in Visma.net Expense in the Accounting document attachment table.
3 - Document center
4 - Scan
5 - Payroll
The document is imported from Payroll.
6 - Manual
7 - AutoCollect
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainOriginInteger
SQL nameInAcDocOrThe database field name.
API identifierincomingAccountingDocumentOriginThe API identifier used in GraphQL.
Number17925 

Postal giro

Contains the supplier's payment account used for FIK in Denmark.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainBank accountText (35)
SQL namePGiroThe database field name.
API identifierpostalGiroThe API identifier used in GraphQL.
Number20563 

Status

Displays the current status of the document.

The status is displayed in a dialog, available by double-clicking.

A look-up opens the dialog box where you can see the following check boxes and options:
Sent for order match
Sent to accounting
The invoice passed initial validation and was accepted for accounting processing.
Status sent to origin
Error in processing
Sent to re-invoicing
Nothing to process
Multiple supplier matches
Bank information difference
Bank information updated
Match with bank information only
Duplicate
Outside tolerance level
Indicates that the total invoice amount exceeds the allowed deviation tolerance compared to the purchase order amount. The invoice requires manual review and correction before the order match process can be completed.
Outside tolerance level solved
Indicates that an invoice previously marked as outside tolerance has been manually corrected on the purchase order lines. After the correction, the order match validation was successfully completed and the document can continue in the processing workflow.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainStatusInteger
SQL nameInAcDocStThe database field name.
API identifierincomingAccountingDocumentStatusThe API identifier used in GraphQL.
Number17929 

Sup. no.

Supplier no connected to the document.

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.
DomainSup. no.Integer
SQL nameSupNoThe database field name.
API identifiersupplierNoThe API identifier used in GraphQL.
Number17928 
Table 4. Table relations
To tablePurposeFrom columnsTo columnsComments
AssociateSupplier
  • Sup. no.

Visma ID

Link to a document image in Visma Document Center that can be viewed with the View document processing.

The field is not editable.

This field isn't used in Business NXT.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainNo.Integer
SQL nameWfIdThe database field name.
API identifiervismaIdThe API identifier used in GraphQL.
Number18581 

Voucher no.

Voucher no. is set when creating a voucher using Process document.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainVoucher no.Integer
SQL nameVoNoThe database field name.
API identifiervoucherNoThe API identifier used in GraphQL.
Number18579 

Voucher series no.

Used to override the voucher series set in Miscellaneous series when creating a voucher using Process document.

When running the Process document processing with neither Miscellaneous series nor Voucher series no. defined, this will result in an error.

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.
DomainVoucher series no.Integer
SQL nameVoSrThe database field name.
API identifiervoucherSeriesNoThe API identifier used in GraphQL.
Number18577 
Table 5. Table relations
To tablePurposeFrom columnsTo columnsComments
Voucher seriesVoucherSeriesNo
  • Voucher series no.

Voucher URL

The content of the field is a link to a document image or to an external system.

Double-click or press * to open the web page in your web browser.

Alternatively the field can be used to refer to documents or other files. Double-click or press * in the empty field to open the Select file dialog box.

On the Design tab, in the Insert group, you can click on Web page to visualise the document or web page on the screen.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainWeb pageText (260)
SQL nameVoURLThe database field name.
API identifiervoucherUrlThe API identifier used in GraphQL.
Number17932 

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 provenance

The provenance for the record change.

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

0 - None

1 - UI

10 - External API

20 - GAiA

21 - AI Connect

100 - Internal service

101 - Task automation

102 - AutoInvoice download

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

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 provenance

The provenance for the record creation.

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

0 - None

1 - UI

10 - External API

20 - GAiA

21 - AI Connect

100 - Internal service

101 - Task automation

102 - AutoInvoice download

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainProvenanceInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCrePvnThe database field name.
API identifiercreatedByProvenanceThe 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 6. Table relations
To table Purpose From columns To columns Comments
Active company process CompanyProcess Process no. Process no.