Skip to main content

Custom Tax Provider Webhooks (1.0.0)

Download OpenAPI specification:Download

A service, for providing tax quotations for transactions, which implements this API.

Tax quotation

Actions for tax quotation.

Create tax quotation

Create tax quotation for the given transaction.

Authorizations:
basic
Request Body schema: application/json
transaction_type
string
Enum: "SALE" "RETURN"

Type of the transaction.

order_id
string

Order identifier.

tax_exempt
required
boolean

Tax exemption status of the transaction.

exemption_number
string

Tax exemption certificate number of the customer.

exemption_class
string

Tax exemption class.

required
Array of objects

A list of items sold/returned in the transaction.

Responses

Request samples

Content type
application/json
{
  • "transaction_type": "SALE",
  • "order_id": "56bb9975-f43a-4eee-8fb2-200957eb0624",
  • "tax_exempt": false,
  • "exemption_number": "string",
  • "exemption_class": "string",
  • "items": [
    ]
}

Response samples

Content type
application/json
{
  • "document_id": "3195649a-cd43-47ec-8774-c7b404df1e00",
  • "items": [
    ]
}