Nota de Crédito a Factura
Método POST
Tipo: Bearer token
Token: token de la empresa
POSThttps://dev.factpro.la/api/v2/documentos
JSON A ENVIAR |
{
"tipo_documento": "07",
"serie": "FC04",
"numero": "#",
"tipo_operacion": "0101",
"fecha_de_emision": "2024-06-24",
"hora_de_emision": "",
"moneda": "PEN",
"porcentaje_de_venta": 18.00,
"fecha_de_vencimiento": "",
"enviar_automaticamente_al_cliente": true,
"codigo_tipo_nota": "01",
"motivo_o_sustento_de_nota": "Error al emitir comprobante",
"documento_afectado": {
"serie": "F004",
"numero": "28",
"tipo_de_comprobante": "01",
},
"datos_del_emisor": {
"codigo_establecimiento": "0000"
},
"cliente": {
"cliente_tipo_documento": "6",
"cliente_numero_documento": "20608790803",
"cliente_denominacion": "AYNICORP-PERÚ E.I.R.L",
"codigo_pais": "",
"ubigeo": "",
"cliente_direccion": "Av.",
"cliente_email": "",
"cliente_telefono": ""
},
"totales": {
"total_exportacion": 0.00,
"total_gravadas": 100.00,
"total_inafectas": 0.00,
"total_exoneradas": 0.00,
"total_gratuitas": 0.00,
"total_tax": 18.00,
"total_venta": 118
},
"items": [
{
"unidad": "NIU",
"codigo": "",
"descripcion": "MacbookPro",
"codigo_producto_sunat": "",
"codigo_producto_gsl": "",
"cantidad": 1,
"valor_unitario": 100,
"precio_unitario": 118,
"tipo_tax": "10",
"total_base_tax": 100.00,
"total_tax": 18,
"total": 118
}
],
"acciones": {
"formato_pdf": "a4"
},
"termino_de_pago": {
"descripcion": "Contado",
"tipo": "0"
},
"metodo_de_pago": "",
"canal_de_venta": "",
"orden_de_compra": "",
"almacen": "",
"observaciones": ""
}
JSON RESPUESTA |
{
"success": true,
"data": {
"number": "FC04-2",
"filename": "20609753120-07-FC04-2",
"external_id": "30ddcda5-1ad6-4d37-af60-23",
"number_to_letter": "Ciento dieciocho con 00/100 Soles",
"hash": "23232323443434=",
"qr": "23+23//5e3hwLBAlG5Qw4T7zTvHW1LVjIgJVGUfPv8/PyAZH5d3QBwQcJ4kDA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/MVUdF36a5jZcxZv9cZYz8vCZFs7ncECeNBwnis7xdaLzaOWugeanDEOUtyZXvX1rgBK4wHCeOxlny76Euvopstnv9XkXpr6oozXD+zpgYrjAcJ47GyuUWc7JjnJfQNjiQTf7vzFxGdeUeQMB4kjMf6fuFWfEGpud5DNMhwWW/8ym4sEvLfESSMx3KkDk5A2TkDqzvDcbJjnMd0sMJ4kDCeyxzpHcdlHa/UERbx7soy6iC9cQBWGA8SxoOE8Vh94fPybna3LDmpLoNWHStZ2RF9BCuMBwnjsT5+t8tgi2iNGAcZbBEdnHdT40w5sMJ4kDCey7K5YQusMB4kjAcJ40HCeJAwHiSMBwnjQcJ4kDAeJIwHCeNBwniQMJ4/eUi+S6AQBWoAAAAASUVORK5CYII=",
"state_type_id": "05",
"state_description": "Aceptado"
},
"links": {
"xml": "https://factpro.pe/downloads/document/20609753120/xml/34-34-4d37-af60-7bb8b0107689",
"cdr": "https://factpro.pe/downloads/document/20609753120/cdr/34-1ad6-4d37-af60-7bb8b0107689",
"pdf": "https://cpe.factpro.la/documents/66563b5275834c6f00656a07/print/pdf/34?type=a4",
"download_pdf": "https://cpe.factpro.la/documents/34343/download/pdf/6673b9bbca188d5b57ea1988?type=a4",
"pdf_html": "https://cpe.factpro.la/documents/343434/print/6673b9bbca188d5b57ea1988?type=a4"
},
"sunat_information": {
"code": "0",
"description": "La Nota de Crédito numero FC04-2, ha sido aceptado",
"notes": []
}
}
Última actualización