Apply tax to entity
POST
/v1/taxes/apply
Apply a tax to an entity.
Request Body required
Section titled “Request Body required ” ApplyTaxRequest
object
tax_code
required
Tax Code
string
taxable_type
required
Taxable Type
string
taxable_id
required
Taxable Id
string format: uuid
Responses
Section titled “ Responses ”Successful Response
AppliedTaxResponse
object
id
required
Id
string format: uuid
tax_id
required
Tax Id
string format: uuid
taxable_type
required
Taxable Type
string
taxable_id
required
Taxable Id
string format: uuid
tax_amount_cents
required
Tax Amount Cents
string
created_at
required
Created At
string format: date-time
Unauthorized
Tax not found
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context