NOTA DÉBITO - FACTURA
POST/api/documents
Una de estas formas es la nota de débito y se utiliza cuando un comprador quiere informar a un vendedor de que ha aumentado el precio de su deuda o que la cantidad que había pagado era errónea y debe pagar más.
Ejemplo:
- Método: POST
- URL: https://empresa1.demo3pro6.ibu.pe/api/documents
- TOKEN: HOHYgwd4atPalTxqi2IIspythpLAU7eP239oByfjk9VuveiOpfUTm4Yg0Szt
Request
- application/json
- application/xml
- application/x-www-form-urlencoded
Body
required
- JSON A ENVIAR
Array [
]
serie_documentostringrequired
Example:
FD01numero_documentostringrequired
Example:
#fecha_de_emisiondaterequired
Example:
2024-11-05hora_de_emisiontime
Example:
10:11:11codigo_tipo_documentostringrequired
Example:
08codigo_tipo_notastring
Example:
01motivo_o_sustento_de_notastring
Example:
Error al emitir comprobantecodigo_tipo_monedastring
Example:
PENnumero_orden_de_comprastring
Example:
0045467898documento_afectado
object
external_idstring
Example:
a7d75ecc-061d-46f6-8ee4-2521a5bbec1ddatos_del_cliente_o_receptor
object
codigo_tipo_documento_identidadstring
Example:
6numero_documentostring
Example:
10414711225apellidos_y_nombres_o_razon_socialstring
Example:
EMPRESA XYZ S.A.codigo_paisstring
Example:
PEubigeostring
Example:
150101direccionstring
Example:
Av. 2 de Mayocorreo_electronicostring
Example:
demo@gmail.comtelefonostring
Example:
427-1148totales
object
total_exportacionfloat
Example:
0total_operaciones_gravadasfloat
Example:
100total_operaciones_inafectasfloat
Example:
0total_operaciones_exoneradasfloat
Example:
0total_operaciones_gratuitasfloat
Example:
0total_igvfloat
Example:
18total_impuestosfloat
Example:
18total_valorfloat
Example:
100total_ventafloat
Example:
118items
object[]
codigo_internostring
Example:
P0121descripcionstring
Example:
Inca Kola 250 mlcodigo_producto_sunatstring
Example:
51121703unidad_de_medidastring
Example:
NIUcantidadint32
Example:
2valor_unitariofloat
Example:
50codigo_tipo_preciostring
Example:
01precio_unitariofloat
Example:
59codigo_tipo_afectacion_igvstring
Example:
10total_base_igvfloat
Example:
100porcentaje_igvfloat
Example:
18total_igvfloat
Example:
18total_impuestosfloat
Example:
18total_valor_itemfloat
Example:
100total_itemfloat
Example:
118Body
required
- JSON A ENVIAR
Array [
]
serie_documentostringrequired
Example:
FD01numero_documentostringrequired
Example:
#fecha_de_emisiondaterequired
Example:
2024-11-05hora_de_emisiontime
Example:
10:11:11codigo_tipo_documentostringrequired
Example:
08codigo_tipo_notastring
Example:
01motivo_o_sustento_de_notastring
Example:
Error al emitir comprobantecodigo_tipo_monedastring
Example:
PENnumero_orden_de_comprastring
Example:
0045467898documento_afectado
object
external_idstring
Example:
a7d75ecc-061d-46f6-8ee4-2521a5bbec1ddatos_del_cliente_o_receptor
object
codigo_tipo_documento_identidadstring
Example:
6numero_documentostring
Example:
10414711225apellidos_y_nombres_o_razon_socialstring
Example:
EMPRESA XYZ S.A.codigo_paisstring
Example:
PEubigeostring
Example:
150101direccionstring
Example:
Av. 2 de Mayocorreo_electronicostring
Example:
demo@gmail.comtelefonostring
Example:
427-1148totales
object
total_exportacionfloat
Example:
0total_operaciones_gravadasfloat
Example:
100total_operaciones_inafectasfloat
Example:
0total_operaciones_exoneradasfloat
Example:
0total_operaciones_gratuitasfloat
Example:
0total_igvfloat
Example:
18total_impuestosfloat
Example:
18total_valorfloat
Example:
100total_ventafloat
Example:
118items
object[]
codigo_internostring
Example:
P0121descripcionstring
Example:
Inca Kola 250 mlcodigo_producto_sunatstring
Example:
51121703unidad_de_medidastring
Example:
NIUcantidadint32
Example:
2valor_unitariofloat
Example:
50codigo_tipo_preciostring
Example:
01precio_unitariofloat
Example:
59codigo_tipo_afectacion_igvstring
Example:
10total_base_igvfloat
Example:
100porcentaje_igvfloat
Example:
18total_igvfloat
Example:
18total_impuestosfloat
Example:
18total_valor_itemfloat
Example:
100total_itemfloat
Example:
118Body
required
- JSON A ENVIAR
Array [
]
serie_documentostringrequired
Example:
FD01numero_documentostringrequired
Example:
#fecha_de_emisiondaterequired
Example:
2024-11-05hora_de_emisiontime
Example:
10:11:11codigo_tipo_documentostringrequired
Example:
08codigo_tipo_notastring
Example:
01motivo_o_sustento_de_notastring
Example:
Error al emitir comprobantecodigo_tipo_monedastring
Example:
PENnumero_orden_de_comprastring
Example:
0045467898documento_afectado
object
external_idstring
Example:
a7d75ecc-061d-46f6-8ee4-2521a5bbec1ddatos_del_cliente_o_receptor
object
codigo_tipo_documento_identidadstring
Example:
6numero_documentostring
Example:
10414711225apellidos_y_nombres_o_razon_socialstring
Example:
EMPRESA XYZ S.A.codigo_paisstring
Example:
PEubigeostring
Example:
150101direccionstring
Example:
Av. 2 de Mayocorreo_electronicostring
Example:
demo@gmail.comtelefonostring
Example:
427-1148totales
object
total_exportacionfloat
Example:
0total_operaciones_gravadasfloat
Example:
100total_operaciones_inafectasfloat
Example:
0total_operaciones_exoneradasfloat
Example:
0total_operaciones_gratuitasfloat
Example:
0total_igvfloat
Example:
18total_impuestosfloat
Example:
18total_valorfloat
Example:
100total_ventafloat
Example:
118items
object[]
codigo_internostring
Example:
P0121descripcionstring
Example:
Inca Kola 250 mlcodigo_producto_sunatstring
Example:
51121703unidad_de_medidastring
Example:
NIUcantidadint32
Example:
2valor_unitariofloat
Example:
50codigo_tipo_preciostring
Example:
01precio_unitariofloat
Example:
59codigo_tipo_afectacion_igvstring
Example:
10total_base_igvfloat
Example:
100porcentaje_igvfloat
Example:
18total_igvfloat
Example:
18total_impuestosfloat
Example:
18total_valor_itemfloat
Example:
100total_itemfloat
Example:
118Responses
- 200
- 400
- 422
JSON RESPUESTA
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
successboolean
Example:
truedata
object
numberstring
Example:
FD01-1filenamestring
Example:
11111111111-08-FD01-1external_idstring
Example:
0128f958-b41b-4d21-ae91-6a7a7e2cecc1state_type_idstring
Example:
05state_type_descriptionstring
Example:
Aceptadonumber_to_letterstring
Example:
Ciento dieciocho con 00/100hashstring
Example:
zadRmfbphEVuiZqm69dR2VyCHSc=qrstring
Example:
iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAIAAACzY+a1AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4AQCbgGR/Af///wAAAMPNxEJsyosTAAAAAElFTkSuQmCCidinteger
Example:
559print_ticketstring
Example:
https://empresa1.demo3pro6.ibu.pe/print/document/0128f958-b41b-4d21-ae91-6a7a7e2cecc1/ticketlinks
object
xmlstring
Example:
https://empresa1.demo3pro6.ibu.pe/downloads/document/xml/0128f958-b41b-4d21-ae91-6a7a7e2cecc1pdfstring
Example:
https://empresa1.demo3pro6.ibu.pe/downloads/document/pdf/0128f958-b41b-4d21-ae91-6a7a7e2cecc1cdrstring
Example:
https://empresa1.demo3pro6.ibu.pe/downloads/document/cdr/0128f958-b41b-4d21-ae91-6a7a7e2cecc1response
object
codestring
Example:
0descriptionstring
Example:
La Nota de Debito numero FD01-1, ha sido aceptadanotesundefined[]
ResponseSamples component placeholder
- Schema
- Example (from schema)
Schema
successboolean
Example:
truedata
object
numberstring
Example:
FD01-1filenamestring
Example:
11111111111-08-FD01-1external_idstring
Example:
0128f958-b41b-4d21-ae91-6a7a7e2cecc1state_type_idstring
Example:
05state_type_descriptionstring
Example:
Aceptadonumber_to_letterstring
Example:
Ciento dieciocho con 00/100hashstring
Example:
zadRmfbphEVuiZqm69dR2VyCHSc=qrstring
Example:
iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAIAAACzY+a1AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4AQCbgGR/Af///wAAAMPNxEJsyosTAAAAAElFTkSuQmCCidinteger
Example:
559print_ticketstring
Example:
https://empresa1.demo3pro6.ibu.pe/print/document/0128f958-b41b-4d21-ae91-6a7a7e2cecc1/ticketlinks
object
xmlstring
Example:
https://empresa1.demo3pro6.ibu.pe/downloads/document/xml/0128f958-b41b-4d21-ae91-6a7a7e2cecc1pdfstring
Example:
https://empresa1.demo3pro6.ibu.pe/downloads/document/pdf/0128f958-b41b-4d21-ae91-6a7a7e2cecc1cdrstring
Example:
https://empresa1.demo3pro6.ibu.pe/downloads/document/cdr/0128f958-b41b-4d21-ae91-6a7a7e2cecc1response
object
codestring
Example:
0descriptionstring
Example:
La Nota de Debito numero FD01-1, ha sido aceptadanotesundefined[]
ResponseSamples component placeholder
Invalid input
Validation exception