Endpoint is in beta and API contract is subject to change.
Returns a single invoice using an object ID.
curl https://api.goshippo.com/invoices/{InvoiceObjectId} \ -H "Authorization: ShippoToken <API_TOKEN>" \ -H "Content-Type: 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": {
- "amount": "5.52",
- "currency": "USD"
}, - "total_charged": {
- "amount": "5.52",
- "currency": "USD"
}
}