Buenas al querer enviar una factura a SUNAT me sale este error que me devuelve en observaciones:
"Codigo Error: 0306\nMensaje Error: No se puede leer (parsear) el archivo XML - Detalle: http://xxx.xxx.xxx/ol-ti-itcpfegem-beta/billService: cvc-simple-type 1: element {urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PriceAmount of type {urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PriceAmountType may not be empty"

    7 months later

    Hola ojala me puedan ayudar con este error al firmar my xml:
    soap-env:Client.0306: No se puede leer (parsear) el archivo XML - Detalle:
    http://xxx.xxx.xxx/ol-ti-itcpfegem-beta/billService: cvc-particle 2.1: in element
    {http://www.w3.org/2000/09/xmldsig#}SignedInfo of
    type {http://www.w3.org/2000/09/xmldsig#}SignedInfoType, found
    </SignedInfo> (in namespace http://www.w3.org/2000/09/xmldsig#),
    but next item should be {http://www.w3.org/2000/09/xmldsig#}Reference

      2 months later

      Hola, me pueden ayudar con este error ?

      No se puede leer (parsear) el archivo XML -
      Detalle: http://xxx.xxx.xxx/ol-ti-itcpfegem-beta/billService: cvc-simple-type 1:
      element {urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}
      MultiplierFactorNumeric of type {urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}
      MultiplierFactorNumericType may not be empty

        a month later

        Me pueden ayudar.

        Codigo Error: 0306Mensaje Error: No se puede leer (parsear) el archivo XML - Detalle: http://xxx.xxx.xxx/ol-ti-itcpfegem-beta/billService: cvc-simple-type 1: element {urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}InvoicedQuantity of type {urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}InvoicedQuantityType may not be empty

          7 days later

          needwit los detalles deben ser un array de SaleDetail, y no un array de array como en lo que enviaste.

            10 months later

            soap-env:Client.0306No se puede leer (parsear) el archivo XML - Detalle: local:///commons/xsl/validation/2.X/ValidaExprRegBoleta-2.0.1.xsl:586: local:///commons/xsl/validation/2.X/ValidaExprRegBoleta-2.0.1.xsl:586: Call to unknown template isTrueExpresionEmptyNode me pueden ayudar con este error en xml

              kevinmallma varios han reportado el mismo problema, es un tema de SUNAT, es increíble que hasta ahora no lo puedan arreglar.

                Write a Reply...