移除汇款
使用 ruleCreate
变更 在 landed cost 计算后移除汇款。由于 IOSS 使用汇款,而通过 DDP 运输使用承运人 remit 则不使用,移除汇款有效地禁用了您商店的 IOSS。
name
和 description
可以根据您的喜好进行调整,因为它们不会影响规则的功能。condition
指定将移除 汇款
的国家。action
确保适用订单的 汇款
设置为零。
变更
1
2
3
4
5
6
7
8
9
10
mutation ruleCreate($input: RuleInput!) {
ruleCreate(input: $input) {
id
name
description
condition
action
context
}
}
变量
1
2
3
4
5
6
7
8
9
{
"input": {
"name": "Disable IOSS",
"description": "Remove remittance for EU orders after the landed cost has been calculated. Use DDP instead.",
"condition": ":ship_to_country: any_matches AT,BE,BG,HR,CY,CZ,DK,EE,FI,FR,DE,GR,HU,IE,IT,LV,LT,LU,MT,NL,PL,PT,RO,SK,SI,ES,SE",
"action": ":include_remittance: = false",
"context": "LANDED_COST_CALCULATE_POST"
}
}
测试规则
要测试规则,请运行一个报价工作流程,使用欧盟的目的地地址和低于150欧元的购物车价值。如果此规则正确工作,您应该在响应的末尾收到一个空的 remittance
数组。
变更
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
mutation quoteWorkflow {
partyCreateWorkflow(
input: [
{
location: {
administrativeArea: ""
administrativeAreaCode: "MA"
countryCode: US
line1: "1150 Great Plain Ave"
line2: ""
locality: "Needham"
postalCode: "02492"
}
type: ORIGIN
}
{
location: {
countryCode: FR
line1: "73 rue Marguerite"
locality: "Villiers-le-bel"
administrativeArea: ""
administrativeAreaCode: ""
postalCode: "95400"
}
person: {
email: "test@gmail.com"
firstName: "firstName"
lastName: "lastName"
phone: "5022303021"
companyName: "TestCompany"
metadata: { key: "key", value: "value" }
}
type: DESTINATION
}
]
) {
type
id
organization
}
itemCreateWorkflow(
input: [
{
amount: 10
currencyCode: USD
countryOfOrigin: US
quantity: 1
productId: "productId"
description: "description"
measurements: [
{ type: WIDTH, value: 2, unitOfMeasure: CENTIMETER }
{ type: WEIGHT, value: 2, unitOfMeasure: POUND }
]
}
{
amount: 25.89
currencyCode: USD
countryOfOrigin: US
quantity: 2
productId: "productId2"
description: "description2"
measurements: [
{ type: WIDTH, value: 2, unitOfMeasure: CENTIMETER }
{ type: WEIGHT, value: 2, unitOfMeasure: POUND }
]
}
]
) {
id
amount
}
cartonizeWorkflow {
id
type
items {
item {
id
}
}
}
shipmentRatingCreateWorkflow(
input: { serviceLevelCode: "UPS_EXPEDITED", amount: 15, currencyCode: USD }
) {
id
amount
}
landedCostCalculateWorkflow(
input: {
endUse: NOT_FOR_RESALE
method: DAP
tariffRate: ZONOS_PREFERRED
useUnwrapped: true
}
) {
id
amountSubtotals {
duties
taxes
fees
landedCostTotal
}
deMinimis {
type
formula
method
threshold
note
}
fees {
amount
currency
}
taxes {
amount
description
formula
}
duties {
amount
description
formula
}
remittance {
amount
description
__typename
}
appliedRules {
rule {
action
condition
context
}
before
after
}
}
}
禁用 IOSS 汇款
使用承运人将 remit 税款支付给欧盟,而不是通过 IOSS。GraphQL
进口一站式商店 (IOSS) 提供了几个优势,但在某些情况下,将我们的 IOSS 号码集成到您的履行设置中可能不可行。如果您无法使用我们的 IOSS 号码,您可以禁用欧盟 (EU) 订单的 IOSS 汇款,确保您仍然受益于我们保证的到岸成本。由于 IOSS 是可选的,您仍然可以使用 DDP 过程将您的税款 remit 给运送到欧盟的低价值商品。要禁用 IOSS 但继续使用我们的保证,请使用 高级规则 从您的订单中移除汇款。