OverdueUnchasedInvoiceResource.Invoice.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due
`GET /invoices/overdue-unchased` — overdue, unpaid invoices that went out but that reminder staging cannot see (#6880). The reasoning for the population lives on {@see OverdueUnchasedInvoiceProvider} and on `InvoiceRepository::isIssuedButUnchased()`. ## WHY THE OPERATION IS DECLARED HERE AND NOT ON `Invoice` Not taste: `src/Entity/Invoice/Invoice.php` sits at 1,503 lines in `tests/file-size-baseline.txt` and the #5015 ratchet forbids it growing. Its failure message names this remedy first — *"Move what you are adding into a * new class"* — and the alternative it offers, editing the baseline, is the decision that record exists to make visible rather than something to take in passing for five lines of operation. `config/packages/api_platform.yaml` already maps `src/Api/Dto`, so an operation declared here is registered the same way one on the entity would be. The class carries no properties of its own deliberately. The provider returns `Invoice` entities and `output` names them, so this endpoint serializes exactly what `GET /invoices` serializes and cannot drift from it — the same reason the invoice exports ride the list operation rather than restating it.
Properties
| Name | Type | Description |
|---|---|---|
| @id | string | |
| @type | string | |
| id | integer | |
| name | string | |
| type | string | |
| parent | object | |
| childrenInvoices | array | |
| client | string | |
| contract | stringnull | The revenue-side contract (Contract.direction='in') this issued invoice settles against. Nullable — pre-existing invoices have no link, and ad-hoc invoices outside any contract stay unlinked. SET NULL |
| paymentScheduleLine | stringnull | The contract payment-schedule line this invoice was created from. One Invoice per PaymentScheduleLine — enforced by a unique index at the DB layer to make the "Create invoice" button idempotent. ON DE |
| tinType | string | |
| tinCountry | stringnull | |
| tin | stringnull | |
| bankAccount | string | |
| amountNet | number | |
| amount | number | |
| currency | stringnull | |
| conversionRate | numbernull | |
| generatedPdfExternalId | stringnull | |
| issueDate | string | |
| saleDate | string | |
| dueDate | string | |
| targetAmount | numbernull | |
| paymentMethod | string | |
| paidInAdvance | boolean | |
| notes | stringnull | |
| correctionReason | stringnull | |
| typKorekty | stringnull | KSeF TypKorekty chosen when the correction is built (#9704); see EInvoicingInvoicePayloadBuilder::resolveTypKorekty(). |
| invoiceRows | array | |
| eInvoicing | object | |
| invoiceTransactions | array | |
| internalComment | string | |
| collectionsExcludedAt | stringnull | When this invoice was taken out of the collections population, or null. |
| collectionsExcludedReason | stringnull | Why, verbatim, with no default. Required whenever the timestamp is set — enforced by {@see self::excludeFromCollections()} being the only way to set either, rather than by a NOT NULL on a live table. |
| conversionRateTable | stringnull | |
| conversionRateDate | stringnull | |
| eInvoicingPlannedAt | stringnull | |
| accountantDocumentNumber | stringnull | Accountant's reconciliation: the journal or register reference the accountant booked this document under, e.g. 00023/FS/26. |
| bookedAt | stringnull | Accountant's reconciliation: the posting date in the accountant's books. |
| vatPeriod | stringnull | Accountant's reconciliation: the month whose JPK_V7M carries this document, YYYY-MM. Null when the document is outside VAT or not booked yet. Cannot be after the current month. The closed VAT periods |
| citPeriod | stringnull | Accountant's reconciliation: the month (YYYY-MM) or quarter (YYYY-Qn) the revenue or cost was recognised in for CIT. |
| bookedNetPln | stringnull | Accountant's reconciliation: the net amount as booked, in PLN, as a decimal string such as "1234.56" (not a JSON number). |
| bookedVatPln | stringnull | Accountant's reconciliation: the VAT amount as booked, in PLN, as a decimal string such as "283.95" (not a JSON number). |
| bookedGrossPln | stringnull | Accountant's reconciliation: the gross amount as booked, in PLN, as a decimal string such as "1518.51" (not a JSON number). |
| reconciliationStatus | stringnull | Accountant's reconciliation: unbooked, booked, mismatch or excluded. A document nobody reconciled reads unbooked. An unbooked document dated in a closed VAT period is reported as the problem_unreconci |
| reconciledAt | stringnull | Accountant's reconciliation: when the document was last reconciled against the accountant's books. |
| reconciliationNote | stringnull | Accountant's reconciliation: a free-text note, e.g. what a mismatch is. |
| targetAmountNet | numbernull | Null when no stored rate prices it; see IncomeFxParityClassifier::netInOrgCurrency() (#4279). |
| correctedAmount | numbernull | The gross amount still claimed by this invoice AFTER any correcting invoices (faktury korygujące) — what a collections view may state the client owes, rather than what the document said before it was |
| amountDue | numbernull | What the client still owes on this invoice: the corrected gross MINUS any set-off (kompensata) declared against it (#5496) MINUS what has been paid against it (#5497). |
| amountSetOff | number | The receivable side of every EFFECTIVE declaration naming this invoice. |
| status | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/flowtly-fr/json-schema/flowtly-fr-overdue-unchased-invoice-resource-invoice-jsonld-invoice-read-invoice-row-read-invoice-transaction-read-invoice-amount-due-schema.json",
"title": "OverdueUnchasedInvoiceResource.Invoice.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due",
"description": "`GET /invoices/overdue-unchased` — overdue, unpaid invoices that went out but\nthat reminder staging cannot see (#6880). The reasoning for the population\nlives on {@see OverdueUnchasedInvoiceProvider} and on\n`InvoiceRepository::isIssuedButUnchased()`.\n\n## WHY THE OPERATION IS DECLARED HERE AND NOT ON `Invoice`\n\nNot taste: `src/Entity/Invoice/Invoice.php` sits at 1,503 lines in\n`tests/file-size-baseline.txt` and the #5015 ratchet forbids it growing. Its\nfailure message names this remedy first — *\"Move what you are adding into a\n * new class\"* — and the alternative it offers, editing the baseline, is the\ndecision that record exists to make visible rather than something to take in\npassing for five lines of operation. `config/packages/api_platform.yaml`\nalready maps `src/Api/Dto`, so an operation declared here is registered the\nsame way one on the entity would be.\n\nThe class carries no properties of its own deliberately. The provider returns\n`Invoice` entities and `output` names them, so this endpoint serializes\nexactly what `GET /invoices` serializes and cannot drift from it — the same\nreason the invoice exports ride the list operation rather than restating it.",
"x-generated": "2026-11-27",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/flowtly-fr-openapi.yml#/components/schemas/OverdueUnchasedInvoiceResource.Invoice.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due",
"type": "object",
"deprecated": false,
"properties": {
"@id": {
"readOnly": true,
"type": "string"
},
"@type": {
"readOnly": true,
"type": "string"
},
"id": {
"readOnly": true,
"type": "integer"
},
"name": {
"maxLength": 32,
"type": "string"
},
"type": {
"maxLength": 32,
"enum": [
"invoice",
"correction",
"advance"
],
"default": "invoice",
"type": "string"
},
"parent": {
"anyOf": [
{
"$ref": "#/$defs/Invoice.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due"
},
{
"type": "null"
}
]
},
"childrenInvoices": {
"readOnly": true,
"type": "array",
"items": {
"$ref": "#/$defs/Invoice.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due"
}
},
"client": {
"type": "string",
"format": "iri-reference"
},
"contract": {
"description": "The revenue-side contract (Contract.direction='in') this issued\ninvoice settles against. Nullable — pre-existing invoices have no\nlink, and ad-hoc invoices outside any contract stay unlinked. SET\nNULL on contract delete so we don't cascade-delete invoice history\nwith the contract.",
"type": [
"string",
"null"
],
"format": "iri-reference"
},
"paymentScheduleLine": {
"description": "The contract payment-schedule line this invoice was created from. One\nInvoice per PaymentScheduleLine — enforced by a unique index at the DB\nlayer to make the \"Create invoice\" button idempotent. ON DELETE SET NULL\nso an invoice survives schedule-line deletion (the user may delete a\nplanned line after issuing the invoice; we should NOT cascade-delete\nissued invoices).",
"type": [
"string",
"null"
],
"format": "iri-reference"
},
"tinType": {
"enum": [
"missing",
"nip",
"pesel",
"private"
],
"default": "missing",
"type": "string"
},
"tinCountry": {
"maxLength": 2,
"type": [
"string",
"null"
]
},
"tin": {
"maxLength": 32,
"type": [
"string",
"null"
]
},
"bankAccount": {
"type": "string",
"format": "iri-reference"
},
"amountNet": {
"type": "number"
},
"amount": {
"type": "number"
},
"currency": {
"type": [
"string",
"null"
],
"format": "iri-reference"
},
"conversionRate": {
"type": [
"number",
"null"
]
},
"generatedPdfExternalId": {
"type": [
"string",
"null"
]
},
"issueDate": {
"type": "string",
"format": "date-time"
},
"saleDate": {
"type": "string",
"format": "date-time"
},
"dueDate": {
"type": "string",
"format": "date-time"
},
"targetAmount": {
"type": [
"number",
"null"
]
},
"paymentMethod": {
"default": "Bank wire",
"type": "string"
},
"paidInAdvance": {
"type": "boolean"
},
"notes": {
"type": [
"string",
"null"
]
},
"correctionReason": {
"type": [
"string",
"null"
]
},
"typKorekty": {
"enum": [
"1",
"2",
"3"
],
"description": "KSeF TypKorekty chosen when the correction is built (#9704); see EInvoicingInvoicePayloadBuilder::resolveTypKorekty().",
"type": [
"string",
"null"
]
},
"invoiceRows": {
"type": "array",
"items": {
"$ref": "#/$defs/InvoiceRow.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due"
}
},
"eInvoicing": {
"anyOf": [
{
"$ref": "#/$defs/InvoiceEInvoicing.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due"
},
{
"type": "null"
}
]
},
"invoiceTransactions": {
"type": "array",
"items": {
"$ref": "#/$defs/InvoiceTransaction.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due"
}
},
"internalComment": {
"type": "string"
},
"collectionsExcludedAt": {
"readOnly": true,
"description": "When this invoice was taken out of the collections population, or null.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"collectionsExcludedReason": {
"readOnly": true,
"description": "Why, verbatim, with no default. Required whenever the timestamp is set —\nenforced by {@see self::excludeFromCollections()} being the only way to\nset either, rather than by a NOT NULL on a live table.",
"type": [
"string",
"null"
]
},
"conversionRateTable": {
"readOnly": true,
"type": [
"string",
"null"
]
},
"conversionRateDate": {
"readOnly": true,
"type": [
"string",
"null"
],
"format": "date-time"
},
"eInvoicingPlannedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"accountantDocumentNumber": {
"description": "Accountant's reconciliation: the journal or register reference the accountant booked this document under, e.g. 00023/FS/26.",
"type": [
"string",
"null"
]
},
"bookedAt": {
"description": "Accountant's reconciliation: the posting date in the accountant's books.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"vatPeriod": {
"description": "Accountant's reconciliation: the month whose JPK_V7M carries this document, YYYY-MM. Null when the document is outside VAT or not booked yet. Cannot be after the current month. The closed VAT periods run from the earliest to the latest month any document carries.",
"type": [
"string",
"null"
]
},
"citPeriod": {
"description": "Accountant's reconciliation: the month (YYYY-MM) or quarter (YYYY-Qn) the revenue or cost was recognised in for CIT.",
"type": [
"string",
"null"
]
},
"bookedNetPln": {
"description": "Accountant's reconciliation: the net amount as booked, in PLN, as a decimal string such as \"1234.56\" (not a JSON number).",
"type": [
"string",
"null"
]
},
"bookedVatPln": {
"description": "Accountant's reconciliation: the VAT amount as booked, in PLN, as a decimal string such as \"283.95\" (not a JSON number).",
"type": [
"string",
"null"
]
},
"bookedGrossPln": {
"description": "Accountant's reconciliation: the gross amount as booked, in PLN, as a decimal string such as \"1518.51\" (not a JSON number).",
"type": [
"string",
"null"
]
},
"reconciliationStatus": {
"description": "Accountant's reconciliation: unbooked, booked, mismatch or excluded. A document nobody reconciled reads unbooked. An unbooked document dated in a closed VAT period is reported as the problem_unreconciled entry of detectedProblems.",
"type": [
"string",
"null"
]
},
"reconciledAt": {
"description": "Accountant's reconciliation: when the document was last reconciled against the accountant's books.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"reconciliationNote": {
"description": "Accountant's reconciliation: a free-text note, e.g. what a mismatch is.",
"type": [
"string",
"null"
]
},
"targetAmountNet": {
"readOnly": true,
"description": "Null when no stored rate prices it; see IncomeFxParityClassifier::netInOrgCurrency() (#4279).",
"type": [
"number",
"null"
]
},
"correctedAmount": {
"readOnly": true,
"description": "The gross amount still claimed by this invoice AFTER any correcting\ninvoices (faktury korygujące) — what a collections view may state the\nclient owes, rather than what the document said before it was corrected.",
"type": [
"number",
"null"
]
},
"amountDue": {
"readOnly": true,
"description": "What the client still owes on this invoice: the corrected gross MINUS any\nset-off (kompensata) declared against it (#5496) MINUS what has been paid\nagainst it (#5497).",
"type": [
"number",
"null"
]
},
"amountSetOff": {
"readOnly": true,
"description": "The receivable side of every EFFECTIVE declaration naming this invoice.",
"type": "number"
},
"status": {
"readOnly": true,
"type": "string"
}
},
"required": [
"name",
"type",
"client",
"tinType",
"bankAccount",
"amount",
"issueDate",
"saleDate",
"dueDate"
],
"$defs": {
"Invoice.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due": {
"type": "object",
"description": "",
"deprecated": false,
"properties": {
"@id": {
"readOnly": true,
"type": "string"
},
"@type": {
"readOnly": true,
"type": "string"
},
"@context": {
"readOnly": true,
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"@vocab": {
"type": "string"
},
"hydra": {
"type": "string",
"enum": [
"http://www.w3.org/ns/hydra/core#"
]
}
},
"required": [
"@vocab",
"hydra"
],
"additionalProperties": true
}
]
},
"id": {
"readOnly": true,
"type": "integer"
},
"name": {
"maxLength": 32,
"type": "string"
},
"type": {
"maxLength": 32,
"enum": [
"invoice",
"correction",
"advance"
],
"default": "invoice",
"type": "string"
},
"parent": {
"anyOf": [
{
"$ref": "#/$defs/Invoice.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due"
},
{
"type": "null"
}
]
},
"childrenInvoices": {
"readOnly": true,
"type": "array",
"items": {
"$ref": "#/$defs/Invoice.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due"
}
},
"client": {
"type": "string",
"format": "iri-reference"
},
"contract": {
"description": "The revenue-side contract (Contract.direction='in') this issued\ninvoice settles against. Nullable — pre-existing invoices have no\nlink, and ad-hoc invoices outside any contract stay unlinked. SET\nNULL on contract delete so we don't cascade-delete invoice history\nwith the contract.",
"type": [
"string",
"null"
],
"format": "iri-reference"
},
"paymentScheduleLine": {
"description": "The contract payment-schedule line this invoice was created from. One\nInvoice per PaymentScheduleLine — enforced by a unique index at the DB\nlayer to make the \"Create invoice\" button idempotent. ON DELETE SET NULL\nso an invoice survives schedule-line deletion (the user may delete a\nplanned line after issuing the invoice; we should NOT cascade-delete\nissued invoices).",
"type": [
"string",
"null"
],
"format": "iri-reference"
},
"tinType": {
"enum": [
"missing",
"nip",
"pesel",
"private"
],
"default": "missing",
"type": "string"
},
"tinCountry": {
"maxLength": 2,
"type": [
"string",
"null"
]
},
"tin": {
"maxLength": 32,
"type": [
"string",
"null"
]
},
"bankAccount": {
"type": "string",
"format": "iri-reference"
},
"amountNet": {
"type": "number"
},
"amount": {
"type": "number"
},
"currency": {
"type": [
"string",
"null"
],
"format": "iri-reference"
},
"conversionRate": {
"type": [
"number",
"null"
]
},
"generatedPdfExternalId": {
"type": [
"string",
"null"
]
},
"issueDate": {
"type": "string",
"format": "date-time"
},
"saleDate": {
"type": "string",
"format": "date-time"
},
"dueDate": {
"type": "string",
"format": "date-time"
},
"targetAmount": {
"type": [
"number",
"null"
]
},
"paymentMethod": {
"default": "Bank wire",
"type": "string"
},
"paidInAdvance": {
"type": "boolean"
},
"notes": {
"type": [
"string",
"null"
]
},
"correctionReason": {
"type": [
"string",
"null"
]
},
"typKorekty": {
"enum": [
"1",
"2",
"3"
],
"description": "KSeF TypKorekty chosen when the correction is built (#9704); see EInvoicingInvoicePayloadBuilder::resolveTypKorekty().",
"type": [
"string",
"null"
]
},
"invoiceRows": {
"type": "array",
"items": {
"$ref": "#/$defs/InvoiceRow.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due"
}
},
"eInvoicing": {
"anyOf": [
{
"$ref": "#/$defs/InvoiceEInvoicing.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due"
},
{
"type": "null"
}
]
},
"invoiceTransactions": {
"type": "array",
"items": {
"$ref": "#/$defs/InvoiceTransaction.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due"
}
},
"internalComment": {
"type": "string"
},
"collectionsExcludedAt": {
"readOnly": true,
"description": "When this invoice was taken out of the collections population, or null.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"collectionsExcludedReason": {
"readOnly": true,
"description": "Why, verbatim, with no default. Required whenever the timestamp is set —\nenforced by {@see self::excludeFromCollections()} being the only way to\nset either, rather than by a NOT NULL on a live table.",
"type": [
"string",
"null"
]
},
"conversionRateTable": {
"readOnly": true,
"type": [
"string",
"null"
]
},
"conversionRateDate": {
"readOnly": true,
"type": [
"string",
"null"
],
"format": "date-time"
},
"eInvoicingPlannedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"accountantDocumentNumber": {
"description": "Accountant's reconciliation: the journal or register reference the accountant booked this document under, e.g. 00023/FS/26.",
"type": [
"string",
"null"
]
},
"bookedAt": {
"description": "Accountant's reconciliation: the posting date in the accountant's books.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"vatPeriod": {
"description": "Accountant's reconciliation: the month whose JPK_V7M carries this document, YYYY-MM. Null when the document is outside VAT or not booked yet. Cannot be after the current month. The closed VAT periods run from the earliest to the latest month any document carries.",
"type": [
"string",
"null"
]
},
"citPeriod": {
"description": "Accountant's reconciliation: the month (YYYY-MM) or quarter (YYYY-Qn) the revenue or cost was recognised in for CIT.",
"type": [
"string",
"null"
]
},
"bookedNetPln": {
"description": "Accountant's reconciliation: the net amount as booked, in PLN, as a decimal string such as \"1234.56\" (not a JSON number).",
"type": [
"string",
"null"
]
},
"bookedVatPln": {
"description": "Accountant's reconciliation: the VAT amount as booked, in PLN, as a decimal string such as \"283.95\" (not a JSON number).",
"type": [
"string",
"null"
]
},
"bookedGrossPln": {
"description": "Accountant's reconciliation: the gross amount as booked, in PLN, as a decimal string such as \"1518.51\" (not a JSON number).",
"type": [
"string",
"null"
]
},
"reconciliationStatus": {
"description": "Accountant's reconciliation: unbooked, booked, mismatch or excluded. A document nobody reconciled reads unbooked. An unbooked document dated in a closed VAT period is reported as the problem_unreconciled entry of detectedProblems.",
"type": [
"string",
"null"
]
},
"reconciledAt": {
"description": "Accountant's reconciliation: when the document was last reconciled against the accountant's books.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"reconciliationNote": {
"description": "Accountant's reconciliation: a free-text note, e.g. what a mismatch is.",
"type": [
"string",
"null"
]
},
"targetAmountNet": {
"readOnly": true,
"description": "Null when no stored rate prices it; see IncomeFxParityClassifier::netInOrgCurrency() (#4279).",
"type": [
"number",
"null"
]
},
"correctedAmount": {
"readOnly": true,
"description": "The gross amount still claimed by this invoice AFTER any correcting\ninvoices (faktury korygujące) — what a collections view may state the\nclient owes, rather than what the document said before it was corrected.",
"type": [
"number",
"null"
]
},
"amountDue": {
"readOnly": true,
"description": "What the client still owes on this invoice: the corrected gross MINUS any\nset-off (kompensata) declared against it (#5496) MINUS what has been paid\nagainst it (#5497).",
"type": [
"number",
"null"
]
},
"amountSetOff": {
"readOnly": true,
"description": "The receivable side of every EFFECTIVE declaration naming this invoice.",
"type": "number"
},
"status": {
"readOnly": true,
"type": "string"
}
},
"required": [
"name",
"type",
"client",
"tinType",
"bankAccount",
"amount",
"issueDate",
"saleDate",
"dueDate"
]
},
"InvoiceEInvoicing.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due": {
"type": "object",
"description": "",
"deprecated": false,
"properties": {
"@context": {
"readOnly": true,
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"@vocab": {
"type": "string"
},
"hydra": {
"type": "string",
"enum": [
"http://www.w3.org/ns/hydra/core#"
]
}
},
"required": [
"@vocab",
"hydra"
],
"additionalProperties": true
}
]
},
"@id": {
"readOnly": true,
"type": "string"
},
"@type": {
"readOnly": true,
"type": "string"
},
"id": {
"readOnly": true,
"type": "integer"
},
"provider": {
"default": "ksef",
"type": "string"
},
"status": {
"default": "QUEUED",
"type": "string"
},
"referenceNumber": {
"type": [
"string",
"null"
]
},
"documentId": {
"type": [
"string",
"null"
]
},
"acquisitionTimestamp": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"upoUrl": {
"type": [
"string",
"null"
]
},
"verificationLink": {
"type": [
"string",
"null"
]
},
"rejectionReason": {
"type": [
"string",
"null"
]
},
"providerPayload": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"einvoicingNumber": {
"readOnly": true,
"type": [
"string",
"null"
]
}
}
},
"InvoiceRow.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due": {
"type": "object",
"description": "",
"deprecated": false,
"properties": {
"@context": {
"readOnly": true,
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"@vocab": {
"type": "string"
},
"hydra": {
"type": "string",
"enum": [
"http://www.w3.org/ns/hydra/core#"
]
}
},
"required": [
"@vocab",
"hydra"
],
"additionalProperties": true
}
]
},
"@id": {
"readOnly": true,
"type": "string"
},
"@type": {
"readOnly": true,
"type": "string"
},
"id": {
"description": "The row to update. Send it to patch this row IN PLACE; omit it and the invoice replaces its whole row set, which orphans anything keyed to a row id (tags, per-row project allocations). Required by the e-invoicing hatch, which admits only {id, project} per row on an accepted invoice.",
"type": "integer"
},
"classificationNumber": {
"maxLength": 10,
"type": [
"string",
"null"
]
},
"unit": {
"maxLength": 30,
"type": [
"string",
"null"
]
},
"quantity": {
"type": "number"
},
"vatRate": {
"maxLength": 5,
"type": "string"
},
"netPrice": {
"default": "0.0",
"type": "string"
},
"netDiscountAmount": {
"default": "0.0",
"type": [
"string",
"null"
]
},
"productName": {
"maxLength": 512,
"type": "string"
},
"project": {
"type": [
"string",
"null"
],
"format": "iri-reference"
},
"projectAllocations": {
"description": "How this row's money is split across projects for BUDGETING, when one\nproject is not the whole answer (#6610).",
"type": "array",
"items": {
"$ref": "#/$defs/InvoiceRowProjectAllocation.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due"
}
},
"parentInvoiceRow": {
"anyOf": [
{
"$ref": "#/$defs/InvoiceRow.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due"
},
{
"type": "null"
}
]
},
"invoiceChildrenRows": {
"readOnly": true,
"type": "array",
"items": {
"$ref": "#/$defs/InvoiceRow.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due"
}
},
"product": {
"description": "The catalog product this row sold, when it sold one. NULL on every row that exists today\nand on every row written by a non-POS screen — and a NULL product means this row moves no\nstock at all, which is exactly today's behaviour.",
"type": [
"string",
"null"
],
"format": "iri-reference"
},
"periodFrom": {
"description": "The days this row bills for, both inclusive (#7537). The draft builder computes them per\nrow and, until this, threw them away, so nothing could answer \"has this booking's coverage\nalready been invoiced?\". NULL on every row written before this and on any row a client\nposts without them: absence means \"not recorded\", never \"covers nothing\".",
"type": [
"string",
"null"
],
"format": "date-time"
},
"periodTo": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"propertyBooking": {
"description": "The booking this row was derived from, when it was derived from exactly one (#7537). A row\npooled from several assets has none: naming one of them would be a guess.",
"type": [
"string",
"null"
],
"format": "iri-reference"
},
"priceBasis": {
"enum": [
"net",
"gross"
],
"default": "net",
"type": "string"
},
"grossPrice": {
"description": "The tax-INCLUSIVE unit price — the number on the price tag. Set only on a 'gross' row,\nwhere it is the authority; NULL on every 'net' row.",
"type": [
"string",
"null"
]
}
},
"required": [
"unit",
"quantity",
"vatRate",
"netPrice",
"productName"
]
},
"InvoiceRowProjectAllocation.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due": {
"type": "object",
"description": "",
"deprecated": false,
"properties": {
"@context": {
"readOnly": true,
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"@vocab": {
"type": "string"
},
"hydra": {
"type": "string",
"enum": [
"http://www.w3.org/ns/hydra/core#"
]
}
},
"required": [
"@vocab",
"hydra"
],
"additionalProperties": true
}
]
},
"@id": {
"readOnly": true,
"type": "string"
},
"@type": {
"readOnly": true,
"type": "string"
},
"id": {
"readOnly": true,
"type": "integer"
},
"project": {
"description": "`ON DELETE RESTRICT`, matching {@see \\App\\Entity\\Project\\ProjectTransactionAttachment}:\nan allocation is a financial attribution, so a project holding one is not\nsilently deletable. `DeleteGuard` derives its relation set from Doctrine\nmetadata (#3285), so this mapping is what makes the API refuse with the\nrelation named instead of letting the driver raise a constraint error.",
"type": "string",
"format": "iri-reference"
},
"share": {
"pattern": "^(.*\\A\\d+(?:\\.\\d{1,8})?\\z.*)$",
"description": "The fraction of the row this project carries, `(0, 1]`.",
"type": "string"
}
},
"required": [
"project",
"share"
]
},
"InvoiceTransaction.jsonld-invoice.read_invoice_row.read_invoice_transaction.read_invoice.amount_due": {
"type": "object",
"description": "",
"deprecated": false,
"properties": {
"@context": {
"readOnly": true,
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"@vocab": {
"type": "string"
},
"hydra": {
"type": "string",
"enum": [
"http://www.w3.org/ns/hydra/core#"
]
}
# --- truncated at 32 KB (34 KB total) ---
# Full source: https://artifacts.apis.io/flowtly-fr/json-schema/flowtly-fr-overdue-unchased-invoice-resource-invoice-jsonld-invoice-read-invoice-row-read-invoice-transaction-read-invoice-amount-due-schema.json
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/flowtly-fr-overdue-unchased-invoice-resource-invoice-jsonld-invoice-read-invoice-row-read-invoice-transaction-read-invoice-amount-due"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.