I can change the "VAT on Sales Invoice" property using the switch on the Sales Invoice card. However, when I attempt to set the value of this property (pricesIncludeTax) using PATCH SalesInvoice or POST SalesInvoice, I got the following message: Control 'pricesIncludeTax' is read-only
How can I update this property using API? Thanks.
Hi,
For the error message, you can check if the pricesIncludeTax control exposed by the standard API page is a read-only field, hence you cannot pass a value from a POST request. If so, you can create a new entity based on your scenario.
André Arnaud de Cal...
291,996
Super User 2025 Season 1
Martin Dráb
230,853
Most Valuable Professional
nmaenpaa
101,156