{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/moderncollections-io/json-schema/moderncollections-io-get-v1-partner-statements-statementid-lines-response-schema.json",
  "title": "GetV1PartnerStatementsStatementidLinesResponse",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/moderncollections-io-openapi-generated.yml#/components/schemas/GetV1PartnerStatementsStatementidLinesResponse",
  "type": "object",
  "properties": {
    "statement_id": {
      "type": "string"
    },
    "document_number": {
      "type": "string"
    },
    "creditor_id": {
      "type": "string"
    },
    "year": {
      "type": "integer"
    },
    "month": {
      "type": "integer"
    },
    "source": {
      "type": "string"
    },
    "period_start": {
      "type": "string"
    },
    "period_end": {
      "type": "string"
    },
    "opening_balance_cents": {
      "type": "integer"
    },
    "closing_balance_cents": {
      "type": "integer"
    },
    "totals": {
      "type": "object",
      "description": "StatementLineTotals"
    },
    "collections": {
      "type": "array",
      "description": "StatementCollectionLine[]"
    },
    "disbursements": {
      "type": "array",
      "description": "StatementDisbursementLine[]"
    },
    "ledger": {
      "type": "array",
      "description": "StatementLedgerLine[]"
    },
    "creditor_name": {
      "type": "string"
    },
    "external_creditor_ref": {
      "type": "string"
    }
  }
}