Anshu Kumar
Anshu Kumar

Reputation: 827

Acumatica Tax Category REST API

I am creating an application which will sync Tax Category details from Magento to Acumatica. I am planning to use the REST API to update tax categories at acumatica but I am unable to find REST API to update TAX Categories at Acumatica. Please suggest a way to update Tax Category at Acumatica.

Upvotes: 0

Views: 270

Answers (1)

Jini N
Jini N

Reputation: 28

Please try the below to update the Tax category record in Acumatica.

Url:

/entity/Default/18.200.001/TaxCategory

Method: PUT

Request:
{
    "TaxCategoryID": {
        "value": "EXEMPT"
    },
    "Active": {
        "value": true
    },
    "Description": {
        "value": "Exempt Tax Category"
    },
    "ExcludeListedTaxes": {
        "value": true
    },
    "Details": [
        {         
            "TaxID": {
                "value": "MANUALID"
            },
            "TaxType": {
                "value": "Sales"
            },
            "Description": {
                "value": "Manual"
            },
            "CashDiscount": {
                "value": "Does Not Affect Taxable Amount"
            }
        }
    ]
}

Screenshot

Upvotes: 1

Related Questions