Retrieve an invoice

Endpoint is in beta and API contract is subject to change.

Returns a single invoice using an object ID.

SecurityAPIKeyHeader
Request
path Parameters
InvoiceObjectId
required
string

Object ID of the Invoice

header Parameters
SHIPPO-API-VERSION
string

String used to pick a non-default API version to use

Responses
200
get/invoices/{InvoiceObjectId}
Request samples
curl https://api.goshippo.com/invoices/{InvoiceObjectId}  \
-H "Authorization: ShippoToken <API_TOKEN>" \
-H "Content-Type: application/json"
Response samples
application/json
{
  • "object_id": "ec9f0d3adc9441449c85d315f0997fd5",
  • "object_created": "2019-08-24T14:15:22Z",
  • "object_updated": "2019-08-24T14:15:22Z",
  • "shippo_account": "915d94940ea54c3a80cbfa328722f5a1",
  • "invoice_number": 234167,
  • "status": "POSTED",
  • "invoice_closed": "2019-08-24T14:15:22Z",
  • "invoice_paid_date": "2019-08-24T14:15:22Z",
  • "total_invoiced": {
    },
  • "total_charged": {
    }
}