Help! An error message when exporting invoices to Visma.net Financials

Help! An error message when exporting invoices to Visma.net Financials

Are you using a webservice and are you unable to export an invoice to the Visma.net Financials financial package? Then this can have various causes.

The cause may be translated into an error message that you can see in the export report. We get this error message back from the financial package and it indicates why it was not possible to export the invoice. Unfortunately, this error message often does not clearly indicate what needs to be done in order to get the invoice exported.

In this article we have collected a number of error messages with a possible explanation and what you can do to solve the problem.

Visma.net Financials Webservice

  1. Error Message: Error creating supplierInvoice. Error: Inserting 'Purchase invoice' record raised at least one error. Please review the errors. The document is out of the balance.
Possible Cause: Visma might be locking invoices, preventing them from being exported.
Possible Solution: This issue can potentially be resolved by disabling the 'Check total when entering' setting in Visma. You can find this setting when editing supplier preferences.

  1. Error Message: Error creating supplierInvoice. Error: Inserting 'Purchase invoice' record raised at least one error. Please review the errors. A document with this supplier ref. already exists for this supplier - see document with type 'INV' and reference number 'XXXXXX' dated 'dd/mm/yyyy 00:00:00'.
Possible Cause: The reference number may already exist in Visma, preventing the invoice from being exported.
Possible Solution: Ensure that the "Notification for duplicate reference numbers" setting in Visma is disabled. You can find this setting under "Preferences for creditors."

  1. Error Message: An error occurred while processing the fields Subaccount: Error: Cost center, Cost unit or Subaccount does not exist. --> This message is given for cost center and cost unit, but it can be given for every segment that is part of the sub-account and is sent from Spend Cloud.
Possible Cause: The sub-account that is sent by Spend Cloud does not exist in Visma.net. The message can also mean that the sub-account in combination with the chosen general ledger account is not allowed to be used (restriction groups in Visma.net).
Possible Solution: Make sure the sub-account exists in Visma.net and that it is allowed to use the sub-account in combination with the chosen general ledger account.

  1. Error Message: The account is inactive.
Possible Cause: The creditor account (which is not used in Spend Cloud but is used in Visma to create the correct entry) is deactivated in Visma. This prevents invoices from being exported.
Possible Solution: Ensure that the creditor account is activated in Visma.

  1. Error Message: Invalid parameter exception: companyInContext
Possible Cause: It appears that the Spend Cloud user (the Spend Cloud account in Visma) is not authorized for the administration used for the invoice.
Possible Solution: Ensure that the Spend Cloud user in Visma is granted rights for this administration.

  1. Error Message: Error creating supplier: Invoice. Year, Month, and Day parameters describe an un-representable DateTime.
Possible Cause: An incorrect payment condition has been used for the invoice. It's possible that the selected payment condition is no longer valid in Visma.
Possible Solution: Use a payment condition that is also active and valid in Visma.

  1. Error Message: Exporting: VismaId: 5346af32-8c57-426b-b9af-70fe63fe0858. Error creating supplierInvoice. Error: Inserting 'Supplier transactions' record raised at least one error. Please review the errors. Account 1241 is not a control account for the current workspace. You can either use an account defined as a control account or go to window Chart of accounts (GL202500) and set the appropriate workspace in the ‘Control account module’ column for this account. (Starttijd: 28-08-2023 14:25:05 & Eindtijd: 28-08-2023 14:25:07)
Possible Cause: Manual input is not allowed on this general ledger account.
Possible Solution: Enable the "Allow manual entry" option on the general ledger account.

  1. Error message: Exporting: VismaId: 37c0bd98-0e88-429e-959d-feba157f1c12. Error creating supplierInvoice. Error: Inserting 'Supplier transactions' record raised at least one error. Please review the errors. {"TaskID":"'Project task' cannot be empty."}
Possible cause: There is no project task configured, or the chosen combination of project and project task is not allowed in combination with the chosen general ledger account.
Possible solution: Check if the chosen project and project task are active in Visma.net and if this combination is allowed with the coded general ledger account.

  1. Error message: Error creating supplierInvoice. Error: Inserting 'Purchase invoice' record raised at least one error. Please review the errors. Error: 'Retainage payable account' cannot be empty. Error: 'Retainage payable sub.' cannot be empty.
Possible cause: In Visma.net, the chosen creditor is set up to book (a portion) to a retainage account, and some required fields have not been filled in.
Possible solution: If the retainage account should not be used: Uncheck the 'apply retainage' option for the creditor. If the retainage account should be used: Ensure that a valid retainage account is filled in for the creditor. Check under the 'Accounts' tab for the creditor to see if a Retainage Account and a Retainage Subaccount are filled in.


  1. Error message: Error creating supplierInvoice. Supplier ID does not exist or the supplier is On Hold.
Possible cause: In Visma.net, the supplier does not exist, or their status is set to inactive or on hold
Possible solution: Ensure that the supplier exists in Visma and/or is set to active.



    • Related Articles

    • Export invoices

      Once an invoice has been approved by the assessors, it is ready to be exported in the Export menu section. Within this overview, you can review or edit the invoices one last time before they are processed in the financial system. Exporting invoices ...
    • Help! An error when exporting invoices to Exact Financials

      Are you using a webservice and are you unable to export an invoice to the Exact Financials financial package? Then this can have various causes. The cause may be translated into an error message that you can see in the export report. We get this ...
    • Help! An error when exporting invoices to Exact Globe

      Sometimes, when using a web service to export invoices to Exact Globe financial software, you may encounter various issues. The cause of these issues can be reflected in error messages that you see in the export report. Unfortunately, these error ...
    • Help! An error message when exporting invoices to Exact Online

      Are you using a webservice and are you unable to export an invoice to the Exact Online financial package? Then this can have various causes. The cause may be translated into an error message that you can see in the export report. We get this error ...
    • Help! An error message when exporting invoices to Twinfield

      Are you using a webservice and are you unable to export an invoice to the Twinfield financial package? There can be multiple causes for this. The cause may be translated into an error message that you can see in the export report. We get this error ...