# Settlement

> A schema in the One API reference. Source: https://hub.ozow.com/api-reference/one-api/schemas/settlement/

The settlement summary information.

## Fields

- `links` (object, required) - Links related to this resource.
  - `self` (string, uri, required) - The unique URI to this resource.
  - `lineItems` (string, uri, required) - The URI to list the line items associated with this settlement.
- `id` (string, uuid, required) - The unique id for this settlement.
- `totalSettlement` (object, required) - The total amount being settled.
- `totalFees` (object, required) - The total fees deducted from all corresponding transactions before calculating the settlement amount. The fees for each line item record may not add up to this fee because of rounding and this fee will be calculated off total amounts or counts.
- `lineItemCounts` (object, required) - The line item counts for each type available. `total` is always present; a type with no line items in this settlement is left out rather than returned as zero.
  - `total` (integer, required) - The total number of line items in the settlement.
  - `transaction` (integer) - The number of transaction line items in the settlement.
  - `refund` (integer) - The number of refund line items in the settlement.
  - `adjustment` (integer) - The number of adjustment line items in the settlement.
  - `payout` (integer) - The number of payout line items in the settlement.
- `reference` (string, required, max length 50) - The unique settlement reference that will be present in the reference on your bank statement.
- `date` (string, date, required) - The UTC date the settlement was created.
- `bank` (object)
