Ver Mensaje Individual
  #25  
Antiguo 12-06-2025
ermendalenda ermendalenda is offline
Miembro
 
Registrado: ago 2021
Posts: 2.761
Reputación: 7
ermendalenda Va por buen camino
Cita:
Empezado por novatico Ver Mensaje
Perdona mi desconocimiento de UBL, pero la parte de código que has puesto, podría ir así:

Código PHP:
<cac:AdditionalDocumentReference>
    <
cbc:ID>QR</cbc:ID>     
    <
cbc:DocumentDescription>QR VeriFactu</cbc:DocumentDescription>
    <
cac:Attachment>   
        <
cac:ExternalReference>     
            <
cbc:URI>https://prewww2.aeat.es/wlpl/TIKE-CONT/ValidarQR?nif=A00000000&numserie=66.2.3-8&fecha=11-06-2025&importe=5000.10&formato=json</cbc:URI>
        
</cac:ExternalReference>   
    </
cac:Attachment>   
</
cac:AdditionalDocumentReference
Correcto
El dentado lo lo respeto mucho al generar los XML, disculpad las molestias.
Responder Con Cita