POST api/v2/Recibo/UploadXmlAndPdf

Request Information

URI Parameters

None.

Body Parameters

UploadXmlAndPdfVM
NameDescriptionTypeAdditional information
sucursal_id

integer

Range: inclusive between 1 and 999999999

recibo_id

integer

None.

fecha_inicial_periodo

date

Required

fecha_final_periodo

date

Required

uuid

string

Required

Min length: 30

xml_data

string

Required

Min length: 50

pdf_bytes

Collection of byte

Required

Request Formats

application/json, text/json

Sample:
{
  "sucursal_id": 1,
  "recibo_id": 2,
  "fecha_inicial_periodo": "2026-09-02T21:13:53.7375627+00:00",
  "fecha_final_periodo": "2026-09-02T21:13:53.7375627+00:00",
  "uuid": "sample string 3",
  "xml_data": "sample string 4",
  "pdf_bytes": "QEA="
}

application/xml, text/xml

Sample:
<UploadXmlAndPdfVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_RecibosMVC.ViewModels">
  <fecha_final_periodo>2026-09-02T21:13:53.7375627+00:00</fecha_final_periodo>
  <fecha_inicial_periodo>2026-09-02T21:13:53.7375627+00:00</fecha_inicial_periodo>
  <pdf_bytes>QEA=</pdf_bytes>
  <recibo_id>2</recibo_id>
  <sucursal_id>1</sucursal_id>
  <uuid>sample string 3</uuid>
  <xml_data>sample string 4</xml_data>
</UploadXmlAndPdfVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.