Creating a batch for VAT payment in Norway

Norwegian companies are able to create a VAT payment batch based on the information received from Altinn by using Opprett mva.betaling in the AutoReport arkiv table. This processing creates a batch based on the XML content, Leverandørnr. avgiftsoppgjør and Avg.oppgj.konto. Batch is always created with today's date. After the batch has been updated, a payment suggestion can be done for the supplier with other open payments.

To automate the creation of VAT payment batch enable Behandle meldinger for betaling av mva. automatisk setting in AutoReport behandling field in Bedriftsopplysninger. When ever the payment information is received from Altinn, a batch will be created based on it.

It is also possible to automate the batch update if wanted. A setting Automatisk oppdatering av bunter for betaling av mva. is located in AutoReport behandling field in Bedriftsopplysninger table.

If a payment batch has already been created for the same VAT term and year it is not possible to create another. If a payment batch is still wanted it has to be created manually. In version 14.01.0 this block has been removed because of supplement VAT reports that can be sent to Altinn after the Main VAT report. In practice that means that there can be several reports approved in Altinn for the same period, latter supplementing the main report instead of fully replacing the previous one.

Merk: Receiving payment messages from Altinn automatically is possible only when the default report step in Visma.net AutoReport is set to Report completed and signed.

If the default report step in Visma.net AutoReport is set as Report complete, starting from version 15.10 of Visma Business it is possible download the VAT payment information at a later stage. For this scenario when signing is wanted to do later than the sending of the VAT report, there is a new processing in the AutoReport arkiv table called Nedlasting betalingsinformasjon. To download the payment information, user must enter Altinn credentials and request a pin code to authenticate against Altinn.

This processing will:
  • download VAT payment information if it's available
  • return a message if the report is not yet signed
  • not be available for other than status 9 - Akseptert av Altinn
  • if Behandle meldinger for betaling av mva. automatisk is set in AutoReport behandling, create a payment voucher automatically
  • if Automatisk oppdatering av bunter for betaling av mva. is also set in AutoReport behandling, update the payment batch automatically

If a payment batch has already been created for the same VAT term and year it is not possible to create another. If a payment batch is still wanted it has to be created manually. In version 14.01.0 this block has been removed because of supplement VAT reports that can be sent to Altinn after the Main VAT report. In practice that means that there can be several reports approved in Altinn for the same period, latter supplementing the main report instead of fully replacing the previous one.

Batch creation logic for Norwegian VAT payments:

Table.Field Value
Batch.BatchNo [running]
Batch.ValueDate Today's date
Batch.VoucherSeriesNo From Company information - Incoming invoice series
Batch.Origin 23 Incoming invoice
Voucher.BatchNo [parent]
Voucher.LineNo [running]
Voucher.InvoiceNo AutoReportArchive.Service reference
Voucher.VoucherNo Next voucher no in the series
Voucher.ValueDate Today's date
Voucher.VoucherDate Today's date
Voucher.VoucherType Value suggested from voucher series
Voucher.DebitAccount CompanyData.VATControlAccount
Voucher.DebitVATCode Follows normal Visma Business rules
Voucher.CreditAccount CompanyData.VATControlSupplier
Voucher.CreditVATCode Follows normal Visma Business rules
Voucher.Amount XML: amount
Voucher.Text VAT payment [period, year]
Voucher.BankAccount XML: bankAccountNumber
Voucher.CIDCode XML: Payment reference
Voucher.DueDate XML: Due date


Vi setter pris på dine tilbakemeldinger. Send tilbakemelding til Visma på dette emnet.