v1
latestOpenAPI 3.0.02026-07-2455104.8 MBLiability
View liability
Returns details of a single liability.
get/api/v1/liabilities/{id}
Path parameters
idstring required
Resource identifier.
Example:17
The resource's identifier.
Response
Operation completed successfully.
Example response
{
"data": {
"id": "123456",
"documentNumber": "LB-100001",
"date": "2020-01-15",
"createdAt": "2020-01-01 12:00:00+02:00",
"createdBy": {
"name": "John Doe"
},
"updatedAt": "2020-01-01 13:00:00+02:00",
"supplierInvoice": "INV-12345",
"receiptDate": "2020-01-01T12:00:00Z",
"deliveryDate": "2020-01-01",
"status": "PENDING",
"supplier": {
"id": "123456"
},
"supplierInvoiceNumber": "INV-12345",
"financials": {
"amountGross": {
"amount": "100.0",
"currency": "EUR"
},
"freightCharge": 10,
"taxation": "VAT",
"taxes": {
"normalTax": {
"rate": 19,
"amount": 19
},
"reducedTax": {
"rate": 7,
"amount": 7
},
"customTax1": {
"rate": 8.1,
"amount": 50.5
},
"customTax2": {
"rate": 10,
"amount": 50.5
}
},
"paymentTerms": {
"dueDate": "2020-01-31",
"earlyPaymentDate": "2020-01-15",
"earlyPaymentDiscount": 2
},
"bookingText": "Liability booking text",
"payment": {
"methodName": "Bank transfer",
"paidAmount": 100,
"paidOnDate": "2020-01-01",
"discountReceived": 2
},
"glAccount": "123456",
"costCenter": "123456"
},
"purchaseOrder": {
"id": "123456"
},
"assignedPurchaseOrders": [
{
"id": "123456",
"number": "123456",
"amountGross": 100,
"amountNet": 100,
"project": {
"id": "123456"
},
"salesOrder": {
"id": "123456"
},
"costCenter": "123456"
}
],
"project": {
"id": "1"
},
"accounting": [
{
"glAccount": "123456",
"bookingText": "Liability booking text",
"amount": {
"amount": "100.0",
"currency": "EUR"
},
"tax": {
"rate": 19
},
"costCenter": "123456"
}
],
"purpose": "test purpose"
}
}