My Products
Help
CharlotteJB1
PARTNER

Error message from API creating supplierInvoice "the document is out of balance"

by CharlotteJB1

POST/controller/api/v1/supplierInvoice

 

When creating supplierInvoice we get an error "the documen

t is out of balance". 
See attachment.  We tested different scenarios,  and it seems that we get the error when we send three decimals. This is something we have been able to do prior. - has there been a change in the API?

Additude Lev fakturor.png

 

 

 

3 REPLIES 3

by Magnus Johnsen

There was a fix relating to rounding difference when you do not specify Vat details that was released in 8.89.0, this is under a feature toggle which we could activate for you. But the limit on decimals was introduced in 8.16.0.

As far as we can see, these are the only changes made to currency rounding differences. 

Release notes 8.16.0:

Decimal precision for base currency
Purchase invoices (AP301000)
The decimal precision for the base currency setting is now set to max. 2 decimals.

 

Release note 8.89.0:

RoundingDifference omitted when using SupplierInvoice endpoint (POST)

Earlier, in some circumstances, the RoundingDifference amount was omitted when creating an invoice via the SupplierInvoice endpoint (POST).
This has now been fixed, and the solution is under a feature toggle.

by Magnus Johnsen

Hi,

Visma.Net Financials does not support 3 decimals in the rounding difference, it supports a maximum of 2 decimals. This has been true since at least version 8.16.00. 

 

CharlotteJB1
PARTNER

Hi, 
8.16.00? But our integration worked last week, and we sent three decimals.