POST /v1/tax-transactions/{taxTransactionId}/finalize
POST
/v1/tax-transactions/{taxTransactionId}/finalizeAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
taxTransactionIdstringrequiredmin length 1
Query 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
nulltaxTransactionIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullResponses
200
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