The following endpoint can be used to retrieve the details of a Facture within the Hyfin application.
The following endpoint can be used to retrieve a Facture. You must replace the {base_url} , {_id} and {site_id} variables with the appropriate values.
{
"_id": "61f32dc2f62bdc6a48945067",
"invoiceNumber": "12345",
"totals": {
"taxes": 285,
"discounts": 0,
"total": 3285
},
"customer": "61f32dc2f62bdc6a48951255",
"billToCustomer": "61f32dc2f62bdc6a48951255",
"billTo": {
"name": "John Doe",
"attn": "",
"address": {},
"emails": [],
"sms": []
},
"soldTo": {
"name": "John Doe",
"attn": "",
"address": {}
},
"invoiceTermName": null,
"lines": [
{
"name": "Mens Large T-shirt",
"description": "",
"qty": 2,
"unitPrice": 1500,
"total": 3000,
"item": "62166eda3a8c0517866b9b46"
}
],
"invoiceDate": "2022-12-01T00:00:00.000Z",
"dueDate": "2022-12-01T00:00:00.000Z",
"expireAt": "2023-01-01",
"poNumber": "",
"customerMemo": "Thank you for your business!",
"internalMemo": "",
"payments": [
"62166eda3a8c0517866b9c23"
],
"attachmentRefs": {
"internal": [],
"external": [],
"sourceDocument": null
},
"webhookUrl": "https://yourcompany.com/webhook",
"customerUrl": "https://site.url/L-KA39TI45JLMN",
"createdAt": "2025-05-30T19:19:44.143Z",
"deleted": false
}