Solved

Cant get Tax Override and new Disable Automatic Tax Calculation working with REST API and 23R1

  • 2 September 2023
  • 4 replies
  • 86 views

Userlevel 1

We upgraded to 23R1 and our tax override code described in this old post stopped working.  

We also tried extending the web service endpoint and included the new field "DisableAutomaticTaxCalculation" in 23R1 and this did not help either.

Here is what the sample json: 

{
"OrderType": {
"value": "SO"
},
"CustomerID": {
"value": "AMAZONG"
},
"Description": {
"value": "Amazon Order"
},
"Details": [
{
"InventoryID": {
"value": "ITEM1"
},
"OrderQty": {
"value": 1.0
},
"UOM": {
"value": "EA"
},
"UnitPrice": {
"value": 9.99
}
}
],
"TaxDetails": [
{
"TaxID": {
"value": "MANUAL"
},
"TaxableAmount": {
"value": 9.99
},
"TaxAmount": {
"value": 1.00
}
}
],
"TaxTotal": {
"value": 1.00
},
"FinancialSettings": {
"OverrideTaxZone": {
"value": true
},
"CustomerTaxZone": {
"value": "MANUAL"
},
"DisableAutomaticTaxCalculation": {
"value": true
}
}
}

Also wondering why we don't have a new default endpoint for 23R1 to take advantage of the DisableAutomaticTaxCalculation new functionality out of the box instead of extending and maintaining custom end points.

Any ideas on what we are doing wrong to set the tax amounts manually?

icon

Best answer by kpopova 4 September 2023, 14:26

View original

4 replies

Userlevel 7
Badge +10

Hi @SBalmer1 ,

According to the screen API changes in the 23R1 documentation, the "TaxDetails" has been updated to "Taxes.".

Screen API changes

Hope, it helps!

Regards,

Sweta

Userlevel 7
Badge +12

You have probably checked this but what Tax Category is on the line (as you are not specifying it on the API) when it is added to the Sales Order and is this valid against the TaxID of Manual..

The API looks correct otherwise

Userlevel 4
Badge +2

Refer to this topic: https://help.acumatica.com/(W(97))/Help?ScreenId=ShowWiki&pageid=92d74d1d-5571-4852-a12a-bb8d66dc6f73

Userlevel 1

Thanks, its working now.!

I was missing the IsTaxValid element.   I added that and magic.

"IsTaxValid": { "value": true }

 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved