透過 API 從包含價格中反向提取關稅、稅金和費用。
BETA
Zonos 的 reverse inclusive pricing 功能讓您可以發送一個包含價格(已包含關稅、稅金和/或費用),並取得基本價格以供報關文件使用。這可讓您向購物者顯示全包含定價,同時在商業發票上聲明清潔的、非包含的基本價格。此解決方案非常適合期望或要求包含定價的市場,幫助您支援全球定價策略並維護報關準確性和合規性。
若要從包含價格中反向提取關稅、稅金或費用,您將在 API 請求中使用 reverseAmountDetails 配置。此物件會告知 Zonos 哪些元件包含在您的輸入價格中,以及應移除哪些元件以計算真實的報關基本價格。
reverseAmountDetails
當您使用各自的 reverseAmountDetails 配置發送包含價格時,Zonos 將:
若要將 reverse inclusive pricing 整合到您的工作流程中,請在 itemCreateWorkflow 請求中包含 reverseAmountDetail 物件。
itemCreateWorkflow
reverseAmountDetail
傳遞 reverseAmountDetail 會告知 Zonos 反向提取關稅、稅金和/或費用。如果未傳遞此配置,將執行標準的 Landed cost 計算。
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
準備好所需的輸入後,使用您偏好的用戶端或工具將 GraphQL 變動傳送至 API。
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
Reverse inclusive pricing
Reverse inclusive pricing
透過 API 從包含價格中反向提取關稅、稅金和費用。
BETA
Zonos 的 reverse inclusive pricing 功能讓您可以發送一個包含價格(已包含關稅、稅金和/或費用),並取得基本價格以供報關文件使用。這可讓您向購物者顯示全包含定價,同時在商業發票上聲明清潔的、非包含的基本價格。此解決方案非常適合期望或要求包含定價的市場,幫助您支援全球定價策略並維護報關準確性和合規性。
運作方式?
若要從包含價格中反向提取關稅、稅金或費用,您將在 API 請求中使用
reverseAmountDetails配置。此物件會告知 Zonos 哪些元件包含在您的輸入價格中,以及應移除哪些元件以計算真實的報關基本價格。當您使用各自的
reverseAmountDetails配置發送包含價格時,Zonos 將:API 指南
若要將 reverse inclusive pricing 整合到您的工作流程中,請在
itemCreateWorkflow請求中包含reverseAmountDetail物件。設定請求
傳遞
reverseAmountDetail會告知 Zonos 反向提取關稅、稅金和/或費用。如果未傳遞此配置,將執行標準的 Landed cost 計算。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 範例
準備好所需的輸入後,使用您偏好的用戶端或工具將 GraphQL 變動傳送至 API。
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}}這個頁面有幫助嗎?