Flowtly · Schema
Contract-contract.read
CompanyERPInvoicingHuman ResourcesTime TrackingProject ManagementCRMMCP
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| name | string | |
| direction | string | Which way the money flows. A closed set of three: `out`, `in`, and `unknown` for a contract whose direction has not been established — `directionUnverifiedReason` says why. |
| directionUnverifiedReason | stringnull | Why `$direction` is a guess rather than a confirmed value, or null when it is confirmed (#3294). |
| counterparty | object | |
| project | stringnull | |
| currency | string | |
| totalAmount | string | Whole number of 1/10000 units — 11 000,00 is "110000000", NOT "11000.00". |
| currentTotalAmount | string | Whole number of 1/10000 units - 11 000,00 is "110000000", NOT "11000.00". Read-only: the amended total, projected from ContractAmendment. |
| area | stringnull | The area in m2 as AGREED, i.e. before any amendment (#3726). |
| currentArea | stringnull | Projection of the area in force today, written the same way and by the same single writer as `$currentTotalAmount` (#3726, mirroring #3804). |
| dateFrom | stringnull | |
| dateTo | stringnull | |
| cyclic | boolean | Marks the contract as a recurring/ongoing relationship rather than a one-shot deal — e.g. a monthly retainer, ongoing security service, or indefinite tenancy. When true, dateTo is conventionally left |
| billingInterval | string | How often a cyclic contract bills. Null means the cadence has not been stated — it does NOT mean monthly. |
| billingAnchorDay | integer | Day of month the billing period starts, 1-31. Clamped to the last day in shorter months. |
| billingAnchorMonth | integer | Anniversary month for quarterly/annual billing, 1-12. Unused for monthly. |
| amountPerInterval | string | Cost of ONE billing period, as a whole number of 1/10000 units. Distinct from totalAmount, which is the whole contract. |
| activeMonths | array | Calendar months (1-12) this contract bills in. Null means every month. A period whose START month is not listed produces no schedule line. |
| scheduleStartEvent | object | Milestone the schedule starts at instead of `dateFrom` (#6386); see {@see ContractScheduleStart}. RESTRICT rather than SET NULL, because deleting the milestone would otherwise re-point this lease at ` |
| turnoverRatePercent | string | Turnover rent as a percent of the tenant's sales. Used read-only by GET /tenant-turnovers/rent-due against the sales a tenant reported; never billed or stored from. |
| turnoverMinimumAmount | string | Minimum per billing period on a turnover lease, as a whole number of 1/10000 units. Booked by the schedule when amountPerInterval is not stated. |
| serviceChargeCapAmount | string | Service-charge ceiling the lease states, as a whole number of 1/10000 units, per m² per month in the service-charge line's currency. Read by the service-charge statements, for the period month only. |
| serviceChargeCapPeriod | stringnull | The period {@see $serviceChargeCapAmount} applies over, as the lease states it. |
| noDocumentExpected | boolean | "This contract legitimately has no document" (#3854). |
| noProjectExpected | boolean | "This contract is not attributable to a project" (#3854). |
| noPaymentScheduleExpected | boolean | "No payment schedule will ever be entered for this contract" (#3854). |
| notes | stringnull | |
| description | stringnull | |
| signatureEnvelopeId | stringnull | |
| signatureStatus | stringnull | |
| signatureSentAt | stringnull | |
| signatureCompletedAt | stringnull | |
| paymentScheduleLines | array | |
| attachments | array | |
| contractEvents | array | Milestones this contract's tranches hang off. Usually undated at import — see ContractEvent for why that is the normal state, not a gap. |
| assets | array | The asset units this contract leases (#6747). |
| contractTranches | array | Instalments as the contract words them, which is not always convertible into a dated PaymentScheduleLine. See ContractTranche. |
| moneyLines | array | The prices the contract states, one per charge, each with its OWN currency (#3534). |
| clauses | array | The clauses that decide how to INVOICE this contract (#5328). |
| paymentDeadlineDays | integernull | When payment falls due (#3535). Read from prose such as "w terminie 14 dni od dnia doręczenia faktury VAT, z góry" — three separate facts that previously had nowhere to live, so every extracted contra |
| paymentCountedFrom | stringnull | When the payment deadline starts counting. Invoice DELIVERY and invoice ISSUE are deliberately distinct: they are different dates, and the leases in hand bind the former. Null when the contract is sil |
| paymentInAdvance | booleannull | True for "z góry", false for arrears, null when the contract is silent. |
| paymentDayRule | stringnull | A calendar payment rule (#11235): `last_day_of_month`, or `day_of_next_month` with {@see self::$paymentDayOfMonth}. Null when the contract states a plain day count or is silent. The cyclic billing sch |
| paymentDayOfMonth | integernull | The N of `day_of_next_month`; null for every other rule. |
| transactionAttachments | array | Cost-side invoices (AP) linked to this contract — typically populated only on contracts where direction='out'. The UI filters by direction so a revenue contract never accidentally surfaces a Transacti |
| invoices | array | Revenue-side invoices (AR) linked to this contract — typically populated only on contracts where direction='in' (issued invoices to tenants/clients). Same direction-match invariant as transactionAttac |
| amountBasis | string | Where the monthly plan amount comes from. `fixed`: the payment schedule. `trailing_average` (cost contracts only): the live average of the counterparty's incoming invoices over the months before each |
| averageWindowMonths | integer | How many invoice months the average reads, 1-12. Months with no invoice are skipped, not counted as zero. |
| averageFloor | stringnull | The lowest monthly estimate, as a count of 1/10000 units in the contract currency (2 000,00 is "20000000"). Null is no floor. |
| averageProject | stringnull | Optional: only invoices allocated to this project feed the average. |
| averageTagDefinition | stringnull | Optional: only invoices carrying this tag (on the document header) feed the average. |
| version | integernull |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/flowtly-fr/json-schema/flowtly-fr-contract-contract-read-schema.json",
"title": "Contract-contract.read",
"x-generated": "2026-11-27",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/flowtly-fr-openapi.yml#/components/schemas/Contract-contract.read",
"type": "object",
"deprecated": false,
"properties": {
"id": {
"readOnly": true,
"type": "string"
},
"name": {
"maxLength": 255,
"type": "string"
},
"direction": {
"enum": [
"out",
"in",
"unknown"
],
"description": "Which way the money flows. A closed set of three: `out`, `in`, and `unknown`\nfor a contract whose direction has not been established — `directionUnverifiedReason`\nsays why.",
"type": "string"
},
"directionUnverifiedReason": {
"readOnly": true,
"description": "Why `$direction` is a guess rather than a confirmed value, or null when it\nis confirmed (#3294).",
"type": [
"string",
"null"
]
},
"counterparty": {
"anyOf": [
{
"$ref": "#/$defs/Counterparty-contract.read"
},
{
"type": "null"
}
]
},
"project": {
"type": [
"string",
"null"
],
"format": "iri-reference"
},
"currency": {
"type": "string",
"format": "iri-reference"
},
"totalAmount": {
"pattern": "^(.*\\A\\d+\\z.*)$",
"description": "Whole number of 1/10000 units — 11 000,00 is \"110000000\", NOT \"11000.00\".",
"type": "string"
},
"currentTotalAmount": {
"readOnly": true,
"description": "Whole number of 1/10000 units - 11 000,00 is \"110000000\", NOT \"11000.00\". Read-only: the amended total, projected from ContractAmendment.",
"type": "string"
},
"area": {
"description": "The area in m2 as AGREED, i.e. before any amendment (#3726).",
"type": [
"string",
"null"
]
},
"currentArea": {
"readOnly": true,
"description": "Projection of the area in force today, written the same way and by the\nsame single writer as `$currentTotalAmount` (#3726, mirroring #3804).",
"type": [
"string",
"null"
]
},
"dateFrom": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"dateTo": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"cyclic": {
"description": "Marks the contract as a recurring/ongoing relationship rather than a\none-shot deal — e.g. a monthly retainer, ongoing security service, or\nindefinite tenancy. When true, dateTo is conventionally left null\n(open-ended) until the contract is actually terminated.",
"type": "boolean"
},
"billingInterval": {
"description": "How often a cyclic contract bills. Null means the cadence has not been stated — it does NOT mean monthly.",
"type": "string",
"enum": [
"monthly",
"quarterly",
"annual"
]
},
"billingAnchorDay": {
"minimum": 1,
"maximum": 31,
"description": "Day of month the billing period starts, 1-31. Clamped to the last day in shorter months.",
"type": "integer"
},
"billingAnchorMonth": {
"minimum": 1,
"maximum": 12,
"description": "Anniversary month for quarterly/annual billing, 1-12. Unused for monthly.",
"type": "integer"
},
"amountPerInterval": {
"maxLength": 15,
"pattern": "^(.*\\A\\d+\\z.*)$",
"description": "Cost of ONE billing period, as a whole number of 1/10000 units. Distinct from totalAmount, which is the whole contract.",
"type": "string"
},
"activeMonths": {
"minItems": 1,
"description": "Calendar months (1-12) this contract bills in. Null means every month. A period whose START month is not listed produces no schedule line.",
"type": "array",
"items": {
"type": "integer"
}
},
"scheduleStartEvent": {
"description": "Milestone the schedule starts at instead of `dateFrom` (#6386); see {@see ContractScheduleStart}. RESTRICT rather than SET NULL, because deleting the milestone would otherwise re-point this lease at `dateFrom` and silently bill the fit-out months — {@see \\App\\Api\\State\\Budget\\ContractEventDeleteProcessor}.",
"anyOf": [
{
"$ref": "#/$defs/ContractEvent-contract.read"
},
{
"type": "null"
}
]
},
"turnoverRatePercent": {
"description": "Turnover rent as a percent of the tenant's sales. Used read-only by GET /tenant-turnovers/rent-due against the sales a tenant reported; never billed or stored from.",
"type": "string"
},
"turnoverMinimumAmount": {
"maxLength": 15,
"pattern": "^(.*\\A\\d+\\z.*)$",
"description": "Minimum per billing period on a turnover lease, as a whole number of 1/10000 units. Booked by the schedule when amountPerInterval is not stated.",
"type": "string"
},
"serviceChargeCapAmount": {
"pattern": "^(.*\\A\\d+\\z.*)$",
"description": "Service-charge ceiling the lease states, as a whole number of 1/10000 units, per m² per month in the service-charge line's currency. Read by the service-charge statements, for the period month only.",
"type": "string"
},
"serviceChargeCapPeriod": {
"description": "The period {@see $serviceChargeCapAmount} applies over, as the lease states it.",
"type": [
"string",
"null"
],
"enum": [
"month",
"quarter",
"year",
"one_off",
null
]
},
"noDocumentExpected": {
"description": "\"This contract legitimately has no document\" (#3854).",
"type": "boolean"
},
"noProjectExpected": {
"description": "\"This contract is not attributable to a project\" (#3854).",
"type": "boolean"
},
"noPaymentScheduleExpected": {
"description": "\"No payment schedule will ever be entered for this contract\" (#3854).",
"type": "boolean"
},
"notes": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"signatureEnvelopeId": {
"type": [
"string",
"null"
]
},
"signatureStatus": {
"type": [
"string",
"null"
]
},
"signatureSentAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"signatureCompletedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"paymentScheduleLines": {
"type": "array",
"items": {
"$ref": "#/$defs/PaymentScheduleLine-contract.read"
}
},
"attachments": {
"type": "array",
"items": {
"$ref": "#/$defs/ContractAttachment-contract.read"
}
},
"contractEvents": {
"description": "Milestones this contract's tranches hang off. Usually undated at import —\nsee ContractEvent for why that is the normal state, not a gap.",
"type": "array",
"items": {
"$ref": "#/$defs/ContractEvent-contract.read"
}
},
"assets": {
"description": "The asset units this contract leases (#6747).",
"type": "array",
"items": {
"type": "string",
"format": "iri-reference"
}
},
"contractTranches": {
"description": "Instalments as the contract words them, which is not always convertible\ninto a dated PaymentScheduleLine. See ContractTranche.",
"type": "array",
"items": {
"$ref": "#/$defs/ContractTranche-contract.read"
}
},
"moneyLines": {
"description": "The prices the contract states, one per charge, each with its OWN\ncurrency (#3534).",
"type": "array",
"items": {
"$ref": "#/$defs/ContractMoneyLine-contract.read"
}
},
"clauses": {
"description": "The clauses that decide how to INVOICE this contract (#5328).",
"type": "array",
"items": {
"$ref": "#/$defs/ContractClause-contract.read"
}
},
"paymentDeadlineDays": {
"description": "When payment falls due (#3535). Read from prose such as \"w terminie 14\ndni od dnia doręczenia faktury VAT, z góry\" — three separate facts that\npreviously had nowhere to live, so every extracted contract arrived with\nits terms blank and someone retyped them.",
"type": [
"integer",
"null"
]
},
"paymentCountedFrom": {
"enum": [
"invoice_delivery",
"invoice_issue",
"period_start",
"event"
],
"description": "When the payment deadline starts counting. Invoice DELIVERY and invoice ISSUE are\ndeliberately distinct: they are different dates, and the leases in hand bind the\nformer. Null when the contract is silent.",
"type": [
"string",
"null"
]
},
"paymentInAdvance": {
"description": "True for \"z góry\", false for arrears, null when the contract is silent.",
"type": [
"boolean",
"null"
]
},
"paymentDayRule": {
"enum": [
"last_day_of_month",
"day_of_next_month"
],
"description": "A calendar payment rule (#11235): `last_day_of_month`, or `day_of_next_month` with\n{@see self::$paymentDayOfMonth}. Null when the contract states a plain day count or is\nsilent. The cyclic billing schedule moves each generated line onto this date\n({@see \\App\\Service\\Budget\\ContractBillingSchedule}); explicit lines are never moved.",
"type": [
"string",
"null"
]
},
"paymentDayOfMonth": {
"minimum": 1,
"maximum": 31,
"description": "The N of `day_of_next_month`; null for every other rule.",
"type": [
"integer",
"null"
]
},
"transactionAttachments": {
"readOnly": true,
"description": "Cost-side invoices (AP) linked to this contract — typically populated\nonly on contracts where direction='out'. The UI filters by direction\nso a revenue contract never accidentally surfaces a TransactionAttachment.",
"type": "array",
"items": {
"$ref": "#/$defs/TransactionAttachment-contract.read"
}
},
"invoices": {
"readOnly": true,
"description": "Revenue-side invoices (AR) linked to this contract — typically\npopulated only on contracts where direction='in' (issued invoices to\ntenants/clients). Same direction-match invariant as\ntransactionAttachments.",
"type": "array",
"items": {
"$ref": "#/$defs/Invoice-contract.read"
}
},
"amountBasis": {
"default": "fixed",
"type": "string",
"enum": [
"fixed",
"trailing_average"
],
"description": "Where the monthly plan amount comes from. `fixed`: the payment schedule. `trailing_average` (cost contracts only): the live average of the counterparty's incoming invoices over the months before each month; a stored schedule line or a generated cyclic line still wins its month."
},
"averageWindowMonths": {
"minimum": 1,
"maximum": 12,
"default": 3,
"type": "integer",
"description": "How many invoice months the average reads, 1-12. Months with no invoice are skipped, not counted as zero."
},
"averageFloor": {
"pattern": "^(.*\\A\\d+\\z.*)$",
"description": "The lowest monthly estimate, as a count of 1/10000 units in the contract currency (2 000,00 is \"20000000\"). Null is no floor.",
"type": [
"string",
"null"
]
},
"averageProject": {
"description": "Optional: only invoices allocated to this project feed the average.",
"type": [
"string",
"null"
],
"format": "iri-reference"
},
"averageTagDefinition": {
"description": "Optional: only invoices carrying this tag (on the document header) feed the average.",
"type": [
"string",
"null"
],
"format": "iri-reference"
},
"version": {
"readOnly": true,
"type": [
"integer",
"null"
]
}
},
"required": [
"direction"
],
"$defs": {
"ContractAttachment-contract.read": {
"type": "object",
"description": "",
"deprecated": false,
"properties": {
"id": {
"readOnly": true,
"type": "string"
},
"filename": {
"readOnly": true,
"type": "string"
},
"status": {
"readOnly": true,
"default": "pending",
"type": "string",
"enum": [
"pending",
"analyzing",
"analyzed",
"failed",
"stored"
]
},
"kind": {
"default": "contract",
"type": "string",
"enum": [
"contract",
"annex"
]
},
"failureReason": {
"readOnly": true,
"description": "Why the analysis failed, when it did (#3832).",
"type": [
"string",
"null"
],
"enum": [
"document_unreadable",
"document_empty",
"analysis_incomplete",
"service_unavailable",
"not_configured",
"internal_error",
null
]
},
"analysisSummary": {
"readOnly": true,
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"reviewedAt": {
"readOnly": true,
"type": [
"string",
"null"
],
"format": "date-time"
},
"failureRetryable": {
"readOnly": true,
"description": "Whether re-running the analysis on the same document could succeed.",
"type": [
"boolean",
"null"
]
}
}
},
"ContractClause-contract.read": {
"type": "object",
"description": "",
"deprecated": false,
"properties": {
"id": {
"readOnly": true,
"type": "string"
},
"type": {
"description": "The stable key the front renders a translated heading from. Never null:\na clause whose kind is unknown is `Other`, which is a kind.",
"default": "other",
"type": "string",
"enum": [
"fx_conversion",
"indexation",
"service_charge_settlement",
"other"
]
},
"text": {
"description": "The clause verbatim, in the contract's own language. Never translated or paraphrased.",
"type": "string"
},
"sourceReference": {
"description": "Where in the document it says so — \"pkt G\", \"§ 4 ust. 2\".",
"type": [
"string",
"null"
]
},
"source": {
"description": "Read-only over the API, exactly as {@see ContractTranche::$source} is.",
"default": "user",
"type": "string",
"enum": [
"user",
"extracted"
]
}
},
"required": [
"text"
]
},
"ContractEvent-contract.read": {
"type": "object",
"description": "",
"deprecated": false,
"properties": {
"id": {
"readOnly": true,
"type": "string"
},
"label": {
"description": "The contract's own wording, e.g. \"wydanie Lokalu\".",
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"occurredOn": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"plannedOn": {
"description": "The TARGET date the contract states for this milestone (#6369, PR\n#6519 review) — \"najpóźniej 15.05.2026\", \"nie później niż 30.11.2026\" —\nas distinct from `occurredOn`, which means the milestone has ACTUALLY\nhappened and is set by a person, never by extraction.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"kind": {
"description": "Which tenancy-schedule milestone this is, if any (#6692): handover, rent\nstart or service-charge start. Null for every other milestone. The rent\nstart is the one billing reads; see {@see ContractEventKind}.",
"type": [
"string",
"null"
],
"enum": [
"handover",
"rent_start",
"service_charge_start",
null
]
}
}
},
"ContractMoneyLine-contract.read": {
"type": "object",
"description": "",
"deprecated": false,
"properties": {
"id": {
"readOnly": true,
"type": "string"
},
"kind": {
"default": "other",
"type": "string",
"enum": [
"rent",
"service_charge",
"marketing",
"utilities",
"other"
]
},
"subject": {
"description": "What the line is charged for: parking rent is `kind` rent with `subject` parking. Null when the contract does not say. Present, and writable, only when the organisation has property management enabled.",
"type": [
"string",
"null"
],
"enum": [
"office",
"retail",
"warehouse",
"parking",
"storage",
"common_area",
"other"
]
},
"rateAmount": {
"pattern": "^(.*\\A-?\\d+\\z.*)$",
"description": "The rate, not a period total, as a whole number of 1/10000 units: 12,50 EUR per m2 per month is \"125000\", NOT \"12.50\" and not \"1250\". Non-negative, except on an `other` line, where a negative rate is a discount the lease invoice bills as a negative row.",
"type": "string"
},
"currency": {
"description": "Per line, not per contract — the whole point. Non-nullable: a price\nwithout a currency is not a price, and the extractor is expected to fall\nback to the contract's currency rather than store an ambiguous figure.",
"type": "string",
"format": "iri-reference"
},
"unit": {
"maxLength": 64,
"description": "The contract's own wording, verbatim: \"m2/m-c\", \"EURO/m2/miesiac\".",
"type": [
"string",
"null"
]
},
"period": {
"type": [
"string",
"null"
],
"enum": [
"month",
"quarter",
"year",
"one_off"
]
},
"quantity": {
"pattern": "^(.*\\A\\d{1,10}(\\.\\d{1,4})?\\z.*)$",
"description": "The INVOICED area in m2 (up to 4 decimals, non-negative), which is authoritative over the contract area for rent. Null means not measured yet.",
"type": [
"string",
"null"
]
},
"quantityFromContractArea": {
"description": "When true, this line's quantity for a period is the contract's area in force at that period, not the stored `quantity`. Opt-in per line; the stored quantity is kept as the as-signed figure.",
"type": "boolean"
},
"isNet": {
"description": "True for a net figure (\"+ VAT\", \"netto\"), false for gross, null when the\ncontract does not say. Nullable on purpose: defaulting to net would be an\nassumption about tax treatment that the document did not make.",
"type": [
"boolean",
"null"
]
},
"source": {
"default": "user",
"type": "string",
"enum": [
"user",
"extracted"
]
},
"note": {
"maxLength": 255,
"type": [
"string",
"null"
]
},
"isRequiredPart": {
"description": "True when a matched ContractExtractionInstruction's requireAmountFrom\nnames this line as THE required part (#6369, PR #6519 review) — e.g.",
"type": "boolean"
},
"effectiveQuantityNow": {
"readOnly": true,
"description": "The effective quantity TODAY, serialised so the front does not re-derive it.",
"type": [
"string",
"null"
]
}
},
"required": [
"rateAmount",
"currency"
]
},
"ContractTranche-contract.read": {
"type": "object",
"description": "",
"deprecated": false,
"properties": {
"id": {
"readOnly": true,
"type": "string"
},
"sharePercent": {
"description": "Percentage of the contract total, 0-100, when the contract states a share\nrather than a figure. Mutually exclusive with $amount in practice, though\nthe database does not enforce it: a contract that states both is stating\na redundancy, not an error.",
"type": [
"string",
"null"
]
},
"amount": {
"pattern": "^(.*\\A\\d+\\z.*)$",
"description": "Whole number of 1/10000 units - 11 000,00 is \"110000000\", NOT \"11000.00\".",
"type": "string"
},
"triggerDate": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"triggerEvent": {
"anyOf": [
{
"$ref": "#/$defs/ContractEvent-contract.read"
},
{
"type": "null"
}
]
},
"offsetDays": {
"type": "integer"
},
"note": {
"type": [
"string",
"null"
]
},
"triggerDateBasis": {
"description": "Audit trail for `triggerDate`: one short sentence citing where it came\nfrom — \"Data Przekazania (najpóźniej 15.05.2026) + 7 dni\" — so a human\ncan check the model's arithmetic instead of trusting a bare date\n(#6369, PR #6522 review). Null whenever `triggerDate` is null.",
"type": [
"string",
"null"
]
},
"source": {
"default": "user",
"type": "string",
"enum": [
"user",
"extracted"
]
},
"position": {
"type": "integer"
}
}
},
"Counterparty-contract.read": {
"type": "object",
"description": "",
"deprecated": false,
"properties": {
"id": {
"readOnly": true,
"type": "integer"
},
"displayName": {
"readOnly": true,
"type": "string"
}
}
},
"Invoice-contract.read": {
"type": "object",
"description": "",
"deprecated": false,
"properties": {
"id": {
"readOnly": true,
"type": "integer"
},
"name": {
"maxLength": 32,
"type": "string"
},
"amount": {
"type": "number"
},
"saleDate": {
"type": "string",
"format": "date-time"
},
"status": {
"readOnly": true,
"type": "string"
}
},
"required": [
"name",
"amount",
"saleDate"
]
},
"PaymentScheduleLine-contract.read": {
"type": "object",
"description": "",
"deprecated": false,
"properties": {
"id": {
"readOnly": true,
"type": "string"
},
"date": {
"type": "string",
"format": "date-time"
},
"amount": {
"pattern": "^(.*\\A-?\\d+\\z.*)$",
"description": "Whole number of 1/10000 units — 5 000,00 is \"50000000\". NOT a decimal: \"5000.00\" is rejected.",
"type": "string"
},
"currency": {
"description": "Currency IRI of this line's amount, or null for the contract's currency.",
"type": [
"string",
"null"
],
"format": "iri-reference"
},
"note": {
"maxLength": 255,
"description": "Free text against the line — \"due after signature, not yet invoiced\".",
"type": [
"string",
"null"
]
},
"source": {
"default": "user",
"type": "string",
"enum": [
"user",
"extracted"
]
},
"invoice": {
"description": "Inverse side of Invoice.paymentScheduleLine. Read-only — set when the\n\"Create invoice\" button issues an Invoice from this line; the unique\nindex on the owning side guarantees at most one Invoice per line.",
"anyOf": [
{
"$ref": "#/$defs/Invoice-contract.read"
},
{
"type": "null"
}
]
}
},
"required": [
"amount"
]
},
"TransactionAttachment-contract.read": {
"type": "object",
"description": "",
"deprecated": false,
"properties": {
"id": {
"readOnly": true,
"type": "integer"
},
"amount": {
"type": [
"integer",
"null"
]
},
"name": {
"description": "The DISPLAY name — the filename the user uploaded (#3381).",
"type": "string"
},
"invoiceNumber": {
"description": "The purchase document number, when one is known (#3381).",
"type": [
"string",
"null"
]
},
"receivedAt": {
"type": "string",
"format": "date-time"
},
"status": {
"readOnly": true,
"type": "string"
}
}
}
}
}
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
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/flowtly-fr-contract-contract-read"
All schemas
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.