POST /v1/tax-transactions
POST
/v1/tax-transactionsAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredQuery parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
Header parameters
Idempotency-KeystringRequired for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.
min length 1
Request body
requiredapplication/jsonenvironmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmerchantAccountIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulltenantIdstringrequiredmin length 1
sourceDocumentIdstringrequiredmin length 1
sourceDocumentTypestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcurrencystringrequiredmin length 1
linesobject[]requiredShow propertiesHide properties
Array of
objectsourceLineIdstringrequiredmin length 1
amountnumberrequiredquantitynumberrequireddescriptionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullclassificationKeystring | nullShow propertiesHide properties
Any of:
string
stringnull
nullproductExternalIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulltaxBehaviorstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerTaxAddressobjectrequiredShow propertiesHide properties
line1stringrequiredmin length 1
citystringrequiredmin length 1
regionstringrequiredmin length 1
postalCodestringrequiredmin length 1
countrystringrequiredmin length 1
line2string | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerExternalIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerNamestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerEmailstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerTaxIdsobject[] | nullShow propertiesHide properties
Any of:
object[]
Array of
objecttypestringrequiredmin length 1
valuestringrequiredmin length 1
null
nullcustomerTypestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerTaxExemptboolean | nullShow propertiesHide properties
Any of:
boolean
booleannull
nullcustomerTaxExemptionRefstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullfallbackOnProviderUnavailableboolean | nullShow propertiesHide properties
Any of:
boolean
booleannull
nulltaxIdValidationstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulltaxIdUnverifiableTreatmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullshipFromAddressobject | nullShow propertiesHide properties
Any of:
object
line1stringrequiredmin length 1
citystringrequiredmin length 1
regionstringrequiredmin length 1
postalCodestringrequiredmin length 1
countrystringrequiredmin length 1
line2string | nullShow propertiesHide properties
Any of:
string
stringnull
nullnull
nulltaxBehaviorstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullidempotencyKeystring | nullShow propertiesHide properties
Any of:
string
stringnull
nullResponses
201
Success
dataobjectrequiredShow propertiesHide properties
idstringrequiredmin length 1
merchantAccountIdstringrequiredmin length 1
tenantIdstringrequiredmin length 1
sourceDocumentIdstringrequiredmin length 1
sourceDocumentTypestringrequiredAllowed:
invoicecredit_notepos_chargestatusstringrequiredAllowed:
quotedfinalizedreversedvoidedfailedcurrencystringrequiredmin length 1
subtotalnumberrequiredtaxTotalnumberrequiredtotalnumberrequiredtaxBehaviorstringrequiredAllowed:
exclusiveinclusivecustomerTaxAddressobjectrequiredShow propertiesHide properties
line1stringrequiredmin length 1
citystringrequiredmin length 1
regionstringrequiredmin length 1
postalCodestringrequiredmin length 1
countrystringrequiredmin length 1
line2string | nullShow propertiesHide properties
Any of:
string
stringnull
nulllineEvidenceobject[]requiredShow propertiesHide properties
Array of
objectsourceLineIdstringrequiredmin length 1
classificationKeystringrequiredmin length 1
classificationLabelstringrequiredmin length 1
taxableAmountnumberrequiredtaxAmountnumberrequiredjurisdictionEvidenceobject[]requiredShow propertiesHide properties
Array of
objectjurisdictionTypestringrequiredmin length 1
jurisdictionNamestringrequiredmin length 1
taxableAmountnumberrequiredtaxAmountnumberrequiredratenumberrequiredcreatedAtstringrequiredmin length 1
updatedAtstringrequiredmin length 1
customerTaxIdsobject[] | nullShow propertiesHide properties
Any of:
object[]
Array of
objecttypestringrequiredmin length 1
valuestringrequiredmin length 1
null
nullcustomerTypestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerTaxExemptboolean | nullShow propertiesHide properties
Any of:
boolean
booleannull
nullcustomerTaxExemptionRefstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullfallbackOnProviderUnavailableboolean | nullShow propertiesHide properties
Any of:
boolean
booleannull
nulltaxIdValidationstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulltaxIdUnverifiableTreatmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullquotedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullfinalizedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullreversedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulloriginalTaxTransactionIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullfailureCodestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullfailureMessagestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1