Invoice settlements
Journal-backed snapshot.
Journal-backed snapshot. Amounts are integral minor units, excluding fees.
Service Sylphx Money · Resource type money.sylphx.com/InvoiceSettlement · Name pattern orgs/{org}/projects/{project}/envs/{env}/invoice_settlements/{invoice_settlement} · Shape record
Fields
| Field | Type | What it is |
|---|---|---|
name | string | Canonical settlement resource name. |
uid | string | Stable identifier of the settlement's original journal entry. Output only. |
meta | ResourceMeta | Resource metadata. |
processor_invoice_id | string | Stable processor invoice identifier. Output only. |
livemode | bool | Production when true, sandbox when false. Output only. |
subject | Subject | The billed customer subject. Output only. |
currency_code | string | Currency of the original invoice. Output only. |
paid_time | timestamp | Original processor collection time. Output only. |
gross_collected_minor | uint32 | Original cash collected, including tax. Output only. |
tax_minor | uint32 | Tax included in the original collection. Output only. |
net_principal_minor | uint32 | Original cash collected less tax, before reversals. Output only. |
list_principal_minor | uint32 | Pre-discount, tax-exclusive subtotal, only when proven. Output only. |
movements | InvoiceSettlementMovement[] | Apply each movement ID once for this invoice. Order is not significant. Output only. |
Methods
Every method of the collection, in the registry's order, with the scope it needs. The full request, response and examples are one link away.
| Method | Call | What it does |
|---|---|---|
GET | get | Reads collected invoice principal and its committed reversal movements. |
get
Reads collected invoice principal and its committed reversal movements.
GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/invoice_settlements/invoice-settlement · scope billing:read · effect read · Request, response and examples