api_external.settlement_lines
View
Lines of the settlements in api_external.settlements. The amount is unsigned; the kind decides whether it adds or subtracts.
| Column | Type | Nullable | Description |
|---|---|---|---|
| id | uuid | Yes | Settlement line. |
| settlement_id | uuid | Yes | Settlement. |
| line_number | integer | Yes | Order of the line. |
| line_kind | app.settlement_line_kind | Yes | Guarantee, Bonus, Split, Expense, Deduction or Withholding. |
| description | text | Yes | What the line settles. |
| amount_minor | bigint | Yes | Amount in minor units; NULL is unpriced. |