Page tree

Overview

This API call applies to both Armor Complete and Armor Anywhere users.

The Get Invoices API retrieves invoices for your account, including paid and unpaid invoices; however, this API call will not retrieve deleted invoices. 

You can use this API to find the invoice ID (invoiceID). You will need this ID for other invoice-related APIs.



Sample request

GET https://api.armor.com/invoices

Input

The following table describes the different parts of this API call: 

API Call / URLMethod / Type
/invoicesGET


There are no parameters for this API call. 


Sample return

StatusResponse
200
  {  
     "invoiceId":"2c92a0b05925c98701595a9eeaa45251",
     "invoiceNumber":"INV0010001",
     "invoiceDate":"2015-01-01T00:00:00",
     "invoiceDueDate":"2015-02-01T00:00:00",
     "amount":900.00,
     "status":"Unpaid",
     "remainingBalance":900.00
  },
  {  
     "invoiceId":"2c92a0b158aa8e0b0158bb805071233e",
     "invoiceNumber":"INV0010000",
     "invoiceDate":"2015-12-01T00:00:00",
     "invoiceDueDate":"2015-01-01T00:00:00",
     "amount":900.00,
     "status":"Paid",
     "remainingBalance":0.00
  }
]