---
title: "View liability"
method: GET
path: "/api/v1/liabilities/{id}"
tags: ["Liability"]
---

# View liability

`GET /api/v1/liabilities/{id}`

Returns details of a single liability.

## Path parameters

- `id` string, required — Resource identifier.

## Response `200`

Operation completed successfully.

- object
  - `data` object, required
    - `id` string — Resource identifier.
    - `documentNumber` string, nullable
    - `date` string, date
    - `createdAt` string, date-time, nullable
    - `createdBy` object, nullable
      - `name` string, required
    - `updatedAt` string, date-time
    - `supplierInvoice` string — The invoice number issued by the supplier
    - `receiptDate` string, date-time, nullable — The date when the supplier invoice was received by the recipient
    - `serviceDate` string, date, nullable — The date on which the service was provided
    - `deliveryDate` string, date, nullable — The date on which the goods where shipped or the services where rendered
    - `status` 'PENDING' | 'PAID' | 'PARTIALLY_PAID' | 'CANCELLED' — Status of liability
    - `supplier` object, nullable — Supplier reference
      - `id` string — Resource identifier.
    - `supplierInvoiceNumber` string — The invoice number issued by the supplier
    - `financials` object — financial information
      - `amountGross` object — Money object with amount and currency
        - `amount` string, float — A string representing the amount
        - `currency` 'EUR' | 'USD' | 'JPY' | 'BGN' | 'CZK' | 'DKK' | 'GBP' | 'HUF' | 'PLN' | 'RON' | 'SEK' | 'CHF' | 'ISK' | 'NOK' | 'HRK' | 'RUB' | 'TRY' | 'AUD' | 'BRL' | 'CAD' | 'CNY' | 'HKD' | 'IDR' | 'ILS' | 'INR' | 'KRW' | 'MXN' | 'MYR' | 'NZD' | 'PHP' | 'SGD' | 'THB' | 'ZAR' | 'ARS' | 'CLP' | 'SAR' | 'AED' | 'QAR' — Currency matches one of currency values as specified in ISO-4217.
      - `amountNet` object — Money object with amount and currency
        - `amount` string, float — A string representing the amount
        - `currency` 'EUR' | 'USD' | 'JPY' | 'BGN' | 'CZK' | 'DKK' | 'GBP' | 'HUF' | 'PLN' | 'RON' | 'SEK' | 'CHF' | 'ISK' | 'NOK' | 'HRK' | 'RUB' | 'TRY' | 'AUD' | 'BRL' | 'CAD' | 'CNY' | 'HKD' | 'IDR' | 'ILS' | 'INR' | 'KRW' | 'MXN' | 'MYR' | 'NZD' | 'PHP' | 'SGD' | 'THB' | 'ZAR' | 'ARS' | 'CLP' | 'SAR' | 'AED' | 'QAR' — Currency matches one of currency values as specified in ISO-4217.
      - `freightCharge` number, float — Freight costs
      - `taxation` string
      - `taxes` object
        - `normalTax` object, nullable
          - `rate` number — percentual rate
          - `amount` number, float — absolut amount
        - `reducedTax` object, nullable
          - `rate` number — percentual rate
          - `amount` number, float — absolut amount
        - `customTax1` object, nullable
          - `rate` number — percentual rate
          - `amount` number, float — absolut amount
        - `customTax2` object, nullable
          - `rate` number — percentual rate
          - `amount` number, float — absolut amount
      - `paymentTerms` object
        - `dueDate` string, date, nullable
        - `earlyPaymentDate` string, date, nullable
        - `earlyPaymentDiscount` number, float
        - `earlyPaymentDiscountAmount` number, float
      - `bookingText` string — header booking text
      - `payment` object — payment information
        - `methodName` string
        - `paidAmount` number, float
        - `paidOnDate` string, date, nullable
        - `discountReceived` number, float
      - `glAccount` string, nullable — ledger account
      - `costCenter` string, nullable — cost center
    - `purchaseOrder` object, nullable — global connected purchase order
      - `id` string — related purchase order
    - `assignedPurchaseOrders` object[]
      - `id` string — Resource identifier.
      - `number` string
      - `amountGross` number, float
      - `amountNet` number, float
      - `project` object — related project ID
        - `id` string — Resource identifier.
      - `salesOrder` object
        - `id` string — Resource identifier.
      - `costCenter` string
      - `comment` string
    - `project` object — related project ID
      - `id` string — Resource identifier.
    - `accounting` object[]
      - `glAccount` string — Resource identifier.
      - `bookingText` string — 1st accounting entry text
      - `amount` object — Money object with amount and currency
        - `amount` string, float — A string representing the amount
        - `currency` 'EUR' | 'USD' | 'JPY' | 'BGN' | 'CZK' | 'DKK' | 'GBP' | 'HUF' | 'PLN' | 'RON' | 'SEK' | 'CHF' | 'ISK' | 'NOK' | 'HRK' | 'RUB' | 'TRY' | 'AUD' | 'BRL' | 'CAD' | 'CNY' | 'HKD' | 'IDR' | 'ILS' | 'INR' | 'KRW' | 'MXN' | 'MYR' | 'NZD' | 'PHP' | 'SGD' | 'THB' | 'ZAR' | 'ARS' | 'CLP' | 'SAR' | 'AED' | 'QAR' — Currency matches one of currency values as specified in ISO-4217.
      - `tax` object — percentual tax rate
        - `rate` number, float
      - `costCenter` string
    - `positions` object[]
      - `id` string — Resource identifier.
      - `sort` number — The position of the position in the list
      - `number` string
      - `purchaseOrder` object, nullable
        - `id` string — Resource identifier.
      - `product` object
        - `id` string — Resource identifier.
        - `supplierProductNumber` string
      - `deliveryDate` string, date, nullable — The date the position was delivered
      - `quantity` number — The quantity of the position
      - `unit` string
      - `packagingUnit` string
      - `price` object — Money object with amount and currency
        - `amount` string, float — A string representing the amount
        - `currency` 'EUR' | 'USD' | 'JPY' | 'BGN' | 'CZK' | 'DKK' | 'GBP' | 'HUF' | 'PLN' | 'RON' | 'SEK' | 'CHF' | 'ISK' | 'NOK' | 'HRK' | 'RUB' | 'TRY' | 'AUD' | 'BRL' | 'CAD' | 'CNY' | 'HKD' | 'IDR' | 'ILS' | 'INR' | 'KRW' | 'MXN' | 'MYR' | 'NZD' | 'PHP' | 'SGD' | 'THB' | 'ZAR' | 'ARS' | 'CLP' | 'SAR' | 'AED' | 'QAR' — Currency matches one of currency values as specified in ISO-4217.
      - `costCenter` string
      - `tax` object
        - `vatCategory` string — The category of the value added tax
        - `rate` number, float, nullable — Tax rate in percent
        - `taxText` string, nullable
    - `purpose` string, nullable — The purpose

## Other responses

- `401` — Unable to authenticate the client
- `403` — Unable to authorize the client
- `404` — Resource was not found or not enough access privileges
- `406` — Requested resource representation does not exist.
- `429` — Too many API calls made.

---

[API](https://skmtc.net/xentral/apis/xentral-api.md) · [All operations](https://skmtc.net/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
