-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcommerical_invoice.json
76 lines (76 loc) · 1.77 KB
/
commerical_invoice.json
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
{
"_object": "/commercial_invoice",
"id": "ABCD-EFG-HIJK",
"invoice_number": "SAMPLE-INVOICE",
"manufacturer_addresses": [
{
"_object": "/address",
"street_address": "1641 Settlers Lane",
"street_address2": "STE 2918",
"city": "Albany",
"state": "MN",
"country": "United States",
"country_code": "US",
"zip": "56307",
"unlocode": null,
"timezone": "America/Los_Angeles",
"ref": null
}
],
"total_value": {
"_object": "/money",
"amount": "1000",
"currency_code": "USD"
},
"total_unit_count": "2.0",
"total_weight": {
"value": 10.0,
"unit": "kg",
"_object": "/quantity/weight"
},
"total_volume": {
"value": 10.0,
"unit": "cbm",
"_object": "/quantity/volume"
},
"line_items": [
{
"_object": "/commercial_invoice_line_item",
"price_per_unit": {
"_object": "/money",
"amount": "500",
"currency_code": "USD"
},
"value": {
"_object": "/money",
"amount": "1000",
"currency_code": "USD"
},
"total_units": "2.0",
"container_number": "ABCDEFG",
"purchase_order_number": "PURCHASE-ORDER-0",
"weight": {
"value": 5.0,
"unit": "kg",
"_object": "/quantity/weight"
},
"volume": {
"value": 5.0,
"unit": "cbm",
"_object": "/quantity/volume"
},
"product": {
"_object": "/api/refs/object",
"ref_type": "/product",
"link": "https://api.freighttrust.com/${INTERFACE}/products/12345",
"id": 12345
}
}
],
"shipment": {
"_object": "/api/refs/object",
"ref_type": "/shipment",
"link": "https://api.freighttrust.com/${INTERFACE}/shipments/12345",
"id": 12345
}
}