通过 API 从您的全包价格中反向提取关税、税款和费用。
BETA
Zonos 的反向包含定价功能让您可以发送一个全包价格(已包含关税、税款和/或费用),并获得基础价格用于海关文件。这使您能够向购物者显示全价定价,同时仍为商业发票声明干净的非全包基础价格。此解决方案适用于需要全包定价或强制要求全包定价的市场,帮助您支持全球定价战略并保持海关准确性和合规性。
要从全包价格中反向提取关税、税款或费用,您需要在 API 请求中使用 reverseAmountDetails 配置。此对象告诉 Zonos 您的输入价格中包含哪些组成部分,应将其删除以计算真实的基础价格用于海关。
reverseAmountDetails
当您发送包含各自 reverseAmountDetails 配置的全包价格时,Zonos 将:
要将反向包含定价集成到您的工作流程中,请在 itemCreateWorkflow 请求中包含 reverseAmountDetail 对象。
itemCreateWorkflow
reverseAmountDetail
传递 reverseAmountDetail 告诉 Zonos 反向提取关税、税款和/或费用。如果未传递此配置,将执行标准着陆成本计算。
itemReverseAmountType
定义价格中包含的组成部分。您可以从以下选项中选择:
TAX
DUTY
DUTY_TAX
TAX_FEE
DUTY_FEE
DUTY_TAX_FEE
taxRateCountry
表示价格中包含的税率所属的国家。这是可选的。
dutyRateCountry
表示价格中包含的关税率所属的国家。这是可选的。
serviceLevelCodes
仅当 itemReverseAmountType 包含 FEE 时需要此项。
FEE
status
表示反向计算的结果。此字段在响应中返回:
APPLIED
NOT_APPLIED_UNDER_DE_MINIMIS
NOT_APPLIED_NEGATIVE_VALUE
准备好所需的输入后,使用您首选的客户端或工具向 API 发送 GraphQL 变更。
mutation {
partyCreateWorkflow(
input: [
{ type: ORIGIN, location: { countryCode: US } }
{
type: DESTINATION
location: { countryCode: CA, administrativeAreaCode: "AB" }
}
]
) {
id
itemCreateWorkflow(
productId: "product-1"
hsCode: "9503.00.9079"
countryOfOrigin: US
amount: 100
quantity: 1
currencyCode: USD
reverseAmountDetail: { type: DUTY_TAX, taxRateCountry: CA }
amount
currencyCode
quantity
hsCode
countryOfOrigin
reverseAmountDetail {
originalAmount
type
taxRate
dutyRate
feeAmount
cartonsCreateWorkflow(
input: {
length: 8
width: 4
height: 2
dimensionalUnit: INCH
weight: 1
weightUnit: POUND
shipmentRatingCreateWorkflow(
amount: "30.00"
serviceLevelCode: "ups.worldwide_expedited"
landedCostCalculateWorkflow(input: { calculationMethod: DDP_PREFERRED }) {
amountSubtotals {
items
shipping
duties
taxes
fees
duties {
currency
note
fees {
taxes {
method
反向包含定价
反向包含定价
通过 API 从您的全包价格中反向提取关税、税款和费用。
BETA
Zonos 的反向包含定价功能让您可以发送一个全包价格(已包含关税、税款和/或费用),并获得基础价格用于海关文件。这使您能够向购物者显示全价定价,同时仍为商业发票声明干净的非全包基础价格。此解决方案适用于需要全包定价或强制要求全包定价的市场,帮助您支持全球定价战略并保持海关准确性和合规性。
它如何工作?
要从全包价格中反向提取关税、税款或费用,您需要在 API 请求中使用
reverseAmountDetails配置。此对象告诉 Zonos 您的输入价格中包含哪些组成部分,应将其删除以计算真实的基础价格用于海关。当您发送包含各自
reverseAmountDetails配置的全包价格时,Zonos 将:API 指南
要将反向包含定价集成到您的工作流程中,请在
itemCreateWorkflow请求中包含reverseAmountDetail对象。配置请求
传递
reverseAmountDetail告诉 Zonos 反向提取关税、税款和/或费用。如果未传递此配置,将执行标准着陆成本计算。itemReverseAmountType定义价格中包含的组成部分。您可以从以下选项中选择:
TAX: 仅包含税款。DUTY: 仅包含关税。DUTY_TAX: 包含关税和税款。TAX_FEE: 包含税款和费用。DUTY_FEE: 包含关税和费用。DUTY_TAX_FEE: 包含关税、税款和费用。taxRateCountry表示价格中包含的税率所属的国家。这是可选的。
dutyRateCountry表示价格中包含的关税率所属的国家。这是可选的。
serviceLevelCodes仅当
itemReverseAmountType包含FEE时需要此项。status(仅响应)表示反向计算的结果。此字段在响应中返回:
APPLIED: 反向计算已成功应用。NOT_APPLIED_UNDER_DE_MINIMIS: 未应用计算,因为该值低于最低限额。NOT_APPLIED_NEGATIVE_VALUE: 跳过计算以避免负值。API 示例
准备好所需的输入后,使用您首选的客户端或工具向 API 发送 GraphQL 变更。
mutation {partyCreateWorkflow(input: [{ type: ORIGIN, location: { countryCode: US } }{type: DESTINATIONlocation: { countryCode: CA, administrativeAreaCode: "AB" }}]) {id}itemCreateWorkflow(input: [{productId: "product-1"hsCode: "9503.00.9079"countryOfOrigin: USamount: 100quantity: 1currencyCode: USDreverseAmountDetail: { type: DUTY_TAX, taxRateCountry: CA }}]) {idamountcurrencyCodequantityhsCodecountryOfOriginreverseAmountDetail {originalAmountamountstatustypedutyRateCountrytaxRateCountrytaxRatedutyRatefeeAmount}}cartonsCreateWorkflow(input: {length: 8width: 4height: 2dimensionalUnit: INCHweight: 1weightUnit: POUND}) {id}shipmentRatingCreateWorkflow(input: {amount: "30.00"currencyCode: USDserviceLevelCode: "ups.worldwide_expedited"}) {id}landedCostCalculateWorkflow(input: { calculationMethod: DDP_PREFERRED }) {idamountSubtotals {itemsshippingdutiestaxesfees}duties {amountcurrencynote}fees {amountcurrencytypenote}taxes {amountcurrency}method}}这个页面有帮助吗?