<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

ERROR - 2026-03-04 10:52:36 --> Could not find the language line "type_email_to_reset"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "today"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "shop"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "today_profit"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "promos"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "list_printers"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "add_printer"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "expense_categories"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "site_logs"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "backups"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "front_end"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "shop_settings"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "slider_settings"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "list_pages"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "add_page"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "sms_settings"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "send_sms"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "sms_log"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "due"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "due"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "due"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "ordered"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "due"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "transferring"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "download"
ERROR - 2026-03-04 10:56:06 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 11:15:21 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "today"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "shop"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "due"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "ordered"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "due"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "transferring"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "download"
ERROR - 2026-03-04 11:15:35 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "today"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "shop"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "ordered"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "due"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "transferring"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "download"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 11:15:38 --> Could not find the language line "today"
ERROR - 2026-03-04 11:15:41 --> Could not find the language line "today"
ERROR - 2026-03-04 11:15:59 --> Could not find the language line "today"
ERROR - 2026-03-04 11:15:59 --> ========== DEBUG NCRE ==========
ERROR - 2026-03-04 11:15:59 --> POST COMPLETO: {"invoice_id":"14","items":"[{\"id\":22,\"cantidad\":5,\"precio\":15},{\"id\":21,\"cantidad\":2,\"precio\":5}]","producto_cantidad":{"22":"5.0000","21":"2"},"descuento_ncre":"0","tipo_descuento":"porcentaje","nota_credito_razon":"SE FACTURARON PRODUCTOS DE MAS"}
ERROR - 2026-03-04 11:15:59 --> invoice_id: 14
ERROR - 2026-03-04 11:15:59 --> items: [{"id":22,"cantidad":5,"precio":15},{"id":21,"cantidad":2,"precio":5}]
ERROR - 2026-03-04 11:15:59 --> razon: SE FACTURARON PRODUCTOS DE MAS
ERROR - 2026-03-04 11:15:59 --> ITEMS DECODIFICADOS: [{"id":22,"cantidad":5,"precio":15},{"id":21,"cantidad":2,"precio":5}]
ERROR - 2026-03-04 11:15:59 --> INVOICE_ID RECIBIDO: 14
ERROR - 2026-03-04 11:15:59 --> FACTURA ORIGINAL: {"id":"14","ticket_id":"SALE2026\/02\/0026","branch_id":"1","branch_name":"MACRETO RETALHULEU","client_nit":"37748505","xml_base64":"[encoded data, 20920 characters]","html_base64":"","pdf_base64":"","qr_base64":null,"file_name_suggested":null,"url":null,"issued_at":"2026-02-25 17:21:00","created_at":"2026-02-25 17:24:06","company_id":"3","receptor_nombre":"GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER","receptor_direccion":"CIUDAD","receptor_municipio":"GUATEMALA","receptor_departamento":"GUATEMALA","receptor_pais":"GT","grand_total":"90.00","total_tax":"9.64","total_discount":"0.00","created_by_user_id":"3","serie":"929C10BA","numero":"686048580","qr_url":null,"uuid":"929C10BA-28E4-4544-AEEC-658B7866A1BD","tipo_dte":"FACT","anulada":"NO","fecha_anulacion":null,"motivo_anulacion":null,"acuse_anulacion":null,"anulada_por":null,"ncre":"NO"}
ERROR - 2026-03-04 11:15:59 --> ITEMS PROCESADOS: [{"product_id":22,"product_code":"","product_name":"","quantity":5,"unit_price":15,"taxable_amount":66.964286,"tax_amount":8.035714,"total":75,"discount":0},{"product_id":21,"product_code":"","product_name":"","quantity":2,"unit_price":5,"taxable_amount":8.928571,"tax_amount":1.071429,"total":10,"discount":0}]
ERROR - 2026-03-04 11:15:59 --> NOTA CREDITO DATA: {"reference_no":"NCRE-1772644559","invoice_id":"14","date":"2026-03-04 11:15:59","total":85,"total_tax":9.107143,"total_discount":0,"subTotal":75.892857,"totalAmount":85,"taxes":9.107143,"discounts":0,"note":"SE FACTURARON PRODUCTOS DE MAS","branch_id":"1","branch_name":"MACRETO RETALHULEU","taxID":"37748505","receiverName":"GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER"}
ERROR - 2026-03-04 11:15:59 --> Severity: error --> Exception: Too few arguments to function FelInvoice_model::buildJsonDigifactNotaCredito(), 5 passed in /home/tecnomania/fel.tecnomaniagt.com/ventas/app/controllers/admin/Fel.php on line 446 and exactly 6 expected /home/tecnomania/fel.tecnomaniagt.com/ventas/app/models/admin/FelInvoice_model.php 882
ERROR - 2026-03-04 11:36:51 --> Could not find the language line "today"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "today"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "shop"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "ordered"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "due"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "transferring"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "download"
ERROR - 2026-03-04 11:36:53 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 11:36:54 --> Could not find the language line "today"
ERROR - 2026-03-04 11:36:55 --> Could not find the language line "today"
ERROR - 2026-03-04 11:37:04 --> Could not find the language line "today"
ERROR - 2026-03-04 11:37:04 --> Could not find the language line "today"
ERROR - 2026-03-04 11:37:04 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "IssuedDateTime": "2026-03-04T11:37:04-06:00",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "CF",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": null,
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": "Producto",
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": "Producto",
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "1969-12-31"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "SE FACTURARON PRODUCTOS DE MAS"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A86DC04DFC1",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 11:37:04 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 11:37:04 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 11:37:04 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 11:37:04 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 11:37:04 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 11:37:04 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","IssuedDateTime":"2026-03-04T11:37:04-06:00","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"CF","Name":null,"AddressInfo":{"Address":null,"City":null,"District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":"Producto","Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":"Producto","Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"1969-12-31"},{"Name":"MotivoAjuste","Data":null,"Value":"SE FACTURARON PRODUCTOS DE MAS"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A86DC04DFC1","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 11:37:04 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "IssuedDateTime": "2026-03-04T11:37:04-06:00",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "CF",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": null,
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": "Producto",
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": "Producto",
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "1969-12-31"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "SE FACTURARON PRODUCTOS DE MAS"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A86DC04DFC1",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 11:37:05 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 11:37:05 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 11:37:05 --> FEL RESPONSE (NOTA CREDITO): {"code":0,"message":"Ocurrio un error al convertir el NUC al xml de GT","description":"Error al transformar, No se encuentra el Nombre del Receptor. [Ref ]","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 13:25:55 --> Could not find the language line "today"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "today"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "shop"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "ordered"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "due"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "transferring"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "download"
ERROR - 2026-03-04 13:25:57 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 13:25:58 --> Could not find the language line "today"
ERROR - 2026-03-04 13:26:00 --> Could not find the language line "today"
ERROR - 2026-03-04 13:26:14 --> Could not find the language line "today"
ERROR - 2026-03-04 13:26:14 --> Could not find the language line "today"
ERROR - 2026-03-04 13:26:14 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": "",
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": "",
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "1969-12-31"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "SE FACTURARON PRODUCTOS DE MAS"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A887566809F",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:26:14 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 13:26:14 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 13:26:14 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 13:26:14 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 13:26:14 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 13:26:14 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":null,"AddressInfo":{"Address":null,"City":"01001","District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":"","Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":"","Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"1969-12-31"},{"Name":"MotivoAjuste","Data":null,"Value":"SE FACTURARON PRODUCTOS DE MAS"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A887566809F","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 13:26:14 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": "",
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": "",
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "1969-12-31"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "SE FACTURARON PRODUCTOS DE MAS"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A887566809F",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:26:15 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 13:26:15 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 13:26:15 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 13:36:04 --> Could not find the language line "today"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "today"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "shop"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "ordered"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "due"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "transferring"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "download"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 13:36:06 --> Could not find the language line "today"
ERROR - 2026-03-04 13:36:08 --> Could not find the language line "today"
ERROR - 2026-03-04 13:36:18 --> Could not find the language line "today"
ERROR - 2026-03-04 13:36:18 --> Could not find the language line "today"
ERROR - 2026-03-04 13:36:18 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": "",
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": "",
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A889B26E0BF",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:36:18 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 13:36:18 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 13:36:18 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 13:36:18 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 13:36:18 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 13:36:18 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":null,"AddressInfo":{"Address":null,"City":"01001","District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":"","Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":"","Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A889B26E0BF","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 13:36:18 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": "",
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": "",
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A889B26E0BF",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:36:19 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 13:36:19 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 13:36:19 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 13:37:49 --> Could not find the language line "today"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "today"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "shop"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "ordered"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "due"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "transferring"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "download"
ERROR - 2026-03-04 13:37:50 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 13:37:51 --> Could not find the language line "today"
ERROR - 2026-03-04 13:37:52 --> Could not find the language line "today"
ERROR - 2026-03-04 13:38:04 --> Could not find the language line "today"
ERROR - 2026-03-04 13:38:04 --> Could not find the language line "today"
ERROR - 2026-03-04 13:38:04 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88A1C9E0EF",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:38:04 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 13:38:04 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 13:38:04 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 13:38:04 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 13:38:04 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 13:38:04 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":null,"AddressInfo":{"Address":null,"City":"01001","District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A88A1C9E0EF","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 13:38:04 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88A1C9E0EF",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:38:05 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 13:38:05 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 13:38:05 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 13:41:37 --> Could not find the language line "today"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "today"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "shop"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "ordered"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "due"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "transferring"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "download"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 13:41:39 --> Could not find the language line "today"
ERROR - 2026-03-04 13:41:41 --> Could not find the language line "today"
ERROR - 2026-03-04 13:41:52 --> Could not find the language line "today"
ERROR - 2026-03-04 13:41:52 --> Could not find the language line "today"
ERROR - 2026-03-04 13:41:52 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88B007046A",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:41:52 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 13:41:52 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 13:41:52 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 13:41:52 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 13:41:52 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 13:41:52 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":null,"AddressInfo":{"Address":null,"City":"01001","District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A88B007046A","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 13:41:52 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88B007046A",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:41:53 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 13:41:53 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 13:41:53 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 13:43:00 --> Could not find the language line "today"
ERROR - 2026-03-04 13:43:04 --> Could not find the language line "today"
ERROR - 2026-03-04 13:43:04 --> Could not find the language line "today"
ERROR - 2026-03-04 13:43:04 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88B4828898",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:43:04 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 13:43:04 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 13:43:04 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 13:43:04 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 13:43:04 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 13:43:04 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":null,"AddressInfo":{"Address":null,"City":"01001","District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A88B4828898","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 13:43:04 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88B4828898",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:43:04 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 13:43:04 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 13:43:04 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 13:50:41 --> Could not find the language line "today"
ERROR - 2026-03-04 13:50:42 --> Could not find the language line "today"
ERROR - 2026-03-04 13:50:43 --> Could not find the language line "today"
ERROR - 2026-03-04 13:50:43 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88D12D478A",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:50:43 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 13:50:43 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 13:50:43 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 13:50:43 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 13:50:43 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 13:50:43 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":null,"AddressInfo":{"Address":null,"City":"01001","District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A88D12D478A","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 13:50:43 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88D12D478A",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:50:43 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 13:50:43 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 13:50:43 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 13:56:18 --> Could not find the language line "today"
ERROR - 2026-03-04 13:56:19 --> Could not find the language line "today"
ERROR - 2026-03-04 13:56:19 --> Could not find the language line "today"
ERROR - 2026-03-04 13:56:19 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": false,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88E6393241",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:56:19 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 13:56:19 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 13:56:19 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 13:56:19 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 13:56:19 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 13:56:19 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":false,"AddressInfo":{"Address":null,"City":"01001","District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A88E6393241","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 13:56:19 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": false,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88E6393241",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:56:20 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 13:56:20 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 13:56:20 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n [ 2). Invalid type. Expected String, Null but got Boolean. Path 'Buyer.Name', line 1, position 448. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 13:57:55 --> Could not find the language line "today"
ERROR - 2026-03-04 13:57:56 --> Could not find the language line "today"
ERROR - 2026-03-04 13:57:56 --> Could not find the language line "today"
ERROR - 2026-03-04 13:57:56 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "",
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88EC45B71F",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:57:56 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 13:57:56 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 13:57:56 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 13:57:56 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 13:57:56 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 13:57:56 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"","AddressInfo":{"Address":null,"City":"01001","District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A88EC45B71F","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 13:57:56 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "",
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88EC45B71F",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:57:57 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 13:57:57 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 13:57:57 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 13:58:41 --> Could not find the language line "today"
ERROR - 2026-03-04 13:58:43 --> Could not find the language line "today"
ERROR - 2026-03-04 13:58:44 --> Could not find the language line "today"
ERROR - 2026-03-04 13:58:44 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "",
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88EF3D1010",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:58:44 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 13:58:44 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 13:58:44 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 13:58:44 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 13:58:44 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 13:58:44 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"","AddressInfo":{"Address":null,"City":"01001","District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A88EF3D1010","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 13:58:44 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "",
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88EF3D1010",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 13:58:44 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 13:58:44 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 13:58:44 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:00:11 --> Could not find the language line "today"
ERROR - 2026-03-04 14:00:13 --> Could not find the language line "today"
ERROR - 2026-03-04 14:00:13 --> Could not find the language line "today"
ERROR - 2026-03-04 14:00:13 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "",
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88F4D29C29",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:00:13 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:00:13 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:00:13 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:00:13 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:00:13 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:00:13 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"","AddressInfo":{"Address":null,"City":"01001","District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A88F4D29C29","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:00:13 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "",
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88F4D29C29",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:00:13 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:00:13 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:00:13 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:01:13 --> Could not find the language line "today"
ERROR - 2026-03-04 14:01:15 --> Could not find the language line "today"
ERROR - 2026-03-04 14:01:15 --> Could not find the language line "today"
ERROR - 2026-03-04 14:01:15 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88F8B3AEC8",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:01:15 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:01:15 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:01:15 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:01:15 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:01:15 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:01:15 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":null,"AddressInfo":{"Address":null,"City":"01001","District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A88F8B3AEC8","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:01:15 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88F8B3AEC8",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:01:15 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:01:15 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:01:15 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:02:03 --> Could not find the language line "today"
ERROR - 2026-03-04 14:02:04 --> Could not find the language line "today"
ERROR - 2026-03-04 14:02:04 --> Could not find the language line "today"
ERROR - 2026-03-04 14:02:04 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "37748505",
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88FBC8751F",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:02:04 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:02:04 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:02:04 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:02:04 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:02:04 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:02:04 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"37748505","AddressInfo":{"Address":null,"City":"01001","District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A88FBC8751F","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:02:04 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "37748505",
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88FBC8751F",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:02:05 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:02:05 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:02:05 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:03:06 --> Could not find the language line "today"
ERROR - 2026-03-04 14:03:07 --> Could not find the language line "today"
ERROR - 2026-03-04 14:03:07 --> Could not find the language line "today"
ERROR - 2026-03-04 14:03:07 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88FFB717C7",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:03:07 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:03:07 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:03:07 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:03:07 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:03:07 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:03:07 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":null,"AddressInfo":{"Address":null,"City":"01001","District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A88FFB717C7","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:03:07 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A88FFB717C7",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:03:08 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:03:08 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:03:08 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:05:52 --> Could not find the language line "today"
ERROR - 2026-03-04 14:05:53 --> Could not find the language line "today"
ERROR - 2026-03-04 14:05:54 --> Could not find the language line "today"
ERROR - 2026-03-04 14:05:54 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A890A1ECB63",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:05:54 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:05:54 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:05:54 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:05:54 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:05:54 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:05:54 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":null,"AddressInfo":{"Address":null,"City":"01001","District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A890A1ECB63","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:05:54 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": null,
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A890A1ECB63",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:05:54 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:05:54 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:05:54 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:06:55 --> Could not find the language line "today"
ERROR - 2026-03-04 14:06:58 --> Could not find the language line "today"
ERROR - 2026-03-04 14:06:58 --> Could not find the language line "today"
ERROR - 2026-03-04 14:06:58 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A890E2A2951",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:06:58 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:06:58 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:06:58 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:06:58 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:06:58 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:06:58 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","AddressInfo":{"Address":null,"City":"01001","District":null,"State":null,"Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A890E2A2951","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:06:58 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": null,
            "City": "01001",
            "District": null,
            "State": null,
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A890E2A2951",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:06:59 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:06:59 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:06:59 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:08:22 --> Could not find the language line "today"
ERROR - 2026-03-04 14:08:24 --> Could not find the language line "today"
ERROR - 2026-03-04 14:08:24 --> Could not find the language line "today"
ERROR - 2026-03-04 14:08:24 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A8913831603",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:08:24 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:08:24 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:08:24 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:08:24 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:08:24 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:08:24 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","AddressInfo":{"Address":"CIUDAD","City":"01001","District":"GUATEMALA","State":"GUATEMALA","Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A8913831603","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:08:24 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A8913831603",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:08:24 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:08:24 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:08:24 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:11:27 --> Could not find the language line "today"
ERROR - 2026-03-04 14:16:19 --> Could not find the language line "today"
ERROR - 2026-03-04 14:16:19 --> Could not find the language line "today"
ERROR - 2026-03-04 14:16:19 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A89313AE200",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:16:19 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:16:19 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:16:19 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:16:19 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:16:19 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:16:19 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","AddressInfo":{"Address":"CIUDAD","City":"01001","District":"GUATEMALA","State":"GUATEMALA","Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A89313AE200","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:16:19 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A89313AE200",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:16:20 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:16:20 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:16:20 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:19:53 --> Could not find the language line "today"
ERROR - 2026-03-04 14:19:54 --> Could not find the language line "today"
ERROR - 2026-03-04 14:19:55 --> Could not find the language line "today"
ERROR - 2026-03-04 14:19:55 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": null
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "1969-12-31"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": null
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": null
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": null
                    }
                ]
            },
            {
                "Code": "FRONT-69A893EAEAB49",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:19:55 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:19:55 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:19:55 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:19:55 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:19:55 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:19:55 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","AddressInfo":{"Address":"CIUDAD","City":"01001","District":"GUATEMALA","State":"GUATEMALA","Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":null},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"1969-12-31"},{"Name":"MotivoAjuste","Data":null,"Value":null},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":null},{"Name":"SerieDocumentoOrigen","Data":null,"Value":null}]},{"Code":"FRONT-69A893EAEAB49","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:19:55 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": null
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "1969-12-31"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": null
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": null
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": null
                    }
                ]
            },
            {
                "Code": "FRONT-69A893EAEAB49",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:19:55 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:19:55 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:19:55 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:21:27 --> Could not find the language line "today"
ERROR - 2026-03-04 14:21:28 --> Could not find the language line "today"
ERROR - 2026-03-04 14:21:28 --> Could not find the language line "today"
ERROR - 2026-03-04 14:21:28 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A89448A26F2",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:21:28 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:21:28 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:21:28 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:21:28 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:21:28 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:21:28 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","AddressInfo":{"Address":"CIUDAD","City":"01001","District":"GUATEMALA","State":"GUATEMALA","Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A89448A26F2","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:21:28 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A89448A26F2",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:21:29 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:21:29 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:21:29 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:22:02 --> Could not find the language line "today"
ERROR - 2026-03-04 14:22:03 --> Could not find the language line "today"
ERROR - 2026-03-04 14:22:03 --> Could not find the language line "today"
ERROR - 2026-03-04 14:22:03 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A8946BAB00D",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:22:03 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:22:03 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:22:03 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:22:03 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:22:03 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:22:03 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","AddressInfo":{"Address":"CIUDAD","City":"01001","District":"GUATEMALA","State":"GUATEMALA","Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A8946BAB00D","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:22:03 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A8946BAB00D",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:22:04 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:22:04 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:22:04 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:24:43 --> Could not find the language line "today"
ERROR - 2026-03-04 14:24:44 --> Could not find the language line "today"
ERROR - 2026-03-04 14:24:44 --> Could not find the language line "today"
ERROR - 2026-03-04 14:24:44 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A8950C53443",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:24:44 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:24:44 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:24:44 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:24:44 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:24:44 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:24:44 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","AddressInfo":{"Address":"CIUDAD","City":"01001","District":"GUATEMALA","State":"GUATEMALA","Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A8950C53443","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:24:44 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A8950C53443",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:24:45 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:24:45 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:24:45 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:26:18 --> Could not find the language line "today"
ERROR - 2026-03-04 14:26:19 --> Could not find the language line "today"
ERROR - 2026-03-04 14:26:19 --> Severity: Warning --> Invalid argument supplied for foreach() /home/tecnomania/fel.tecnomaniagt.com/ventas/app/models/admin/FelInvoice_model.php 889
ERROR - 2026-03-04 14:26:19 --> Could not find the language line "today"
ERROR - 2026-03-04 14:26:19 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "0.000000"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "0.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A8956B7168D",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:26:19 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:26:19 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:26:19 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:26:19 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:26:19 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:26:19 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","AddressInfo":{"Address":"CIUDAD","City":"01001","District":"GUATEMALA","State":"GUATEMALA","Country":"GT"}},"Items":[],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"0.000000"}]},"GrandTotal":{"InvoiceTotal":"0.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A8956B7168D","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:26:19 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "0.000000"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "0.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A8956B7168D",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:26:20 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:26:20 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:26:20 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n [ 2). Array item count 0 is less than minimum count of 1. Path 'Items', line 1, position 597. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:27:16 --> Could not find the language line "today"
ERROR - 2026-03-04 14:27:17 --> Could not find the language line "today"
ERROR - 2026-03-04 14:27:17 --> Could not find the language line "today"
ERROR - 2026-03-04 14:27:17 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A895A5AC643",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:27:17 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:27:17 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:27:17 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:27:17 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:27:17 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:27:17 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","AddressInfo":{"Address":"CIUDAD","City":"01001","District":"GUATEMALA","State":"GUATEMALA","Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A895A5AC643","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:27:17 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A895A5AC643",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:27:18 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:27:18 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:27:18 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:28:21 --> Could not find the language line "today"
ERROR - 2026-03-04 14:28:23 --> Could not find the language line "today"
ERROR - 2026-03-04 14:28:23 --> Could not find the language line "today"
ERROR - 2026-03-04 14:28:23 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A895E76BFB4",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:28:23 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:28:23 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:28:23 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:28:23 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:28:23 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:28:23 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","AddressInfo":{"Address":"CIUDAD","City":"01001","District":"GUATEMALA","State":"GUATEMALA","Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A895E76BFB4","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:28:23 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A895E76BFB4",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:28:24 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:28:24 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:28:24 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:31:24 --> Could not find the language line "today"
ERROR - 2026-03-04 14:31:25 --> Could not find the language line "today"
ERROR - 2026-03-04 14:31:25 --> Could not find the language line "today"
ERROR - 2026-03-04 14:31:25 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A8969D0F31F",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:31:25 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 14:31:25 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 14:31:25 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 14:31:25 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 14:31:25 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 14:31:25 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","AddressInfo":{"Address":"CIUDAD","City":"01001","District":"GUATEMALA","State":"GUATEMALA","Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"2.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"8.928571","Amount":"1.071429"}]},"Totals":{"TotalItem":"10.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.107143"}]},"GrandTotal":{"InvoiceTotal":"85.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se facturaron productos de mas"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A8969D0F31F","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 14:31:25 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "2.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "8.928571",
                        "Amount": "1.071429"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "10.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.107143"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "85.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se facturaron productos de mas"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A8969D0F31F",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 14:31:25 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 14:31:25 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 14:31:25 --> FEL RESPONSE (NOTA CREDITO): {"code":400,"message":"El contenido del mensaje en formato JSON no coincide con el esquema NUC","description":"[ 1). Required properties are missing from object: IssuedDateTime. Path 'Header', line 1, position 47. ]\n ","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 14:43:06 --> Could not find the language line "today"
ERROR - 2026-03-04 14:43:07 --> Could not find the language line "today"
ERROR - 2026-03-04 14:43:07 --> ITEM COMPLETO: {"id":21,"cantidad":2,"precio":5}
ERROR - 2026-03-04 15:09:32 --> Could not find the language line "today"
ERROR - 2026-03-04 15:09:32 --> Severity: error --> Exception: syntax error, unexpected ';', expecting ']' /home/tecnomania/fel.tecnomaniagt.com/ventas/app/models/admin/FelInvoice_model.php 1074
ERROR - 2026-03-04 15:09:34 --> Could not find the language line "today"
ERROR - 2026-03-04 15:09:34 --> Severity: error --> Exception: syntax error, unexpected ';', expecting ']' /home/tecnomania/fel.tecnomaniagt.com/ventas/app/models/admin/FelInvoice_model.php 1074
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "today"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "shop"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "due"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "ordered"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "due"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "transferring"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "download"
ERROR - 2026-03-04 15:09:38 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 15:09:41 --> Could not find the language line "today"
ERROR - 2026-03-04 15:09:41 --> Severity: error --> Exception: syntax error, unexpected ';', expecting ']' /home/tecnomania/fel.tecnomaniagt.com/ventas/app/models/admin/FelInvoice_model.php 1074
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "today"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "shop"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "ordered"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "due"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "transferring"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "download"
ERROR - 2026-03-04 15:11:07 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 15:11:08 --> Could not find the language line "today"
ERROR - 2026-03-04 15:11:10 --> Could not find the language line "today"
ERROR - 2026-03-04 15:11:12 --> Could not find the language line "today"
ERROR - 2026-03-04 15:11:30 --> Could not find the language line "today"
ERROR - 2026-03-04 15:23:00 --> Could not find the language line "today"
ERROR - 2026-03-04 15:23:02 --> Could not find the language line "today"
ERROR - 2026-03-04 15:23:05 --> Could not find the language line "today"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "today"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "shop"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "ordered"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "due"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "transferring"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "download"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 15:23:07 --> Could not find the language line "today"
ERROR - 2026-03-04 15:23:09 --> Could not find the language line "today"
ERROR - 2026-03-04 15:23:20 --> Could not find the language line "today"
ERROR - 2026-03-04 15:28:47 --> Could not find the language line "today"
ERROR - 2026-03-04 15:28:49 --> Could not find the language line "today"
ERROR - 2026-03-04 15:28:51 --> Could not find the language line "today"
ERROR - 2026-03-04 15:29:28 --> Could not find the language line "today"
ERROR - 2026-03-04 15:29:54 --> Could not find the language line "today"
ERROR - 2026-03-04 15:29:55 --> Could not find the language line "today"
ERROR - 2026-03-04 15:35:42 --> Could not find the language line "today"
ERROR - 2026-03-04 15:35:44 --> Could not find the language line "today"
ERROR - 2026-03-04 15:40:34 --> Could not find the language line "today"
ERROR - 2026-03-04 15:40:36 --> Could not find the language line "today"
ERROR - 2026-03-04 15:41:23 --> Could not find the language line "today"
ERROR - 2026-03-04 15:41:25 --> Could not find the language line "today"
ERROR - 2026-03-04 15:41:29 --> Could not find the language line "today"
ERROR - 2026-03-04 15:41:36 --> Could not find the language line "today"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "today"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "shop"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "ordered"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "due"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "transferring"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "download"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 15:41:47 --> Could not find the language line "today"
ERROR - 2026-03-04 15:41:56 --> Could not find the language line "today"
ERROR - 2026-03-04 15:42:33 --> Could not find the language line "today"
ERROR - 2026-03-04 15:42:51 --> Could not find the language line "today"
ERROR - 2026-03-04 15:47:59 --> Could not find the language line "today"
ERROR - 2026-03-04 15:48:15 --> Could not find the language line "today"
ERROR - 2026-03-04 15:55:12 --> Could not find the language line "today"
ERROR - 2026-03-04 15:55:14 --> Could not find the language line "today"
ERROR - 2026-03-04 15:55:20 --> Could not find the language line "today"
ERROR - 2026-03-04 22:40:25 --> Could not find the language line "type_email_to_reset"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "today"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "shop"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "today_profit"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "promos"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "list_printers"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "add_printer"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "expense_categories"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "site_logs"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "backups"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "front_end"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "shop_settings"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "slider_settings"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "list_pages"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "add_page"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "sms_settings"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "send_sms"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "sms_log"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "due"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "due"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "due"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "ordered"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "due"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "transferring"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "download"
ERROR - 2026-03-04 22:40:53 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 22:58:02 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "today"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "shop"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "due"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "ordered"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "due"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "transferring"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "download"
ERROR - 2026-03-04 22:58:29 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "today"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "shop"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "ordered"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "due"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "transferring"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "download"
ERROR - 2026-03-04 22:58:31 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 22:58:32 --> Could not find the language line "today"
ERROR - 2026-03-04 23:01:42 --> Could not find the language line "today"
ERROR - 2026-03-04 23:02:08 --> Could not find the language line "today"
ERROR - 2026-03-04 23:16:26 --> Could not find the language line "today"
ERROR - 2026-03-04 23:16:29 --> Could not find the language line "today"
ERROR - 2026-03-04 23:16:38 --> Could not find the language line "today"
ERROR - 2026-03-04 23:16:42 --> Could not find the language line "today"
ERROR - 2026-03-04 23:23:48 --> Could not find the language line "today"
ERROR - 2026-03-04 23:23:49 --> Could not find the language line "today"
ERROR - 2026-03-04 23:23:53 --> Could not find the language line "today"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "today"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "shop"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "toggle_alignment"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "lista de Facturas"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "Bonificaciones"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "Lista de Bonificaciones"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "Agregar Bonificación"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "Mermas"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "Lista de Merma"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "Agregar Merma"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "Certificadores"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "listado de Certifiacadores"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "Agregar Certitificador"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "Listado de Cliente Certificador"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "Agregar Cliente Certificador"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "Informe de Consolidado"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "Informe de mermas"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "Informe de bonificaciones"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "Informe de Rutas"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "ordered"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "due"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "transferring"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "download"
ERROR - 2026-03-04 23:23:54 --> Could not find the language line "required_invalid"
ERROR - 2026-03-04 23:23:55 --> Could not find the language line "today"
ERROR - 2026-03-04 23:23:56 --> Could not find the language line "today"
ERROR - 2026-03-04 23:24:15 --> Could not find the language line "today"
ERROR - 2026-03-04 23:29:09 --> Could not find the language line "today"
ERROR - 2026-03-04 23:29:10 --> Could not find the language line "today"
ERROR - 2026-03-04 23:37:33 --> Could not find the language line "today"
ERROR - 2026-03-04 23:37:36 --> Could not find the language line "today"
ERROR - 2026-03-04 23:37:36 --> Could not find the language line "today"
ERROR - 2026-03-04 23:37:36 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "IssuedDateTime": "2026-03-04T23:37:36-06:00",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "3.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "13.392857",
                        "Amount": "1.607143"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "15.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.642857"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "90.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se creo la factura para probar la integraci\u00f3n a un sistema POS"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A916A04B482",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 23:37:36 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 23:37:36 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 23:37:36 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 23:37:36 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 23:37:36 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 23:37:36 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","IssuedDateTime":"2026-03-04T23:37:36-06:00","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","AddressInfo":{"Address":"CIUDAD","City":"01001","District":"GUATEMALA","State":"GUATEMALA","Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"3.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"13.392857","Amount":"1.607143"}]},"Totals":{"TotalItem":"15.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.642857"}]},"GrandTotal":{"InvoiceTotal":"90.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se creo la factura para probar la integración a un sistema POS"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A916A04B482","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 23:37:36 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "IssuedDateTime": "2026-03-04T23:37:36-06:00",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "3.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "13.392857",
                        "Amount": "1.607143"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "15.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.642857"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "90.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se creo la factura para probar la integraci\u00f3n a un sistema POS"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A916A04B482",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 23:37:37 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 23:37:37 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 23:37:37 --> FEL RESPONSE (NOTA CREDITO): {"code":0,"message":"Ocurrio un error al convertir el NUC al xml de GT","description":"Error al transformar, No se encuentra el elemento Description en Item. [Ref D05]","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 23:44:00 --> Could not find the language line "today"
ERROR - 2026-03-04 23:44:02 --> Could not find the language line "today"
ERROR - 2026-03-04 23:44:02 --> Could not find the language line "today"
ERROR - 2026-03-04 23:44:02 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "IssuedDateTime": "2026-03-04T23:44:02-06:00",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "3.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "13.392857",
                        "Amount": "1.607143"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "15.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.642857"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "90.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se creo la factura para probar la integraci\u00f3n a un sistema POS"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A91822963D5",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 23:44:02 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 23:44:02 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 23:44:02 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 23:44:02 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 23:44:02 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 23:44:02 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","IssuedDateTime":"2026-03-04T23:44:02-06:00","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","AddressInfo":{"Address":"CIUDAD","City":"01001","District":"GUATEMALA","State":"GUATEMALA","Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"3.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"13.392857","Amount":"1.607143"}]},"Totals":{"TotalItem":"15.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.642857"}]},"GrandTotal":{"InvoiceTotal":"90.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se creo la factura para probar la integración a un sistema POS"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A91822963D5","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 23:44:02 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "IssuedDateTime": "2026-03-04T23:44:02-06:00",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "3.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "13.392857",
                        "Amount": "1.607143"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "15.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.642857"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "90.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se creo la factura para probar la integraci\u00f3n a un sistema POS"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A91822963D5",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 23:44:03 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 23:44:03 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 23:44:03 --> FEL RESPONSE (NOTA CREDITO): {"code":0,"message":"Ocurrio un error al convertir el NUC al xml de GT","description":"Error al transformar, No se encuentra el elemento Description en Item. [Ref D05]","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 23:45:03 --> Could not find the language line "today"
ERROR - 2026-03-04 23:45:04 --> Could not find the language line "today"
ERROR - 2026-03-04 23:45:10 --> Could not find the language line "today"
ERROR - 2026-03-04 23:45:57 --> Could not find the language line "today"
ERROR - 2026-03-04 23:45:57 --> Could not find the language line "today"
ERROR - 2026-03-04 23:45:57 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "IssuedDateTime": "2026-03-04T23:45:57-06:00",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "3.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "13.392857",
                        "Amount": "1.607143"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "15.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.642857"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "90.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se creo la factura para probar la integraci\u00f3n a un sistema POS"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A91895121B5",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 23:45:57 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 23:45:57 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 23:45:57 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 23:45:57 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 23:45:57 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 23:45:57 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","IssuedDateTime":"2026-03-04T23:45:57-06:00","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","AddressInfo":{"Address":"CIUDAD","City":"01001","District":"GUATEMALA","State":"GUATEMALA","Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":null,"Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":null,"Qty":"3.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"13.392857","Amount":"1.607143"}]},"Totals":{"TotalItem":"15.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.642857"}]},"GrandTotal":{"InvoiceTotal":"90.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se creo la factura para probar la integración a un sistema POS"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A91895121B5","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 23:45:57 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "IssuedDateTime": "2026-03-04T23:45:57-06:00",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": null,
            "Qty": "3.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "13.392857",
                        "Amount": "1.607143"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "15.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.642857"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "90.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se creo la factura para probar la integraci\u00f3n a un sistema POS"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A91895121B5",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 23:45:57 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 23:45:57 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 23:45:57 --> FEL RESPONSE (NOTA CREDITO): {"code":0,"message":"Ocurrio un error al convertir el NUC al xml de GT","description":"Error al transformar, No se encuentra el elemento Description en Item. [Ref D05]","responseData1":"","responseData2":"","responseData3":"","responseData4":"","authNumber":"","url":"","infoDetails":[],"suggestedFileName":"","suggestedFileName2":"","batch":"","serial":"","issuedTimeStamp":"","taxID":"","name":"","branchCode":"","branchName":"","receiverTaxID":"","receiverName":"","discounts":"","taxes":"","subTotal":"","totalAmount":"","enrolledTimeStamp":"","backprocessor":"","additionalInfo":null}
ERROR - 2026-03-04 23:47:18 --> Could not find the language line "today"
ERROR - 2026-03-04 23:47:21 --> Could not find the language line "today"
ERROR - 2026-03-04 23:47:49 --> Could not find the language line "today"
ERROR - 2026-03-04 23:47:50 --> Could not find the language line "today"
ERROR - 2026-03-04 23:47:51 --> Could not find the language line "today"
ERROR - 2026-03-04 23:47:51 --> JSON FEL (DEBUG): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "IssuedDateTime": "2026-03-04T23:47:50-06:00",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": "hierro cons 3\/8 G.40",
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": "Clavo 3 lb",
            "Qty": "3.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "13.392857",
                        "Amount": "1.607143"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "15.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.642857"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "90.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se creo la factura para probar la integraci\u00f3n a un sistema POS"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A91906E9060",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 23:47:51 --> ======= DATOS ENVIO NOTA DE CREDITO FEL =======
ERROR - 2026-03-04 23:47:51 --> TOKEN FEL: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VyIjoiR1QuMDAwMDYyODQ3MzI1LjYyODQ3MzI1IiwiQ291bnRyeSI6IkdUIiwiRW52IjoiMSIsIm5iZiI6MTc3MTk1NDY3NSwiZXhwIjoxNzc0NTQ2Njc1LCJpYXQiOjE3NzE5NTQ2NzUsImlzcyI6Imh0dHBzOi8vd3d3LmRpZ2lmYWN0LmNvbS5ndCIsImF1ZCI6Imh0dHBzOi8vYXBpbnVjLmRpZ2lmYWN0LmNvbS5kby9kby5jb20uYXBpbnVjIn0.cOAi0YJRGOJJ35RNWEgNDVfAet7uCTW50YoLTF3gaeg
ERROR - 2026-03-04 23:47:51 --> TAXID FEL: 000062847325
ERROR - 2026-03-04 23:47:51 --> USERNAME FEL: 62847325
ERROR - 2026-03-04 23:47:51 --> URL FINAL FEL (NOTA CREDITO): https://nucgt.digifact.com/gt.com.apinuc/api/v2/transform/nuc_json?TAXID=000062847325&USERNAME=62847325&FORMAT=XML
ERROR - 2026-03-04 23:47:51 --> BODY ENVIADO FEL (NOTA CREDITO): {"Version":"1.00","CountryCode":"GT","Header":{"DocType":"NCRE","IssuedDateTime":"2026-03-04T23:47:50-06:00","Currency":"GTQ"},"Seller":{"TaxID":"62847325","TaxIDAdditionalInfo":[{"Name":"AfiliacionIVA","Data":null,"Value":"GEN"}],"Name":"MACRETO, SOCIEDAD ANONIMA","BranchInfo":{"Code":"1","Name":"MACRETO, SOCIEDAD ANONIMA","AddressInfo":{"Address":"1 AVENIDA 4-01 ZONA 5","City":"01001","District":"RETALHULEU","State":"RETALHULEU","Country":"GT"}}},"Buyer":{"TaxID":"37748505","Name":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","AddressInfo":{"Address":"CIUDAD","City":"01001","District":"GUATEMALA","State":"GUATEMALA","Country":"GT"}},"Items":[{"Number":"1","Codes":null,"Type":"Bien","Description":"hierro cons 3/8 G.40","Qty":"5.0000","UnitOfMeasure":"UND","Price":"15.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"66.964286","Amount":"8.035714"}]},"Totals":{"TotalItem":"75.000000"}},{"Number":"2","Codes":null,"Type":"Bien","Description":"Clavo 3 lb","Qty":"3.0000","UnitOfMeasure":"UND","Price":"5.000000","Discounts":null,"Taxes":{"Tax":[{"Code":"1","Description":"IVA","TaxableAmount":"13.392857","Amount":"1.607143"}]},"Totals":{"TotalItem":"15.000000"}}],"Totals":{"TotalTaxes":{"TotalTax":[{"Description":"IVA","Amount":"9.642857"}]},"GrandTotal":{"InvoiceTotal":"90.000000"}},"AdditionalDocumentInfo":{"AdditionalInfo":[{"Code":"NCRE","Type":"COMPLEMENTO","AditionalInfo":[{"Name":"NumeroAutorizacionDocumentoOrigen","Data":null,"Value":"929C10BA-28E4-4544-AEEC-658B7866A1BD"},{"Name":"FechaEmisionDocumentoOrigen","Data":null,"Value":"2026-02-25"},{"Name":"MotivoAjuste","Data":null,"Value":"se creo la factura para probar la integración a un sistema POS"},{"Name":"NumeroDocumentoOrigen","Data":null,"Value":"686048580"},{"Name":"SerieDocumentoOrigen","Data":null,"Value":"929C10BA"}]},{"Code":"FRONT-69A91906E9060","Type":"ADENDA","AditionalData":{"Data":[{"Name":"INFORMACION_ADICIONAL","Info":[{"Name":"OBSERVACIONES","Data":null,"Value":"-"},{"Name":"CANTIDAD_LETRAS","Data":null,"Value":"-"}]}]},"AditionalInfo":[{"Name":"VALIDAR_REFERENCIA_INTERNA","Data":null,"Value":"NO_VALIDAR"}]}]}}
ERROR - 2026-03-04 23:47:51 --> JSON FEL ENVIADO (FORMATEADO - NOTA CREDITO): {
    "Version": "1.00",
    "CountryCode": "GT",
    "Header": {
        "DocType": "NCRE",
        "IssuedDateTime": "2026-03-04T23:47:50-06:00",
        "Currency": "GTQ"
    },
    "Seller": {
        "TaxID": "62847325",
        "TaxIDAdditionalInfo": [
            {
                "Name": "AfiliacionIVA",
                "Data": null,
                "Value": "GEN"
            }
        ],
        "Name": "MACRETO, SOCIEDAD ANONIMA",
        "BranchInfo": {
            "Code": "1",
            "Name": "MACRETO, SOCIEDAD ANONIMA",
            "AddressInfo": {
                "Address": "1 AVENIDA 4-01 ZONA 5",
                "City": "01001",
                "District": "RETALHULEU",
                "State": "RETALHULEU",
                "Country": "GT"
            }
        }
    },
    "Buyer": {
        "TaxID": "37748505",
        "Name": "GONZ\u00c1LEZ,MURILLO,,STEVE,ALEXANDER",
        "AddressInfo": {
            "Address": "CIUDAD",
            "City": "01001",
            "District": "GUATEMALA",
            "State": "GUATEMALA",
            "Country": "GT"
        }
    },
    "Items": [
        {
            "Number": "1",
            "Codes": null,
            "Type": "Bien",
            "Description": "hierro cons 3\/8 G.40",
            "Qty": "5.0000",
            "UnitOfMeasure": "UND",
            "Price": "15.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "66.964286",
                        "Amount": "8.035714"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "75.000000"
            }
        },
        {
            "Number": "2",
            "Codes": null,
            "Type": "Bien",
            "Description": "Clavo 3 lb",
            "Qty": "3.0000",
            "UnitOfMeasure": "UND",
            "Price": "5.000000",
            "Discounts": null,
            "Taxes": {
                "Tax": [
                    {
                        "Code": "1",
                        "Description": "IVA",
                        "TaxableAmount": "13.392857",
                        "Amount": "1.607143"
                    }
                ]
            },
            "Totals": {
                "TotalItem": "15.000000"
            }
        }
    ],
    "Totals": {
        "TotalTaxes": {
            "TotalTax": [
                {
                    "Description": "IVA",
                    "Amount": "9.642857"
                }
            ]
        },
        "GrandTotal": {
            "InvoiceTotal": "90.000000"
        }
    },
    "AdditionalDocumentInfo": {
        "AdditionalInfo": [
            {
                "Code": "NCRE",
                "Type": "COMPLEMENTO",
                "AditionalInfo": [
                    {
                        "Name": "NumeroAutorizacionDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA-28E4-4544-AEEC-658B7866A1BD"
                    },
                    {
                        "Name": "FechaEmisionDocumentoOrigen",
                        "Data": null,
                        "Value": "2026-02-25"
                    },
                    {
                        "Name": "MotivoAjuste",
                        "Data": null,
                        "Value": "se creo la factura para probar la integraci\u00f3n a un sistema POS"
                    },
                    {
                        "Name": "NumeroDocumentoOrigen",
                        "Data": null,
                        "Value": "686048580"
                    },
                    {
                        "Name": "SerieDocumentoOrigen",
                        "Data": null,
                        "Value": "929C10BA"
                    }
                ]
            },
            {
                "Code": "FRONT-69A91906E9060",
                "Type": "ADENDA",
                "AditionalData": {
                    "Data": [
                        {
                            "Name": "INFORMACION_ADICIONAL",
                            "Info": [
                                {
                                    "Name": "OBSERVACIONES",
                                    "Data": null,
                                    "Value": "-"
                                },
                                {
                                    "Name": "CANTIDAD_LETRAS",
                                    "Data": null,
                                    "Value": "-"
                                }
                            ]
                        }
                    ]
                },
                "AditionalInfo": [
                    {
                        "Name": "VALIDAR_REFERENCIA_INTERNA",
                        "Data": null,
                        "Value": "NO_VALIDAR"
                    }
                ]
            }
        ]
    }
}
ERROR - 2026-03-04 23:47:53 --> HEADERS REALES ENVIADOS POR CURL (NOTA CREDITO): 
ERROR - 2026-03-04 23:47:53 --> HTTP CODE FEL (NOTA CREDITO): 200
ERROR - 2026-03-04 23:47:53 --> FEL RESPONSE (NOTA CREDITO): {"code":1,"message":"Proceso de certificacion realizado correctamente!","description":"","responseData1":"[encoded data, 22888 characters]","responseData2":"","responseData3":"","authNumber":"4FCA1C27-0DDA-4BC6-AC48-434F133E0801","url":"","infoDetails":[],"suggestedFileName":"62847325_NCRE__0","suggestedFileName2":"04032026___0_","batch":"4FCA1C27","serial":"232410054","issuedTimeStamp":"2026-03-04T23:47:50","taxID":"000062847325","name":"MACRETO, SOCIEDAD ANONIMA","branchCode":"","branchName":"","receiverTaxID":"37748505","receiverName":"GONZÁLEZ,MURILLO,,STEVE,ALEXANDER","discounts":"","taxes":"","subTotal":"","totalAmount":"90","enrolledTimeStamp":"2026-03-04T23:47:53","backprocessor":"GT-Backend","additionalInfo":{"acuseReciboSAT":null,"codigosSAT":null}}
