POST
/
api-tax
/
tax
/
create

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Body

application/json
addresses
object
required
lineItems
object[]
required
type
enum<string>
required
Available options:
SalesInvoice,
SalesOrder

Response

200 - application/json
code
string
customerCode
string
date
string
lines
object[]
status
string
totalAmount
number
totalDiscount
number
totalExempt
number
totalTax
number
totalTaxable
number
totalTaxCalculated
number
type
string