AutoReport archive

This table contains one row for each VAT report.

PropertyValueDescription
DatabaseCompanyThis table is in the company databases.
SQL nameARArchThe table name in the database.
API identifierautoreportArchiveThe API identifier used in GraphQL.
Table no.394The table number in the data model.

The following fields exist in this table:

Amount

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainAmountDecimal
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameAmThe database field name.
API identifieramountThe API identifier used in GraphQL.
Number17734 

Bank account

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainBank accountText (35)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameBGiroThe database field name.
API identifierbankAccountThe API identifier used in GraphQL.
Number17732 

Description

Interpretation of the AutoReport field for actions to the user.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainString of length 250Text (250)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameDescrThe database field name.
API identifierdescriptionThe API identifier used in GraphQL.
Number17671 

Norwegian VAT report processing

A look-up opens the dialog box where you can see the following check boxes and options:
Agriculture VAT period
Main VAT term
Withdraw tax statement
PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainNorwegian VAT report processingInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameVatRepProcThe database field name.
API identifiervatReportProcessingThe API identifier used in GraphQL.
Number19142 

Payment message

Message from Altinn that describes the payment details for the period if there is VAT to pay.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainString of length 1000Text (1000)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL namePayMsgThe database field name.
API identifierpaymentMessageThe API identifier used in GraphQL.
Number18216 

Reference id

Id for the message for report reference.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainString of length 50Text (50)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameRefIdThe database field name.
API identifierreferenceIdThe API identifier used in GraphQL.
Number17669 

Reply message

Message that describes the status from Visma.net AutoReport.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainString of length 1000Text (1000)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameRepMsgThe database field name.
API identifierreplyMessageThe API identifier used in GraphQL.
Number17672 

Report data

Stores the sent XML.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainFile in BLOBUnlimited text
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameRepDataThe database field name.
API identifierreportDataThe API identifier used in GraphQL.
Number17674 

Report type

Primary key. Represents the type of the report.

A look-up in this field gives you the following list of possible values:
1 - VAT report
2 - Supplier report
3 - Supplementary VAT report (NO)
4 - Norwegian VAT report
5 - Danish VAT report
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainReport typeInteger
Primary keyYesYear, Report type, Sequence no.
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameRepTpThe database field name.
API identifierreportTypeThe API identifier used in GraphQL.
Number17685 

Sequence no.

Primary key. Sequence number is unique per report type and per year.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainNo.Integer
Primary keyYesYear, Report type, Sequence no.
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameSeqNoThe database field name.
API identifiersequenceNoThe API identifier used in GraphQL.
Number17667 

Service reference

Governmental id of the report that is generated by Visma.net AutoReport and used in relation with the government.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainString of length 50Text (50)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameSrvRefThe database field name.
API identifierserviceReferenceThe API identifier used in GraphQL.
Number17673 

Status

Status from Visma.net AutoReport or Business NXT

A look-up in this field gives you the following list of possible values:
1 - Not sent
Tax statement is not sent yet.
2 - Sent
Tax statement is sent to AutoReport.
3 - Received in AutoReport
Tax statement is received in AutoReport.
4 - Received in governmental portal
Tax statement is received in governmental portal.
5 - Sending failure
There was a failure in sending of tax statement.
6 - Rejected by AutoReport
Tax statement was rejected by AutoReport. Could be missing or incorrect data.
7 - Rejected by governmental portal
Tax statement was rejected by governmental portal. Could be missing or incorrect data.
8 - Withdrawn
Tax statement was withdrawn by user.
9 - Accepted by governmental portal
Tax statement was accepted by governmental portal.
10 - Cancelled in AutoReport
Tax statement has been cancelled in AutoReport.
11 - Payment information received
Payment information has been received from the governmental portal.
12 - Batch created for VAT payment
A batch for payment has been created for the VAT based on the VAT control account and VAT control supplier settings.
13 - No VAT to be paid
14 - Report sending is awaiting authentication
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAutoReport statusInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameStThe database field name.
API identifierstatusThe API identifier used in GraphQL.
Number17670 

Validation status

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainNo.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameValStThe database field name.
API identifiervalidationStatusThe API identifier used in GraphQL.
Number19140 

VAT approval status

A look-up in this field gives you the following list of possible values:
1 - Approved
This value is set after the Send Norwegian VAT report processing in the VAT period tables has been executed and the report has been approved by the Norwegian Tax Authorities. When this value is set, a manual approval of the VAT report using the Approve VAT report processing is no longer possible.
PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainVAT approval statusInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameVatAppStThe database field name.
API identifiervatApprovalStatusThe API identifier used in GraphQL.
Number19541 

VAT report no.

This field exists in the VAT period table and it gets a value after the VAT report has been run.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainNo.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameVatRepNoThe database field name.
API identifiervatReportNoThe API identifier used in GraphQL.
Number17668 

VAT report receipt

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainFile in BLOBUnlimited text
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameVatRepRecpThe database field name.
API identifiervatReportReceiptThe API identifier used in GraphQL.
Number19148 

VAT report reply status

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainNo.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameVatRepStThe database field name.
API identifiervatReportReplyStatusThe API identifier used in GraphQL.
Number19141 

VAT term

Represents the VAT term the VAT report has been run for.

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.
DomainPeriodInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameTxTrmThe database field name.
API identifiertaxTermThe API identifier used in GraphQL.
Number17820 
Table 1. Table relations
To tablePurposeFrom columnsTo columnsComments
VAT periodTaxTerm
  • Year
  • VAT term
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.

Year

Primary key. Represents the year the report has been run for.

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.
DomainYearInteger
Primary keyYesYear, Report type, Sequence no.
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameYrThe database field name.
API identifieryearThe API identifier used in GraphQL.
Number17684 
Table 2. Table relations
To tablePurposeFrom columnsTo columnsComments
Accounting periodAccountingPeriod
  • Year
  • Period
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.
VAT periodTaxTerm
  • Year
  • VAT term
This is a combined foreign key. Making a lookup in one of the fields may also fill in value in the others.

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 3. Table relations
To table Purpose From columns To columns Comments
Active company process CompanyProcess Process no. Process no.