For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Request featuresContact support
DocsAPI ReferenceGraphQLIntegrationsDeveloper ToolsMNO and Resellers
DocsAPI ReferenceGraphQLIntegrationsDeveloper ToolsMNO and Resellers
  • Docs
    • Event types
    • Tariff
  • API Reference
        • GETGet all configured articles
        • POSTCreate a new article
        • DELRemove an article
        • PATCHUpdate an article
        • GETGet available products for order
        • GETGet list of orders
        • POSTSubmit order with scale priced products
        • POSTPre-calculate order total
        • GETGet a single order
        • DELCancel order
        • PATCHUpdate order fields
        • GETView the invoice of an order
        • GETList shipping providers for tracking orders
LogoLogo
Request featuresContact support
API ReferenceSim Order Management

View the invoice of an order

GET
https://cdn.emnify.net/api/v1/shop/order/:order_id/invoice
GET
/api/v1/shop/order/:order_id/invoice
$curl https://cdn.emnify.net/api/v1/shop/order/1.1/invoice \
> -H "Authorization: Bearer <token>"
1{
2 "id": 165525,
3 "type": {
4 "id": 1,
5 "description": "SIM Order"
6 },
7 "status": {
8 "id": 1,
9 "description": "PAID"
10 },
11 "issued_date": "2022-08-29T00:00:00.000Z",
12 "external_payment_reference": "1234abc",
13 "issuer_organisation": {
14 "id": 2,
15 "name": "org2",
16 "billing_config": {
17 "vatin": "DE12345"
18 }
19 },
20 "customer_organisation": {
21 "id": 44,
22 "name": "org44"
23 },
24 "currency": {
25 "code": "USD",
26 "symbol": "$",
27 "id": 2
28 },
29 "order": {
30 "id": 271,
31 "submit_date": "2022-08-29T07:46:18.000Z",
32 "shipping_option": {
33 "id": 4,
34 "description": "1-3 Working Days, Trackable",
35 "name": "UPS Express Saver",
36 "currency": {
37 "code": "USD",
38 "symbol": "$",
39 "id": 2
40 },
41 "fee": 18
42 },
43 "payment_option": {
44 "id": 2,
45 "name": "Credit Card / PayPal"
46 },
47 "invoice_address": {
48 "organisation": {
49 "name": "org44"
50 },
51 "name": "Test user",
52 "street": "Test street 1",
53 "zipcode": "1",
54 "city": "Test city",
55 "email": "user56@localhost",
56 "country": {
57 "name": "Canada",
58 "country_code": "1",
59 "iso_code": "ca",
60 "id": 38
61 }
62 },
63 "shipping_address": {
64 "organisation": {
65 "name": "org44"
66 },
67 "name": "Test user",
68 "street": "Test street 1",
69 "zipcode": "1",
70 "city": "Test city",
71 "country": {
72 "name": "Canada",
73 "country_code": "1",
74 "iso_code": "ca",
75 "id": 38
76 },
77 "phone": "+49xxxxxxxx"
78 },
79 "customer_user": {
80 "id": 56,
81 "name": "user56",
82 "username": "user56@localhost"
83 },
84 "articles": [
85 {
86 "id": 224,
87 "ean": "652827515764",
88 "name": "V5 Commercial 4in1 - ½ size",
89 "order_quantity": 1,
90 "price": 9,
91 "total_price": 9,
92 "quantity": 1,
93 "sim_model_id": 35,
94 "currency": {
95 "id": 1,
96 "code": "EUR",
97 "symbol": "€"
98 }
99 }
100 ],
101 "purchase_order_number": "REF-12345"
102 },
103 "vat_info_text": "VAT Exempt",
104 "vat": 0,
105 "vat_rate": 0,
106 "sub_total_amount": 27,
107 "total_amount": 27
108}
Returns the invoice of an order. Can only be viewed by the customer organization or their parent organization.
Was this page helpful?
Previous

Update order fields

Next

List shipping providers for tracking orders

Built with

Authentication

AuthorizationBearer

An auth_token should be provided to authenticate a session.

To obtain an auth_token, see the POST request to /api/v1/authenticate.

Path parameters

order_iddoubleRequired
Numerical ID of an order

Response

OK
iddouble
typeobject
statusobject
issued_datestring
due_datestring
external_payment_referencestring
issuer_organisationobject
customer_organisationobject
currencyobject
orderobject
vat_info_textstring
vatdouble
vat_ratedouble
sub_total_amountdouble
total_amountdouble

Errors

404
Not Found Error