Skip to main content

Taxes

EndpointPermissionNotes
GET /masterdata/getTaxes/{gtimeStamp?}any roleReturns Tax[] (your defaults plus custom taxes).
GET /masterdata/getTax/{taxId}Tax · Read
POST /masterdata/upsertTaxTax · WriteBody: a Tax. taxId, taxName, taxPct are required. Tax names must be unique. Response: { "tax": {...}, "status": "Inserted" | "Updated" | "No changes" }.
DELETE /masterdata/deleteTax/{taxId}Tax · FullA tax already used in transactions cannot be deleted (409).

Data model​

Only the commonly used properties are listed. Unless marked required, every property is optional. Properties that the server sets itself (bizId, createdBy, modifiedBy, app, and creation/modification timestamps) should be left out of requests. The OpenAPI document has the complete definitions.

Tax​

PropertyTypeNotes
taxIdstringRequired.
taxNamestringRequired. Unique within the business.
taxPctnumberRequired. Percentage, for example 18.
taxTypestringTaxCode or TaxGroup.
isTaxGroupboolean
subTaxesobject[]Components of a tax group, each with taxName and taxPct.
compoundFlgbooleanCompound tax.
taxAcct, taxPayableAcct, inputTaxAccount, outputTaxAccountstringAccount IDs.
intraTax, interTax, taxCreditbooleanIndia intra-/inter-state and credit flags.