Endpoint is in beta and API contract is subject to change.
Retrieves a collection of invoices that belong to the authenticated user.
Date range and invoice status filters can be used to filter the result set. The results are paginated. Please see
filtering documentation for more information
on date filtering and pagination.
curl https://api.goshippo.com/invoices?results=20&page=2 \ -H "Authorization: ShippoToken <API_TOKEN>" \ -H "Content-Type: application/json"
{- "next": "baseurl?page=3&results=10",
- "previous": "baseurl?page=1&results=10",
- "results": [
- {
- "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": {
- "amount": "5.52",
- "currency": "USD"
}, - "total_charged": {
- "amount": "5.52",
- "currency": "USD"
}
}
]
}