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/1/12/2024/To/2/12/2024?api-key={admin-key}  

Response

[
    {
    "date": 12/1/2024 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": 12/2/2024 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