Retrieve an existing commercial invoice by invoice number
Success
Bad Request
Bad token
Not Found
Unknown error
Success
{- "_object": "/api/response",
- "version": "2023-05-18",
- "data": {
- "invoice_number": "ABCD1234",
- "involved_parties": [
- {
- "type": "consignee",
- "name"": "party_name",
- "address_line1": "760 Market Street",
- "address_line2": "8th floor",
- "address_line3": null,
- "address_line4": null,
- "address_line5": null,
- "address_line6": null,
- "city": "San Francisco",
- "state_province": "CA",
- "postal_code": "94102",
- "country_code": "US",
- "external_ref": "ref_1234"
}
], - "mid_code": "mid_code",
- "is_related_parties": true,
- "currency_code": "USD",
- "terms_of_sale": "terms_of_sale",
- "line_items": [
- {
- "mid_code": "mid_code",
- "manufacturer_address": {
- "type": "manufacturer",
- "name": "party_name",
- "address_line1": "760 Market Street",
- "address_line2": "8th floor",
- "address_line3": null,
- "address_line4": null,
- "address_line5": null,
- "address_line6": null,
- "city": "San Francisco",
- "state_province": "CA",
- "postal_code": "94102",
- "country_code": "US",
- "external_ref": "ref_1234"
}, - "country_of_origin": "CN",
- "quantity": {
- "value": 1,
- "unit": "pcs"
}, - "net_value": {
- "amount": 1.23,
- "currency_code": "USD"
}, - "value": {
- "amount": 1.23,
- "currency_code": "USD"
}, - "unit_price": {
- "amount": 1.23,
- "currency_code": "USD"
}, - "first_sale_value": {
- "amount": 1.23,
- "currency_code": "USD"
}, - "final_sale_value": {
- "amount": 1.23,
- "currency_code": "USD"
}, - "gross_weight": {
- "value": 1.23,
- "unit": "kg"
}, - "net_weight": {
- "value": 1.23,
- "unit": "kg"
}, - "net_net_weight": {
- "value": 1.23,
- "unit": "kg"
}, - "volume": {
- "value": 1.23,
- "unit": "cbm"
}, - "container_number": "ABCD1234",
- "document_line_number": 1234,
- "purchase_order_number": "123456",
- "po_line_item_number": "123456",
- "product": {
- "product_sku": "abcd-1234",
- "description": "the prettiest makeup there is",
- "product_category": "Cosmetics",
- "product_properties": [
- {
- "type": "color",
- "value": "red"
}
], - "product_classifications": [
- {
- "hs_codes": [
- "1234.56.78"
], - "region": "US"
}
]
}, - "metadata": "{color: [\"red\", \"blue\"], size: [\"large\", \"medium\", \"small\"]}"
}
], - "shipment_ref": "shipment_ref",
- "shipment_id": 123456,
- "invoice_date": "2000-04-30",
- "proration_amount": {
- "amount": 1.23,
- "currency_code": "USD"
}, - "metadata": "{color: [\"red\", \"blue\"], size: [\"large\", \"medium\", \"small\"]}"
}, - "error": null
}