Sii - Book Invoices Received - more than one

1

We are trying to build the XML for the LRFR. We have had success with an invoice line, but we can not decipher how to build an XML with more than one invoice line. We see several examples for the LRFE, but not for the LRFR ... does anyone have an example for this case?

    
asked by tkienast 04.07.2017 в 11:41
source

1 answer

1

It seems a simple enough doubt to solve ...

There are two large blocks in the XML LRFR, the Header and the LFFReceivedRecord. The second block is the one that can be repeated. Something like this:

<siiLR:SuministroLRFacturasRecibidas>
    <sii:Cabecera>
        ... info cabecera ...
    </sii:Cabecera>
    <siiLR:RegistroLRFacturasRecibidas>
        ... info factura 1 ...
    </siiLR:RegistroLRFacturasRecibidas>
    <siiLR:RegistroLRFacturasRecibidas>
        ... info factura 2 ...
    </siiLR:RegistroLRFacturasRecibidas>
</siiLR:SuministroLRFacturasRecibidas>
    
answered by 20.07.2017 в 17:06