{
  "invoiceId": "invoice-demo-001",
  "creditNoteResolutionId": "credit-resolution-demo-001",
  "discrepancyResponseCode": 1,
  "discrepancyResponseDescription": "Devolución de servicio (ejemplo sintético)",
  "selectedItems": [
    {
      "patientConsecutivo": 1,
      "includeAllServices": false,
      "selectedServices": [
        {
          "serviceCategory": "consultas",
          "serviceConsecutivo": 1
        }
      ]
    }
  ],
  "creditNotePayload": {
    "credit_note_lines": [
      {
        "description": "Consulta de medicina general (ejemplo sintético)",
        "code": "890201",
        "invoiced_quantity": "1",
        "price_amount": "100000.00",
        "line_extension_amount": "100000.00"
      }
    ],
    "legal_monetary_totals": {
      "line_extension_amount": "100000.00",
      "tax_exclusive_amount": "100000.00",
      "tax_inclusive_amount": "100000.00",
      "payable_amount": "100000.00"
    }
  }
}
