{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/payer/main/json-schema/payer-post-api-v2-orders-invoices-invoiceid-request-schema.json",
  "title": "PostApiV2OrdersInvoicesInvoiceidRequest",
  "x-generated": "2026-10-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/payer-openapi-generated.yml#/components/schemas/PostApiV2OrdersInvoicesInvoiceidRequest",
  "type": "object",
  "properties": {
    "amount": {
      "type": "integer",
      "description": "Amount to pay."
    },
    "creditInvoiceNumber": {
      "type": "integer",
      "description": "Credit invoice number."
    },
    "toPayInvoiceAggregationId": {
      "type": "string",
      "description": "Monthly invoice statement ID."
    },
    "toPayInvoiceNumber": {
      "type": "integer",
      "description": "Invoice number to pay."
    }
  },
  "required": [
    "amount",
    "creditInvoiceNumber"
  ]
}