NOTA DE CRÉDITO SIN EXTERNAL ID - FACTURA
POST/api/documents
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:
FC01numero_documentostringrequired
Example:
#fecha_de_emisiondaterequired
Example:
2024-11-05hora_de_emisiontime
Example:
10:11:11codigo_tipo_documentostringrequired
Example:
07codigo_tipo_notastring
Example:
01motivo_o_sustento_de_notastring
Example:
Error al emitir comprobantecodigo_tipo_monedastring
Example:
PENnumero_orden_de_comprastring
Example:
0045467898documento_afectado
object
serie_documentostring
Example:
F001numero_documentostring
Example:
190codigo_tipo_documentostring
Example:
01datos_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:
unidad_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:
118acciones
object
formato_pdfstring
Example:
a4Body
required
- JSON A ENVIAR
Array [
]
serie_documentostringrequired
Example:
FC01numero_documentostringrequired
Example:
#fecha_de_emisiondaterequired
Example:
2024-11-05hora_de_emisiontime
Example:
10:11:11codigo_tipo_documentostringrequired
Example:
07codigo_tipo_notastring
Example:
01motivo_o_sustento_de_notastring
Example:
Error al emitir comprobantecodigo_tipo_monedastring
Example:
PENnumero_orden_de_comprastring
Example:
0045467898documento_afectado
object
serie_documentostring
Example:
F001numero_documentostring
Example:
190codigo_tipo_documentostring
Example:
01datos_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:
unidad_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:
118acciones
object
formato_pdfstring
Example:
a4Body
required
- JSON A ENVIAR
Array [
]
serie_documentostringrequired
Example:
FC01numero_documentostringrequired
Example:
#fecha_de_emisiondaterequired
Example:
2024-11-05hora_de_emisiontime
Example:
10:11:11codigo_tipo_documentostringrequired
Example:
07codigo_tipo_notastring
Example:
01motivo_o_sustento_de_notastring
Example:
Error al emitir comprobantecodigo_tipo_monedastring
Example:
PENnumero_orden_de_comprastring
Example:
0045467898documento_afectado
object
serie_documentostring
Example:
F001numero_documentostring
Example:
190codigo_tipo_documentostring
Example:
01datos_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:
unidad_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:
118acciones
object
formato_pdfstring
Example:
a4Responses
- 200
- 400
- 422
JSON RESPUESTA
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
successboolean
Example:
truedata
object
numberstring
Example:
FC01-9filenamestring
Example:
11111111111-07-FC01-9external_idstring
Example:
a1dd8443-8c03-48f4-98f3-fb69fb5fe565state_type_idstring
Example:
05state_type_descriptionstring
Example:
Aceptadonumber_to_letterstring
Example:
Ciento dieciocho con 00/100hashstring
Example:
Qiyl7YgN/7ZxigWWQL+uf8198KI=qrstring
Example:
iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAIAAACzY+a1AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4AQCbgGR/Af///wAAAMPNxEJsyosTAAAAAElFTkSuQmCCidinteger
Example:
562print_ticketstring
Example:
https://empresa1.demo3pro6.ibu.pe/print/document/a1dd8443-8c03-48f4-98f3-fb69fb5fe565/ticketlinks
object
xmlstring
Example:
https://empresa1.demo3pro6.ibu.pe/downloads/document/xml/a1dd8443-8c03-48f4-98f3-fb69fb5fe565pdfstring
Example:
https://empresa1.demo3pro6.ibu.pe/downloads/document/pdf/a1dd8443-8c03-48f4-98f3-fb69fb5fe565cdrstring
Example:
https://empresa1.demo3pro6.ibu.pe/downloads/document/cdr/a1dd8443-8c03-48f4-98f3-fb69fb5fe565response
object
codestring
Example:
0descriptionstring
Example:
La Nota de Credito numero FC01-9, ha sido aceptadanotesarray
Example:
[]ResponseSamples component placeholder
- Schema
- Example (from schema)
Schema
successboolean
Example:
truedata
object
numberstring
Example:
FC01-9filenamestring
Example:
11111111111-07-FC01-9external_idstring
Example:
a1dd8443-8c03-48f4-98f3-fb69fb5fe565state_type_idstring
Example:
05state_type_descriptionstring
Example:
Aceptadonumber_to_letterstring
Example:
Ciento dieciocho con 00/100hashstring
Example:
Qiyl7YgN/7ZxigWWQL+uf8198KI=qrstring
Example:
iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAIAAACzY+a1AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4AQCbgGR/Af///wAAAMPNxEJsyosTAAAAAElFTkSuQmCCidinteger
Example:
562print_ticketstring
Example:
https://empresa1.demo3pro6.ibu.pe/print/document/a1dd8443-8c03-48f4-98f3-fb69fb5fe565/ticketlinks
object
xmlstring
Example:
https://empresa1.demo3pro6.ibu.pe/downloads/document/xml/a1dd8443-8c03-48f4-98f3-fb69fb5fe565pdfstring
Example:
https://empresa1.demo3pro6.ibu.pe/downloads/document/pdf/a1dd8443-8c03-48f4-98f3-fb69fb5fe565cdrstring
Example:
https://empresa1.demo3pro6.ibu.pe/downloads/document/cdr/a1dd8443-8c03-48f4-98f3-fb69fb5fe565response
object
codestring
Example:
0descriptionstring
Example:
La Nota de Credito numero FC01-9, ha sido aceptadanotesarray
Example:
[]ResponseSamples component placeholder
Invalid input
Validation exception