# DebtorFinancialInfoRecords

> Running totals per customer: open balance, invoices and payments in transit, invoices not processed yet and the average payment term.

Subject: Receivables and payables.

Running totals per customer: open balance, invoices and payments in transit, invoices not processed yet and the average payment term. Stored totals, not recalculated from the open items.

Label in Fledge: Debiteur financieele informatie.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/DebtorFinancialInfoRecords` |
| Key | `administration_id`, `debtor_id` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | FINANCIEEL |
| Write licenses | FINANCIEEL, BEHEER |
| Scopes | FLEDGE_PORTAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/DebtorFinancialInfoRecords?$filter=administration_id eq 1&$select=debtor_id,amount_in_transit_invoice,amount_in_transit_payment,sales_status_quantity&$top=50
GET https://odata-api.fledge.nl/v2-8/DebtorFinancialInfoRecords(administration_id=1,debtor_id={debtor_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `debtor_id` (key) | Int32, not null | Debiteurnummer |
| `instalment_amount` | Decimal | Bedrag in termijnen |
| `amount_in_transit_invoice` | Decimal | Fakt. onderw.: Faktuurbedragen onderweg. Invoices booked but not yet processed to the ledger. |
| `amount_in_transit_payment` | Decimal | Bet. onderw.: Betalingen onderweg. Payments booked but not yet processed to the ledger. |
| `sales_status_quantity` | String | Bedrag VO: Bedrag per status in verkooporder. Despite its name, the amounts (not quantities) of the customer's open sales order lines per status, without VAT. |
| `amount_unprocessed_sales_invoices` | Decimal | Bdr in niet verwerkte facturen: Bedrag in niet verwerkte verkoopfacturen. Sales invoices not yet processed financially. |
| `average_payment_term` | Decimal | betalingstermijn gem.: betalingstermijn gemiddeld. The customer's average payment term. |
| `balance_outstanding` | Decimal | Open saldo. The open balance of invoices booked in the ledger and not paid. |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)

---

Source: https://docs.fledge.nl/en/api/reference/DebtorFinancialInfoRecords
