Search code examples
acumatica

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.


Solution

  • 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