Skip to main content
Solved

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

  • September 2, 2023
  • 4 replies
  • 197 views

SBalmer1
Freshman I

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?

Best answer by kpopova

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

4 replies

Forum|alt.badge.img+9
  • Semi-Pro III
  • September 2, 2023

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


dcomerford
Captain II
Forum|alt.badge.img+15
  • Captain II
  • September 4, 2023

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


kpopova
Acumatica Employee
Forum|alt.badge.img+2
  • Acumatica Employee
  • Answer
  • September 4, 2023

SBalmer1
Freshman I
  • Author
  • Freshman I
  • September 4, 2023

Thanks, its working now.!

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

"IsTaxValid": { "value": true }