๐Ÿ“„Anular Boleta

Enviรณ de un Resumen Diario para ANULAR un Boleta

POST https://apife-qa.factiliza.com/api/v1/summary/cancel

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Body

{
    "empresa_Ruc": "20138851410",
    "tipo_Doc": "03",
    "serie": "BV01",
    "correlativo": "10",

    "anulacion_Motivo": "Error de impresiรณn",

    "estado_Documento": "0"
}
NameTypeDescription
empresa_Ruc

string

Ruc de la empresa emisora

serie

string

Serie del documento

correlativo

string

Correlativo del documento

anulacion_Motivo

string

Motivo por el cual el documento esta siendo ANULADO

estado_Documento

string

Siempre en 0 para anularlo

Response

{
    "status": 200,
    "success": true,
    "message": "DEMO - La boleta actualizo su estado a anulado y fue enviado a anularse correctamente a la SUNAT!",
    "data": {
        "hash": "XmNAb1wTlBPr8v9bnT+XGDJcytA=",
        "sunatResponse": {
            "success": true,
            "cdrZip": "UEsDBBQAAgAIADN/tlgAAAAAAgAAAAAAAAAGAAAAZHVtbXkvAwBQSwMEFAACAAgAM3+2WKoc20svBAAAHQ0AACAAAABSLTIwMTM4ODUxNDEwLVJDLTIwMjQwNTIyLTM1LnhtbLVXXXObOhB9769gnIfOtJcIiEkchrjj2HGv56Zpajtp2jcFFFstSFQS/sivvyswGBw8jTvTSR7E7tmzu0craex/WMWRsSBCUs4uWvax1TIIC3hI2eyidTcdmp3Wh+4bHwuvlyQRDbAC4JjIhDNJDAhm8qKVCuZxLKn0GI6J9GRCAvq0AXvpY+TJYE5i7K1k6I3YgtOAmE4rD/ewOJChoZItG1mpA+n6PI45u1opwrQK8AmUhCm5JQ0egz8ivQR40EiI/4ywN5sJMsOKNJGGsBVzpRIPoeVyebw8OeZihhzLspB1jgATSjo7KtCS46TE54nkMbi0PQvUC0TYgkQ8IahMAsnLMLKSkcrA2ixNzEJTUeilTFL0KVOG1d4+EyLSarMTjW7q1S6IV/t6tdHDp+tJRlVggYWskoaiwZFGWJjgFUTqzZetrg8T5N1dXpcDIYsxb/DllsrsMFiprj+hM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AAAAmAAAAUi0yMDEzODg1MTQxMC1SQy0yMDI0MDUyMi0zNS54bWxQSwUGAAAAAAIAAgCCAAAAkwQAAAAA",
            "cdrResponse": {
                "id": "RC-20240522-35",
                "code": "0",
                "description": "El Resumen diario RC-20240522-35, ha sido aceptado",
                "notes": []
            }
        }
    }
}

รšltima actualizaciรณn