v1
latestOpenAPI 3.0.12026-07-144840447.2 KBHidden
Supplier Invoices
Retrieve a supplier invoice
This endpoint returns a supplier invoice.
ℹ️ This endpoint requires the following scope: supplier_invoices:readonly
get/api/external/firm/v1/companies/{company_id}/supplier_invoices/{id}
Path parameters
company_idinteger required
Existing company identifier (id)
idinteger required
Supplier invoice identifier
Response
Returns a supplier invoice
Example response
{
"id": 123,
"label": "Demo label",
"invoice_number": "F20230001",
"amount": "230.32",
"currency_amount": "230.32",
"currency_amount_before_tax": "196.32",
"exchange_rate": "1.0",
"date": "2023-08-30",
"deadline": "2023-09-30",
"currency_tax": "34.0",
"tax": "34.0",
"filename": "my_file.pdf",
"public_file_url": "https://app.pennylane.com/public/invoice/pdf?encrypted_id=bzjoVJe...3D%3D",
"remaining_amount_with_tax": "20.0",
"remaining_amount_without_tax": "16.0",
"ledger_entry": {
"id": 42
},
"supplier": {
"id": 456
},
"transaction_reference": {
"banking_provider": "bank",
"provider_field_name": "label",
"provider_field_value": "invoice_number"
},
"external_reference": "FR123",
"archived_at": "2023-08-30T10:08:08.146343Z",
"created_at": "2023-08-30T10:08:08.146343Z",
"updated_at": "2023-08-30T10:08:08.146343Z"
}