Update a VAT determination record.
put
https://api.mercadoe.com/v1/products/vat-determination/{id}
Updates an existing VAT determination rule. Only the fields provided in the request body are updated; omitted fields remain unchanged.
Request
Headers
X-ME-CORRELATION-ID
string
Internal client code to be identified in the webhook. It can be, for example, a product code in your ERP, an order number, etc.
Path Parameters
id
int32
required
Body
application/json
isActive
boolean | null
Indicates whether this VAT determination is active.
vatType
string | null
Type of VAT applied to the product.
isIcmsApplicable
boolean | null
Indicates whether ICMS tax applies.
isIpiApplicable
boolean | null
Indicates whether IPI tax applies.
isTaxSubstitutionApplicable
boolean | null
Indicates whether tax substitution applies.
isPisCofinsRecoverable
boolean | null
Indicates whether PIS/COFINS is recoverable.
taxCategory
string | null
Tax category used for VAT determination.
issuingStateTax
string | null
State of origin (UF) of the product used for tax calculation.
receivingStateTax
string | null
Destination state (UF) of the product used for tax calculation.
destinationCategory
string | null
Destination category for tax purposes.
clientProductId
string | null
Identifier of the product as registered by the client.
vatPriority
int32 | null
Priority order for this VAT determination rule.
startDate
date-time | null
Start date when this VAT determination becomes valid.
endDate
date-time | null
End date for the validity of this VAT determination.
vatCode
string | null
VAT code identifying the tax rule.
vatDescription
string | null
Description of the VAT determination rule.
materialType
string | null
Material type classification for tax purposes.
isIbsApplicable
boolean | null
Indicates whether IBS tax applies.
isCbsApplicable
boolean | null
Indicates whether CBS tax applies.
businessOrganization
object
Responses
202
400
404
Accepted
Body
application/json
correlationId
string