cancel
Showing results for 
Search instead for 
Did you mean: 
My Areas

Sign in to follow product and topic areas and get a shortcut in this menu
CONTRIBUTOR *

add boolean like 'amounts include VAT' to SupplierInvoiceRowApi and SupplierInvoiceApi

Status: New
We're creating supplier invoices using the query parameter 'calculateVatOnCostAccounts' to automatically calculate VAT for each row/account on the invoice. This works perfectly, but requires that the amount (debet or credit) for a given row/account is always entered including VAT. The TotalAmount of the invoice has to include VAT as well.
 
Our application internally processes all pricing and amounts excluding VAT, so before calling the API we now have to convert the values to include VAT which is a bit tedious and potentially prone to errors. In the web-interface there is a neat checkbox to tell the system whether the amounts include VAT or not and the VAT calculation is adjusted accordingly. Is it possible to add a boolean like this to the API parameters as well?