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",
"description": "",
"customerMemo": "",
"internalMemo": "",
"dueDate": "2021-10-01",
"totals": {
"taxes": 285,
"total": 3000
},
"customer": {
"_id": "61f32dc2f62bdc6a48951255",
"firstName": "John",
"lastName": "Doe",
"mobilePhone": "111-222-3333",
"email": "johndoe@abc.com"
},
"lines": [
{
"description": "",
"product": {
"_id": "62166eda3a8c0517866b9b46",
"name": "Mens Large T-shirt",
"unitPrice": 1500
},
"unitPrice": 1500,
"qty": 2,
"total": 3000
}
],
"payments": [
{
"_id": "62166eda3a8c0517866b9r23",
"paymentType": "payment_card",
"paymentSubType": "amex",
"displayName": "AMEX ****** 3422",
"last4": "3422",
"amount": 3000,
"paidOn": "2021-03-15T16:32:11Z",
"status": "captured",
"deleted": false
}
],
"notifications": [
{
"error": false,
"value": "test@test.com",
"description": "Email to test@test.com sent",
"at": "2021-03-15T13:32:11Z"
},
{
"error": false,
"value": "999-123-4567",
"description": "Text to 999-123-4567 sent",
"at": "2021-03-15T13:32:11Z"
}
],
"webhookUrl": "https://yourcompany.com/webhook",
"createdAt": "2025-05-30T19:19:44.143Z",
"updatedAt": "2025-05-30T19:19:44.143Z"
}