Loading...

Invoices

Your invoices

GET https://api.getAddress.io/invoices/{number}?api-key={admin-key}  
GET https://api.getAddress.io/invoices/from/{from-day}/{from-month}/{from-year}/To/{to-day}/{to-month}/{to-year}?api-key={admin-key}  

Example

Request

GET https://api.getAddress.io/invoices/from/4/7/2022/To/5/7/2022?api-key={admin-key}  

Response

[
    {
    "date": 7/4/2022 12:00:00 AM,
    "number": "123",
    "address_1": "address line 1",
    "address_2": "address line 2",
    "address_3": "address line 3",
    "address_4": "address line 4",
    "address_5": "address line 5",
    "address_6": "address line 6",
    "total": 12,
    "tax": 2,
    "invoice_lines": [
    {
      "quantity": 1,
      "details": "getAddress.io subscription",
      "unit_price": 10,
      "subtotal": 10
    }
    ],
    "pdf_url": https://getaddress.io/invoice/123
    },
    {
    "date": 7/5/2022 12:00:00 AM,
    "number": 244,
    "address_1": "address line 1",
    "address_2": "address line 2",
    "address_3": "address line 3",
    "address_4": "address line 4",
    "address_5": "address line 5",
    "address_6": "address line 6",
    "total": 12,
    "tax": 2,
    "invoice_lines": [
    {
      "quantity": 1,
      "details": "getAddress.io subscription",
      "unit_price": 10,
      "subtotal": 10
    }
    ],
    "pdf_url": https://getaddress.io/invoice/244
    }
]
Top