cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP HTTPS Soap Envelope

Former Member
0 Kudos

Hi Dears

I'm trying to configure a SOAP receiver adapter that conect a webservice wich uses security SOAP envelope, my sistem is a SAP PI 7.11

the webserivce uses https protocol I´m already imported the certificate but im still facing some issues.

could you help me with some exampres.

Regards

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Jaime,

Are you talking about wsse security?

If im right you have several ways to do it:

1. SOAP Axis adapter in the receiver side:

2. If you use the SOAP adapter and you check Do Not Use SOAP envelope, lets you to construct manually the SOAP header via XSLT mapping or java mapping.

Hope this helps you.

Regards.

Former Member
0 Kudos

Hi Iñaki,

Already deployed the .jars for the AXIS adapter and everything went ok

Also I configured the channel according to the post that you gave me, due to it is a "https" web service we upload the certificate into CA trusted and I tested it,

Now is giving this "errorMessage processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: Failed to get the input stream from socket: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier"

apu_das2
Active Contributor
0 Kudos

hi,

this is chain certificate verification error.

Guess you have total 3 certificates. Use xpi inspector there you will get suggestion of 2 certificates like certificate 0 and certificate 1. Export them and import into trustedCAs. Before that delete existing two certificates.Just keep the root one.

Thanks,

Apu

former_member182412
Active Contributor
0 Kudos

Hi Jaime,

Check this document for more details

Regards,

Praveen.

bhavesh_kantilal
Active Contributor
0 Kudos

Was the keystore restarted after importing the Certificates including the entire chain? Do note - the Keystore service or the Java stack needs to be restarted once the certs are imported into your trustedCAs

Regards

Bhavesh

Former Member
0 Kudos

yes

Answers (6)

Answers (6)

Former Member
0 Kudos

SAP Give mi this link

SystemAccessor (XI Mapping Lookup (SPS 15))

in order to solve my issue I'm working on it right now. I hope it works

bhavesh_kantilal
Active Contributor
0 Kudos

Thanks this is beginning to make sense especially with regards to the error.

Will also give this a shot later tomorrow and revert with my results and understanding.

Regards

Bhavesh

Former Member
0 Kudos

Thank you Jaime for sharing helpful information as per SAP's input.

Bhavesh/Jaime,

Please share,if you are able to achieve this with code snippet to access SOAP with AXIS protocol.I will also try from myside.

thank you,

Sri

bhavesh_kantilal
Active Contributor
0 Kudos

I was able to perform a SOAP Lookup using SOAP Axis.

As pointed by SAP in response to Jaime, SOAP Axis requires that we set the OperationName and OperationNamespace. This is also mentioned in the Java Doc that says some adapter's might require this.

2 Lines of code added was


accessor.setOperationName("Dummy");

accessor. setOperationNamespace("http://Dummy");

Code Snippet with the additional 2 lines for code in comparison to Jaime's original code,


AbstractTrace trace = container.getTrace();

String sResponse = "";

try {

Channel channel = LookupService.getChannel("BC_B2B_HEB","CC_SOAP_RCV_HEB_CFDI");

SystemAccessor accessor = LookupService.getSystemAccessor(channel);

accessor.setOperationName("Dummy");

accessor. setOperationNamespace("http://Dummy");

String SOAPxml =Sxml;

InputStream inputStream = new ByteArrayInputStream(SOAPxml.getBytes());

XmlPayload payload = LookupService.getXmlPayload(inputStream);

Payload SOAPOutPayload = null;

SOAPOutPayload = accessor.call(payload);

InputStream inp = SOAPOutPayload.getContent();

DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();

DocumentBuilder builder = factory.newDocumentBuilder();

Document document = builder.parse(inp);

NodeList list = document.getElementsByTagName("CODE");

Node node = list.item(0);

if (node != null) {

node = node.getFirstChild();

if (node != null) {

sResponse = node.getNodeValue();

}

}

}

catch (Exception e){

trace.addWarning("Error" + e);

}

return sResponse;

Regards,

Bhavesh

Former Member
0 Kudos

Thank you for the info I'll try today and I'll let you know what happened

Former Member
0 Kudos

Yes, this worked for me as well.

thank you Bhavesh & Jaime for your help and helpful info.

-Sri

Former Member
0 Kudos

I'll try to use this function but I still facen issuses,

Our message type for the request is something like this:

<dig:SET_DIGITAL_INVOICE_REQUESTxmlns:dig="http://xmlns.heb.com/ei/DIGITAL_INVOICE_REQUEST">

<ISBUREAU>1</ISBUREAU> <cfdi:Comprobante LugarExpedicion="Santa Catarina Nuevo Leon" Moneda="MXN" NumCtaPago="9042" TipoCambio="1.00000" certificado="MIIEfTCCA2WgAwIBAgIUMDAwMDEwMDAwMDAyMDIwMjc3NDIwDQYJKoZIhvcNAQEFBQAwggGVMTgwNgYDVQQDDC9BLkMuIGRlbCBTZXJ2aWNpbyBkZSBBZG1pbmlzdHJhY2nDs24gVHJpYnV0YXJpYTEvMC0GA1UECgwmU2VydmljaW8gZGUgQWRtaW5pc3RyYWNpw7NuIFRyaWJ1dGFyaWExODA2BgNVBAsML0FkbWluaXN0cmFjacOzbiBkZSBTZWd1cmlkYWQgZGUgbGEgSW5mb3JtYWNpw7NuMSEwHwYJKoZIhvcNAQkBFhJhc2lzbmV0QHNhdC5nb2IubXgxJjAkBgNVBAkMHUF2LiBIaWRhbGdvIDc3LCBDb2wuIEd1ZXJyZXJvMQ4wDAYDVQQRDAUwNjMwMDELMAkGA1UEBhMCTVgxGTAXBgNVBAgMEERpc3RyaXRvIEZlZGVyYWwxFDASBgNVBAcMC0N1YXVodMOpbW9jMRUwEwYDVQQtEwxTQVQ5NzA3MDFOTjMxPjA8BgkqhkiG9w0BCQIML1Jlc3BvbnNhYmxlOiBDZWNpbGlhIEd1aWxsZXJtaW5hIEdhcmPDrWEgR3VlcnJhMB4XDTEyMDkyNjIwMjU0MVoXDTE2MDkyNjIwMjU0MVowgb4xIDAeBgNVBAMTF0FMRU4gREVMIE5PUlRFIFNBIERFIENWMSAwHgYDVQQpExdBTEVOIERFTCBOT1JURSBTQSBERSBDVjEgMB4GA1UEChMXQUxFTiBERUwgTk9SVEUgU0EgREUgQ1YxJTAjBgNVBC0THEFOWDk0MDIyM0pRMCAvIFBFTEo3NzA3MDRCMjMxHjAcBgNVBAUTFSAvIFBFTEo3NzA3MDRIVlpSUlMwNjEPMA0GA1UECxMGTUFUUklaMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwuKjNG7Yl8g71Mplngs+V/7RWEEbT0wLSI9hNzvjacqmykH4Yr2PPqcAuc17w+nl8SPEDu1bQPn4lxFzGckjIh2Jk98FJw6jddykWkV0CyzxBxKnhwb5v0llwrihTllwP9NMepdsfuYWk63H0xnFDBZnM/zJbuMi/0g+2VvDvuwIDAQABox0wGzAMBgNVHRMBAf8EAjAAMAsGA1UdDwQEAwIGwDANBgkqhkiG9w0BAQUFAAOCAQEAE9QscKsGhpIghUUsO1wWchW8xug7qOSyPryZ2m4bDY05IyrcVHZHkhCfXS8itlPYnUpmkimdUbIp4PTmrsoMa7Uvrf9kL8JH616zQ6ZF+ft1lm46ffXQ1D7lDYHgw8zSv9KDB6r4sxBo1CbhrI/WHPLtUkd2ruvcZ175DX6MV1iAcxmyNgjXFqCnsFhx7iIf+GvigNUjrm7z4QVRdhviQyfsy8zwtdOLEDGEddctw7D4D6XFt8bX1n8orHwkLa+71OfFM96UDuOSjRsDo/YeP0MYnjmzfad4OFgtnY8WmuTJx94mLv6AoI/zgaGGZNdLq9uGVEjFkPe7K4W3jjh81Q==" condicionesDePago="30 DIAS RECEP MERCANCIA" fecha="2016-05-19T18:09:45" folio="00415878" formaDePago="Pago en una sola exhibición" metodoDePago="Transferencia Bancaria" noCertificado="00001000000202027742" sello="a0q46UiK5O3JTnIrHxnmtEU5gr5i57wxKZ+4lHkXRa6HNYfnbbzOH/Ur6u+KMEIINi60xKsvQr7jCerFpA5BsrMKYS7WqeclV3VlWagrMwYcJR8pZwz2h3/Hg1neP3d/2kGU/yBOk+O7TOU/tOU6h40RD0liGfRRgplYUcSgG1s=" serie="ALNSO" subTotal="49340.48" tipoDeComprobante="ingreso" total="57234.96" version="3.2" xsi:schemaLocation="http://www.sat.gob.mx/cfd/3 http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv32.xsd http://www.sat.gob.mx/detallista http://www.sat.gob.mx/sitio_internet/cfd/detallista/detallista.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cfdi="http://www.sat.gob.mx/cfd/3">

<cfdi:Emisor nombre="ALEN DEL NORTE S.A. DE C.V." rfc="ANX940223JQ0">

<cfdi:DomicilioFiscal calle="BLVD.DIAZ ORDAZ" codigoPostal="66150" colonia="LOS TREVIÑO" estado="Nuevo Leon" localidad="SANTA CATARINA" municipio="SANTA CATARINA" noExterior="1000" pais="Mexico"/>

<cfdi:ExpedidoEn calle="Blvd. Díaz Ordaz" codigoPostal="66150" colonia="Los Treviño" estado="Nuevo Leon" localidad="Santa Catarina" municipio="Santa Catarina" noExterior="1000" pais="Mexico"/>

<cfdi:RegimenFiscal Regimen="Personas morales del régimen general"/>

</cfdi:Emisor>

<cfdi:Receptor nombre="SUPERMERCADOS INTERNACIONALES H.E.B., S.A. DE C.V." rfc="SIH9511279T7">

<cfdi:Domicilio calle="HIDALGO" codigoPostal="64060" colonia="OBISPADO" estado="Nuevo Leon" localidad="MONTERREY" noExterior="2405" pais="Mexico"/>

</cfdi:Receptor>

<cfdi:Conceptos>

<cfdi:Concepto cantidad="6" descripcion="PINOL ESENCIAS NAT REG 2000ML C8" importe="1103.06" noIdentificacion="0336" unidad="CJ" valorUnitario="183.8433"/>

<cfdi:Concepto cantidad="19" descripcion="PINOL ESENCIAS NAT REG 2000ML C8" importe="3493.01" noIdentificacion="0336" unidad="CJ" valorUnitario="183.8426"/>

<cfdi:Concepto cantidad="9" descripcion="PINOL AROMAS FLORAL 2L C8" importe="1431.00" noIdentificacion="0380" unidad="CJ" valorUnitario="159.00"/>

<cfdi:Concepto cantidad="9" descripcion="ENSUEÑO ZERO ENJ F ARMONIA 1700ML C8 TET" importe="1578.33" noIdentificacion="4411" unidad="CJ" valorUnitario="175.37"/>

<cfdi:Concepto cantidad="41" descripcion="ENSUEÑO NATUREZA COCO KARITE 850ML C12" importe="5500.67" noIdentificacion="4436" unidad="CJ" valorUnitario="134.1626"/>

<cfdi:Concepto cantidad="6" descripcion="ENSUEÑO NAT AVENA Y ALM 1.5L C9" importe="1083.00" noIdentificacion="4462" unidad="CJ" valorUnitario="180.50"/>

<cfdi:Concepto cantidad="3" descripcion="PINOL DET. LIQ. FLORAL 2.9L C4" importe="1956.00" noIdentificacion="5226" unidad="CJ" valorUnitario="652.00"/>

<cfdi:Concepto cantidad="33" descripcion="PINOL DET. LIQ. ROPA COLOR 2000ML C6" importe="7589.34" noIdentificacion="5236" unidad="CJ" valorUnitario="229.98"/>

<cfdi:Concepto cantidad="25" descripcion="PINOL DET. LIQ. ROPA OSCURA 400ML C20" importe="3287.50" noIdentificacion="5245" unidad="CJ" valorUnitario="131.50"/>

<cfdi:Concepto cantidad="28" descripcion="PINOL TD LAVANDA 3.75 C6" importe="5387.48" noIdentificacion="6216" unidad="CJ" valorUnitario="192.41"/>

<cfdi:Concepto cantidad="3" descripcion="PINOL AROMAS FLORAL 2L C8" importe="477.00" noIdentificacion="0380" unidad="CJ" valorUnitario="159.00"/>

<cfdi:Concepto cantidad="14" descripcion="FLASH PAST SANIT GANCHO LAVANDA 72GR C48" importe="4144.00" noIdentificacion="1148" unidad="CJ" valorUnitario="296.00"/>

<cfdi:Concepto cantidad="2" descripcion="PINOL MULT REG 2000ML C8" importe="385.09" noIdentificacion="0304" unidad="CJ" valorUnitario="192.545"/>

<cfdi:Concepto cantidad="42" descripcion="PINOL AROMAS LAVANDA 2000ML C8" importe="6678.00" noIdentificacion="0372" unidad="CJ" valorUnitario="159.00"/>

<cfdi:Concepto cantidad="33" descripcion="PINOL AROMAS FRUTAL 2L C8" importe="5247.00" noIdentificacion="0381" unidad="CJ" valorUnitario="159.00"/>

</cfdi:Conceptos>

<cfdi:Impuestos totalImpuestosTrasladados="7894.48">

<cfdi:Traslados>

<cfdi:Traslado importe="7894.48" impuesto="IVA" tasa="16.00"/>

</cfdi:Traslados>

</cfdi:Impuestos>

<cfdi:Complemento>

<tfd:TimbreFiscalDigital xsi:schemaLocation="http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/TimbreFiscalDigital/TimbreFiscalDigital.xsd" selloCFD="a0q46UiK5O3JTnIrHxnmtEU5gr5i57wxKZ+4lHkXRa6HNYfnbbzOH/Ur6u+KMEIINi60xKsvQr7jCerFpA5BsrMKYS7WqeclV3VlWagrMwYcJR8pZwz2h3/Hg1neP3d/2kGU/yBOk+O7TOU/tOU6h40RD0liGfRRgplYUcSgG1s=" FechaTimbrado="2016-05-19T18:10:51" UUID="F3E96C94-AEF3-4A0D-9503-BEC37C7DB7AC" noCertificadoSAT="20001000000100005761" version="1.0" selloSAT="SGXTvpQWJFpoxB259coH453HkzpHjnqqQy2+lCW22k1PUVGDLTmXY+PMb/OVMgGO64nkBosxKCqbpNUVoenKVKNqgU7kwa669WHpKmvFsN7kNEF8Thpy7/b0SRkwGzRUm7oD+AQIFbn2scTfA1LkUPjsn7uKzWCYL4eLEJ9+x34=" xmlns:tfd="http://www.sat.gob.mx/TimbreFiscalDigital"/>

<detallista:detallista contentVersion="1.3.1" documentStatus="ORIGINAL" documentStructureVersion="AMC8.1" type="SimpleInvoiceType" xmlns:detallista="http://www.sat.gob.mx/detallista">

<detallista:requestForPaymentIdentification>

<detallista:entityType>INVOICE</detallista:entityType>

</detallista:requestForPaymentIdentification>

<detallista:specialInstruction code="ZZZ">

<detallista:text>CINCUENTA Y SIETE MIL DOSCIENTOS TREINTA Y CUATRO Pesos 96 /100 M.N</detallista:text>

</detallista:specialInstruction>

<detallista:orderIdentification>

<detallista:referenceIdentification type="ON">52452085</detallista:referenceIdentification>

<detallista:ReferenceDate>2016-04-09</detallista:ReferenceDate>

</detallista:orderIdentification>

<detallista:AdditionalInformation>

<detallista:referenceIdentification type="IV">ALNSO</detallista:referenceIdentification>

</detallista:AdditionalInformation>

<detallista:buyer>

<detallista:gln>7504000225003</detallista:gln>

</detallista:buyer>

<detallista:seller>

<detallista:gln>7504003674006</detallista:gln>

<detallista:alternatePartyIdentification type="SELLER_ASSIGNED_IDENTIFIER_FOR_A_PARTY">6954</detallista:alternatePartyIdentification>

</detallista:seller>

<detallista:shipTo>

<detallista:gln>7504000225027</detallista:gln>

</detallista:shipTo>

<detallista:lineItem number="1" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025403362</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025403362</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL ESENCIAS NAT REG 2000ML </detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">6</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>183.8433</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>183.8433</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>6</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>1103.06</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>1103.06</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="2" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025403362</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025403362</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL ESENCIAS NAT REG 2000ML </detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">19</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>183.8426</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>183.8426</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>19</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>3493.01</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>3493.01</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="3" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025403805</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025403805</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL AROMAS FLORAL 2L C8</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">9</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>9</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>1431.00</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>1431.00</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="4" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025415808</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025415808</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>ENSUEÑO ZERO ENJ F ARMONIA 170</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">9</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>175.37</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>175.37</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>9</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>1578.33</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>1578.33</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="5" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025444365</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025444365</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>ENSUEÑO NATUREZA COCO KARITE 8</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">41</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>134.1626</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>134.1626</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>41</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>5500.67</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>5500.67</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="6" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025444624</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025444624</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>ENSUEÑO NAT AVENA Y ALM 1.5L C</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">6</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>180.50</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>180.50</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>6</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>1083.00</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>1083.00</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="7" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025452261</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025452261</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL DET. LIQ. FLORAL 2.9L C4</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">3</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>652.00</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>652.00</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>3</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>1956.00</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>1956.00</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="8" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025452360</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025452360</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL DET. LIQ. ROPA COLOR 20</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">33</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>229.98</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>229.98</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>33</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>7589.34</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>7589.34</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="9" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025452452</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025452452</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL DET. LIQ. ROPA OSCURA 40</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">25</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>131.50</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>131.50</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>25</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>3287.50</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>3287.50</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="10" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025462161</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025462161</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL TD LAVANDA 3.75 C6</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">28</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>192.41</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>192.41</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>28</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>5387.48</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>5387.48</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="11" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025403805</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025403805</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL AROMAS FLORAL 2L C8</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">3</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>3</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>477.00</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>477.00</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="12" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025411480</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025411480</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>FLASH PAST SANIT GANCHO LAVAND</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">14</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>296.00</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>296.00</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>14</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>4144.00</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>4144.00</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="13" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025403041</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025403041</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL MULT REG 2000ML C8</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">2</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>192.545</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>192.545</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>2</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>385.09</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>385.09</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="14" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025400125</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025400125</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL AROMAS LAVANDA 2000ML C8</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">42</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>42</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>6678.00</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>6678.00</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="15" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025403812</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025403812</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL AROMAS FRUTAL 2L C8</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">33</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>33</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>5247.00</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>5247.00</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:totalAmount>

<detallista:Amount>57234.96</detallista:Amount>

</detallista:totalAmount>

</detallista:detallista>

</cfdi:Complemento>

</cfdi:Comprobante>

</dig:SET_DIGITAL_INVOICE_REQUEST>

</soap:Body>

</soap:Envelope>



But instead of it we are getting this: <dig:SET_DIGITAL_INVOICE_REQUEST xmlns:dig="http://xmlns.heb.com/ei/DIGITAL_INVOICE_REQUEST">

<ISBUREAU>1</ISBUREAU>

<cfdi:Comprobante xmlns:cfdi="http://www.sat.gob.mx/cfd/3" LugarExpedicion="Santa Catarina Nuevo Leon" Moneda="MXN" NumCtaPago="9042" TipoCambio="1.00000" certificado="MIIEfTCCA2WgAwIBAgIUMDAwMDEwMDAwMDAyMDIwMjc3NDIwDQYJKoZIhvcNAQEFBQAwggGVMTgwNgYDVQQDDC9BLkMuIGRlbCBTZXJ2aWNpbyBkZSBBZG1pbmlzdHJhY2nDs24gVHJpYnV0YXJpYTEvMC0GA1UECgwmU2VydmljaW8gZGUgQWRtaW5pc3RyYWNpw7NuIFRyaWJ1dGFyaWExODA2BgNVBAsML0FkbWluaXN0cmFjacOzbiBkZSBTZWd1cmlkYWQgZGUgbGEgSW5mb3JtYWNpw7NuMSEwHwYJKoZIhvcNAQkBFhJhc2lzbmV0QHNhdC5nb2IubXgxJjAkBgNVBAkMHUF2LiBIaWRhbGdvIDc3LCBDb2wuIEd1ZXJyZXJvMQ4wDAYDVQQRDAUwNjMwMDELMAkGA1UEBhMCTVgxGTAXBgNVBAgMEERpc3RyaXRvIEZlZGVyYWwxFDASBgNVBAcMC0N1YXVodMOpbW9jMRUwEwYDVQQtEwxTQVQ5NzA3MDFOTjMxPjA8BgkqhkiG9w0BCQIML1Jlc3BvbnNhYmxlOiBDZWNpbGlhIEd1aWxsZXJtaW5hIEdhcmPDrWEgR3VlcnJhMB4XDTEyMDkyNjIwMjU0MVoXDTE2MDkyNjIwMjU0MVowgb4xIDAeBgNVBAMTF0FMRU4gREVMIE5PUlRFIFNBIERFIENWMSAwHgYDVQQpExdBTEVOIERFTCBOT1JURSBTQSBERSBDVjEgMB4GA1UEChMXQUxFTiBERUwgTk9SVEUgU0EgREUgQ1YxJTAjBgNVBC0THEFOWDk0MDIyM0pRMCAvIFBFTEo3NzA3MDRCMjMxHjAcBgNVBAUTFSAvIFBFTEo3NzA3MDRIVlpSUlMwNjEPMA0GA1UECxMGTUFUUklaMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwuKjNG7Yl8g71Mplngs+V/7RWEEbT0wLSI9hNzvjacqmykH4Yr2PPqcAuc17w+nl8SPEDu1bQPn4lxFzGckjIh2Jk98FJw6jddykWkV0CyzxBxKnhwb5v0llwrihTllwP9NMepdsfuYWk63H0xnFDBZnM/zJbuMi/0g+2VvDvuwIDAQABox0wGzAMBgNVHRMBAf8EAjAAMAsGA1UdDwQEAwIGwDANBgkqhkiG9w0BAQUFAAOCAQEAE9QscKsGhpIghUUsO1wWchW8xug7qOSyPryZ2m4bDY05IyrcVHZHkhCfXS8itlPYnUpmkimdUbIp4PTmrsoMa7Uvrf9kL8JH616zQ6ZF+ft1lm46ffXQ1D7lDYHgw8zSv9KDB6r4sxBo1CbhrI/WHPLtUkd2ruvcZ175DX6MV1iAcxmyNgjXFqCnsFhx7iIf+GvigNUjrm7z4QVRdhviQyfsy8zwtdOLEDGEddctw7D4D6XFt8bX1n8orHwkLa+71OfFM96UDuOSjRsDo/YeP0MYnjmzfad4OFgtnY8WmuTJx94mLv6AoI/zgaGGZNdLq9uGVEjFkPe7K4W3jjh81Q==" condicionesDePago="30 DIAS RECEP MERCANCIA" fecha="2016-05-19T18:09:45" folio="00415878" formaDePago="Pago en una sola exhibición" metodoDePago="Transferencia Bancaria" noCertificado="00001000000202027742" sello="a0q46UiK5O3JTnIrHxnmtEU5gr5i57wxKZ+4lHkXRa6HNYfnbbzOH/Ur6u+KMEIINi60xKsvQr7jCerFpA5BsrMKYS7WqeclV3VlWagrMwYcJR8pZwz2h3/Hg

1neP3d/2kGU/yBOk+O7TOU/tOU6h40RD0liGfRRgplYUcSgG1s=" serie="ALNSO" subTotal="49340.48" tipoDeComprobante="ingreso" total="57234.96" version="3.2" xsi:schemaLocation="http://www.sat.gob.mx/cfd/3 http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv32.xsd http://www.sat.gob.mx/detallista http://www.sat.gob.mx/sitio_internet/cfd/detallista/detallista.xsd"> <cfdi:Emisor nombre="ALEN DEL NORTE S.A. DE C.V." rfc="ANX940223JQ0">

<cfdi:DomicilioFiscal calle="BLVD.DIAZ ORDAZ" codigoPostal="66150" colonia="LOS TREVIÑO" estado="Nuevo Leon" localidad="SANTA CATARINA" municipio="SANTA CATARINA" noExterior="1000" pais="Mexico"></cfdi:DomicilioFiscal>

<cfdi:ExpedidoEn calle="Blvd. Díaz Ordaz" codigoPostal="66150" colonia="Los Treviño" estado="Nuevo Leon" localidad="Santa Catarina" municipio="Santa Catarina" noExterior="1000" pais="Mexico"></cfdi:ExpedidoEn>

<cfdi:RegimenFiscal Regimen="Personas morales del régimen general"></cfdi:RegimenFiscal>

</cfdi:Emisor>

<cfdi:Receptor nombre="SUPERMERCADOS INTERNACIONALES H.E.B., S.A. DE C.V." rfc="SIH9511279T7">

<cfdi:Domicilio calle="HIDALGO" codigoPostal="64060" colonia="OBISPADO" estado="Nuevo Leon" localidad="MONTERREY" noExterior="2405" pais="Mexico"></cfdi:Domicilio>

</cfdi:Receptor>

<cfdi:Conceptos>

<cfdi:Concepto cantidad="6" descripcion="PINOL ESENCIAS NAT REG 2000ML C8" importe="1103.06" noIdentificacion="0336" unidad="CJ" valorUnitario="183.8433"></cfdi:Concepto>

<cfdi:Concepto cantidad="19" descripcion="PINOL ESENCIAS NAT REG 2000ML C8" importe="3493.01" noIdentificacion="0336" unidad="CJ" valorUnitario="183.8426"></cfdi:Concepto>

<cfdi:Concepto cantidad="9" descripcion="PINOL AROMAS FLORAL 2L C8" importe="1431.00" noIdentificacion="0380" unidad="CJ" valorUnitario="159.00"></cfdi:Concepto>

<cfdi:Concepto cantidad="9" descripcion="ENSUEÑO ZERO ENJ F ARMONIA 1700ML C8 TET" importe="1578.33" noIdentificacion="4411" unidad="CJ" valorUnitario="175.37"></cfdi:Concepto>

<cfdi:Concepto cantidad="41" descripcion="ENSUEÑO NATUREZA COCO KARITE 850ML C12" importe="5500.67" noIdentificacion="4436" unidad="CJ" valorUnitario="134.1626"></cfdi:Concepto>

<cfdi:Concepto cantidad="6" descripcion="ENSUEÑO NAT AVENA Y ALM 1.5L C9" importe="1083.00" noIdentificacion="4462" unidad="CJ" valorUnitario="180.50"></cfdi:Concepto>

<cfdi:Concepto cantidad="3" descripcion="PINOL DET. LIQ. FLORAL 2.9L C4" importe="1956.00" noIdentificacion="5226" unidad="CJ" valorUnitario="652.00"></cfdi:Concepto>

<cfdi:Concepto cantidad="33" descripcion="PINOL DET. LIQ. ROPA COLOR 2000ML C6" importe="7589.34" noIdentificacion="5236" unidad="CJ" valorUnitario="229.98"></cfdi:Concepto>

<cfdi:Concepto cantidad="25" descripcion="PINOL DET. LIQ. ROPA OSCURA 400ML C20" importe="3287.50" noIdentificacion="5245" unidad="CJ" valorUnitario="131.50"></cfdi:Concepto>

<cfdi:Concepto cantidad="28" descripcion="PINOL TD LAVANDA 3.75 C6" importe="5387.48" noIdentificacion="6216" unidad="CJ" valorUnitario="192.41"></cfdi:Concepto>

<cfdi:Concepto cantidad="3" descripcion="PINOL AROMAS FLORAL 2L C8" importe="477.00" noIdentificacion="0380" unidad="CJ" valorUnitario="159.00"></cfdi:Concepto>

<cfdi:Concepto cantidad="14" descripcion="FLASH PAST SANIT GANCHO LAVANDA 72GR C48" importe="4144.00" noIdentificacion="1148" unidad="CJ" valorUnitario="296.00"></cfdi:Concepto>

<cfdi:Concepto cantidad="2" descripcion="PINOL MULT REG 2000ML C8" importe="385.09" noIdentificacion="0304" unidad="CJ" valorUnitario="192.545"></cfdi:Concepto>

<cfdi:Concepto cantidad="42" descripcion="PINOL AROMAS LAVANDA 2000ML C8" importe="6678.00" noIdentificacion="0372" unidad="CJ" valorUnitario="159.00"></cfdi:Concepto>

<cfdi:Concepto cantidad="33" descripcion="PINOL AROMAS FRUTAL 2L C8" importe="5247.00" noIdentificacion="0381" unidad="CJ" valorUnitario="159.00"></cfdi:Concepto>

</cfdi:Conceptos>

<cfdi:Impuestos totalImpuestosTrasladados="7894.48">

<cfdi:Traslados>

<cfdi:Traslado importe="7894.48" impuesto="IVA" tasa="16.00"></cfdi:Traslado>

</cfdi:Traslados>

</cfdi:Impuestos>

<cfdi:Complemento>

<tfd:TimbreFiscalDigital xmlns:tfd="http://www.sat.gob.mx/TimbreFiscalDigital" FechaTimbrado="2016-05-19T18:10:51" UUID="F3E96C94-AEF3-4A0D-9503-BEC37C7DB7AC" noCertificadoSAT="20001000000100005761" selloCFD="a0q46UiK5O3JTnIrHxnmtEU5gr5i57wxKZ+4lHkXRa6HNYfnbbzOH/Ur6u+KMEIINi60xKsvQr7jCerFpA5BsrMKYS7WqeclV3VlWagrMwYcJR8pZwz2h3/Hg1neP3d/2kGU/yBOk+O7TOU/tOU6h40RD0liGfRRgplYUcSgG1s=" selloSAT="SGXTvpQWJFpoxB259coH453HkzpHjnqqQy2+lCW22k1PUVGDLTmXY+PMb/OVMgGO64nkBosxKCqbpNUVoenKVKNqgU7kwa669WHpKmvFsN7kNEF8Thpy7/b0SRkwGzRUm7oD+AQIFbn2scTfA1LkUPjsn7uKzWCYL4eLEJ9+x34=" version="1.0" xsi:schemaLocation="http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/TimbreFiscalDigital/TimbreFiscalDigital.xsd"></tfd:TimbreFiscalDigital>

<detallista:detallista xmlns:detallista="http://www.sat.gob.mx/detallista" contentVersion="1.3.1" documentStatus="ORIGINAL" documentStructureVersion="AMC8.1" type="SimpleInvoiceType">

<detallista:requestForPaymentIdentification>

<detallista:entityType>INVOICE</detallista:entityType>

</detallista:requestForPaymentIdentification>

<detallista:specialInstruction code="ZZZ">

<detallista:text>CINCUENTA Y SIETE MIL DOSCIENTOS TREINTA Y CUATRO Pesos 96 /100 M.N</detallista:text>

</detallista:specialInstruction>

<detallista:orderIdentification>

<detallista:referenceIdentification type="ON">52452085</detallista:referenceIdentification>

<detallista:ReferenceDate>2016-04-09</detallista:ReferenceDate>

</detallista:orderIdentification>

<detallista:AdditionalInformation<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="true"><wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-9"><wsse:Username>XXXXX</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXX</wsse:Password></wsse:UsernameToken></wsse:Security></soapenv:Header> <soapenv:Body></soapenv:Body> </soapenv:Envelope>

Former Member
0 Kudos

It is adding in the body of the message the soap envelope that is supposed adding at the top of message, like this:

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Header>

<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="true">

<wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-178">

<wsse:Username>XXXX</wsse:Username>

<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXXX</wsse:Password>

<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">SVfVrAYlzKzaPz00HT4npg==</wsse:Nonce>

<wsu:Created>2016-05-26T17:16:21.385Z</wsu:Created>

</wsse:UsernameToken>

</wsse:Security>

</soapenv:Header>

<soapenv:Body>

<dig:SET_DIGITAL_INVOICE_REQUEST xmlns:dig="http://xmlns.heb.com/ei/DIGITAL_INVOICE_REQUEST">

<ISBUREAU>1</ISBUREAU>

<cfdi:Comprobante LugarExpedicion="Santa Catarina Nuevo Leon" Moneda="MXN" NumCtaPago="9042" TipoCambio="1.00000" certificado="MIIEfTCCA2WgAwIBAgIUMDAwMDEwMDAwMDAyMDIwMjc3NDIwDQYJKoZIhvcNAQEFBQAwggGVMTgwNgYDVQQDDC9BLkMuIGRlbCBTZXJ2aWNpbyBkZSBBZG1pbmlzdHJhY2nDs24gVHJpYnV0YXJpYTEvMC0GA1UECgwmU2VydmljaW8gZGUgQWRtaW5pc3RyYWNpw7NuIFRyaWJ1dGFyaWExODA2BgNVBAsML0FkbWluaXN0cmFjacOzbiBkZSBTZWd1cmlkYWQgZGUgbGEgSW5mb3JtYWNpw7NuMSEwHwYJKoZIhvcNAQkBFhJhc2lzbmV0QHNhdC5nb2IubXgxJjAkBgNVBAkMHUF2LiBIaWRhbGdvIDc3LCBDb2wuIEd1ZXJyZXJvMQ4wDAYDVQQRDAUwNjMwMDELMAkGA1UEBhMCTVgxGTAXBgNVBAgMEERpc3RyaXRvIEZlZGVyYWwxFDASBgNVBAcMC0N1YXVodMOpbW9jMRUwEwYDVQQtEwxTQVQ5NzA3MDFOTjMxPjA8BgkqhkiG9w0BCQIML1Jlc3BvbnNhYmxlOiBDZWNpbGlhIEd1aWxsZXJtaW5hIEdhcmPDrWEgR3VlcnJhMB4XDTEyMDkyNjIwMjU0MVoXDTE2MDkyNjIwMjU0MVowgb4xIDAeBgNVBAMTF0FMRU4gREVMIE5PUlRFIFNBIERFIENWMSAwHgYDVQQpExdBTEVOIERFTCBOT1JURSBTQSBERSBDVjEgMB4GA1UEChMXQUxFTiBERUwgTk9SVEUgU0EgREUgQ1YxJTAjBgNVBC0THEFOWDk0MDIyM0pRMCAvIFBFTEo3NzA3MDRCMjMxHjAcBgNVBAUTFSAvIFBFTEo3NzA3MDRIVlpSUlMwNjEPMA0GA1UECxMGTUFUUklaMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwuKjNG7Yl8g71Mplngs+V/7RWEEbT0wLSI9hNzvjacqmykH4Yr2PPqcAuc17w+nl8SPEDu1bQPn4lxFzGckjIh2Jk98FJw6jddykWkV0CyzxBxKnhwb5v0llwrihTllwP9NMepdsfuYWk63H0xnFDBZnM/zJbuMi/0g+2VvDvuwIDAQABox0wGzAMBgNVHRMBAf8EAjAAMAsGA1UdDwQEAwIGwDANBgkqhkiG9w0BAQUFAAOCAQEAE9QscKsGhpIghUUsO1wWchW8xug7qOSyPryZ2m4bDY05IyrcVHZHkhCfXS8itlPYnUpmkimdUbIp4PTmrsoMa7Uvrf9kL8JH616zQ6ZF+ft1lm46ffXQ1D7lDYHgw8zSv9KDB6r4sxBo1CbhrI/WHPLtUkd2ruvcZ175DX6MV1iAcxmyNgjXFqCnsFhx7iIf+GvigNUjrm7z4QVRdhviQyfsy8zwtdOLEDGEddctw7D4D6XFt8bX1n8orHwkLa+71OfFM96UDuOSjRsDo/YeP0MYnjmzfad4OFgtnY8WmuTJx94mLv6AoI/zgaGGZNdLq9uGVEjFkPe7K4W3jjh81Q==" condicionesDePago="30 DIAS RECEP MERCANCIA" fecha="2016-05-19T18:09:45" folio="00415878" formaDePago="Pago en una sola exhibición" metodoDePago="Transferencia Bancaria" noCertificado="00001000000202027742" sello="a0q46UiK5O3JTnIrHxnmtEU5gr5i57wxKZ+4lHkXRa6HNYfnbbzOH/Ur6u+KMEIINi60xKsvQr7jCerFpA5BsrMKYS7WqeclV3VlWagrMwYcJR8pZwz2h3/Hg1neP3d/2kGU/yBOk+O7TOU/tOU6h40RD0liGfRRgplYUcSgG1s=" serie="ALNSO" subTotal="49340.48" tipoDeComprobante="ingreso" total="57234.96" version="3.2" xsi:schemaLocation="http://www.sat.gob.mx/cfd/3 http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv32.xsd http://www.sat.gob.mx/detallista http://www.sat.gob.mx/sitio_internet/cfd/detallista/detallista.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cfdi="http://www.sat.gob.mx/cfd/3">

<cfdi:Emisor nombre="ALEN DEL NORTE S.A. DE C.V." rfc="ANX940223JQ0">

<cfdi:DomicilioFiscal calle="BLVD.DIAZ ORDAZ" codigoPostal="66150" colonia="LOS TREVIÑO" estado="Nuevo Leon" localidad="SANTA CATARINA" municipio="SANTA CATARINA" noExterior="1000" pais="Mexico"/>

<cfdi:ExpedidoEn calle="Blvd. Díaz Ordaz" codigoPostal="66150" colonia="Los Treviño" estado="Nuevo Leon" localidad="Santa Catarina" municipio="Santa Catarina" noExterior="1000" pais="Mexico"/>

<cfdi:RegimenFiscal Regimen="Personas morales del régimen general"/>

</cfdi:Emisor>

<cfdi:Receptor nombre="SUPERMERCADOS INTERNACIONALES H.E.B., S.A. DE C.V." rfc="SIH9511279T7">

<cfdi:Domicilio calle="HIDALGO" codigoPostal="64060" colonia="OBISPADO" estado="Nuevo Leon" localidad="MONTERREY" noExterior="2405" pais="Mexico"/>

</cfdi:Receptor>

<cfdi:Conceptos>

<cfdi:Concepto cantidad="6" descripcion="PINOL ESENCIAS NAT REG 2000ML C8" importe="1103.06" noIdentificacion="0336" unidad="CJ" valorUnitario="183.8433"/>

<cfdi:Concepto cantidad="19" descripcion="PINOL ESENCIAS NAT REG 2000ML C8" importe="3493.01" noIdentificacion="0336" unidad="CJ" valorUnitario="183.8426"/>

<cfdi:Concepto cantidad="9" descripcion="PINOL AROMAS FLORAL 2L C8" importe="1431.00" noIdentificacion="0380" unidad="CJ" valorUnitario="159.00"/>

<cfdi:Concepto cantidad="9" descripcion="ENSUEÑO ZERO ENJ F ARMONIA 1700ML C8 TET" importe="1578.33" noIdentificacion="4411" unidad="CJ" valorUnitario="175.37"/>

<cfdi:Concepto cantidad="41" descripcion="ENSUEÑO NATUREZA COCO KARITE 850ML C12" importe="5500.67" noIdentificacion="4436" unidad="CJ" valorUnitario="134.1626"/>

<cfdi:Concepto cantidad="6" descripcion="ENSUEÑO NAT AVENA Y ALM 1.5L C9" importe="1083.00" noIdentificacion="4462" unidad="CJ" valorUnitario="180.50"/>

<cfdi:Concepto cantidad="3" descripcion="PINOL DET. LIQ. FLORAL 2.9L C4" importe="1956.00" noIdentificacion="5226" unidad="CJ" valorUnitario="652.00"/>

<cfdi:Concepto cantidad="33" descripcion="PINOL DET. LIQ. ROPA COLOR 2000ML C6" importe="7589.34" noIdentificacion="5236" unidad="CJ" valorUnitario="229.98"/>

<cfdi:Concepto cantidad="25" descripcion="PINOL DET. LIQ. ROPA OSCURA 400ML C20" importe="3287.50" noIdentificacion="5245" unidad="CJ" valorUnitario="131.50"/>

<cfdi:Concepto cantidad="28" descripcion="PINOL TD LAVANDA 3.75 C6" importe="5387.48" noIdentificacion="6216" unidad="CJ" valorUnitario="192.41"/>

<cfdi:Concepto cantidad="3" descripcion="PINOL AROMAS FLORAL 2L C8" importe="477.00" noIdentificacion="0380" unidad="CJ" valorUnitario="159.00"/>

<cfdi:Concepto cantidad="14" descripcion="FLASH PAST SANIT GANCHO LAVANDA 72GR C48" importe="4144.00" noIdentificacion="1148" unidad="CJ" valorUnitario="296.00"/>

<cfdi:Concepto cantidad="2" descripcion="PINOL MULT REG 2000ML C8" importe="385.09" noIdentificacion="0304" unidad="CJ" valorUnitario="192.545"/>

<cfdi:Concepto cantidad="42" descripcion="PINOL AROMAS LAVANDA 2000ML C8" importe="6678.00" noIdentificacion="0372" unidad="CJ" valorUnitario="159.00"/>

<cfdi:Concepto cantidad="33" descripcion="PINOL AROMAS FRUTAL 2L C8" importe="5247.00" noIdentificacion="0381" unidad="CJ" valorUnitario="159.00"/>

</cfdi:Conceptos>

<cfdi:Impuestos totalImpuestosTrasladados="7894.48">

<cfdi:Traslados>

<cfdi:Traslado importe="7894.48" impuesto="IVA" tasa="16.00"/>

</cfdi:Traslados>

</cfdi:Impuestos>

<cfdi:Complemento>

<tfd:TimbreFiscalDigital xsi:schemaLocation="http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/TimbreFiscalDigital/TimbreFiscalDigital.xsd" selloCFD="a0q46UiK5O3JTnIrHxnmtEU5gr5i57wxKZ+4lHkXRa6HNYfnbbzOH/Ur6u+KMEIINi60xKsvQr7jCerFpA5BsrMKYS7WqeclV3VlWagrMwYcJR8pZwz2h3/Hg1neP3d/2kGU/yBOk+O7TOU/tOU6h40RD0liGfRRgplYUcSgG1s=" FechaTimbrado="2016-05-19T18:10:51" UUID="F3E96C94-AEF3-4A0D-9503-BEC37C7DB7AC" noCertificadoSAT="20001000000100005761" version="1.0" selloSAT="SGXTvpQWJFpoxB259coH453HkzpHjnqqQy2+lCW22k1PUVGDLTmXY+PMb/OVMgGO64nkBosxKCqbpNUVoenKVKNqgU7kwa669WHpKmvFsN7kNEF8Thpy7/b0SRkwGzRUm7oD+AQIFbn2scTfA1LkUPjsn7uKzWCYL4eLEJ9+x34=" xmlns:tfd="http://www.sat.gob.mx/TimbreFiscalDigital"/>

<detallista:detallista contentVersion="1.3.1" documentStatus="ORIGINAL" documentStructureVersion="AMC8.1" type="SimpleInvoiceType" xmlns:detallista="http://www.sat.gob.mx/detallista">

<detallista:requestForPaymentIdentification>

<detallista:entityType>INVOICE</detallista:entityType>

</detallista:requestForPaymentIdentification>

<detallista:specialInstruction code="ZZZ">

<detallista:text>CINCUENTA Y SIETE MIL DOSCIENTOS TREINTA Y CUATRO Pesos 96 /100 M.N</detallista:text>

</detallista:specialInstruction>

<detallista:orderIdentification>

<detallista:referenceIdentification type="ON">52452085</detallista:referenceIdentification>

<detallista:ReferenceDate>2016-04-09</detallista:ReferenceDate>

</detallista:orderIdentification>

<detallista:AdditionalInformation>

<detallista:referenceIdentification type="IV">ALNSO</detallista:referenceIdentification>

</detallista:AdditionalInformation>

<detallista:buyer>

<detallista:gln>7504000225003</detallista:gln>

</detallista:buyer>

<detallista:seller>

<detallista:gln>7504003674006</detallista:gln>

<detallista:alternatePartyIdentification type="SELLER_ASSIGNED_IDENTIFIER_FOR_A_PARTY">6954</detallista:alternatePartyIdentification>

</detallista:seller>

<detallista:shipTo>

<detallista:gln>7504000225027</detallista:gln>

</detallista:shipTo>

<detallista:lineItem number="1" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025403362</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025403362</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL ESENCIAS NAT REG 2000ML </detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">6</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>183.8433</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>183.8433</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>6</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>1103.06</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>1103.06</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="2" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025403362</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025403362</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL ESENCIAS NAT REG 2000ML </detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">19</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>183.8426</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>183.8426</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>19</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>3493.01</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>3493.01</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="3" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025403805</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025403805</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL AROMAS FLORAL 2L C8</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">9</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>9</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>1431.00</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>1431.00</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="4" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025415808</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025415808</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>ENSUEÑO ZERO ENJ F ARMONIA 170</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">9</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>175.37</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>175.37</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>9</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>1578.33</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>1578.33</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="5" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025444365</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025444365</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>ENSUEÑO NATUREZA COCO KARITE 8</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">41</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>134.1626</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>134.1626</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>41</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>5500.67</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>5500.67</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="6" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025444624</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025444624</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>ENSUEÑO NAT AVENA Y ALM 1.5L C</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">6</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>180.50</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>180.50</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>6</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>1083.00</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>1083.00</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="7" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025452261</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025452261</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL DET. LIQ. FLORAL 2.9L C4</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">3</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>652.00</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>652.00</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>3</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>1956.00</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>1956.00</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="8" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025452360</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025452360</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL DET. LIQ. ROPA COLOR 20</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">33</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>229.98</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>229.98</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>33</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>7589.34</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>7589.34</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="9" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025452452</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025452452</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL DET. LIQ. ROPA OSCURA 40</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">25</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>131.50</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>131.50</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>25</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>3287.50</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>3287.50</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="10" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025462161</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025462161</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL TD LAVANDA 3.75 C6</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">28</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>192.41</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>192.41</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>28</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>5387.48</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>5387.48</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="11" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025403805</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025403805</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL AROMAS FLORAL 2L C8</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">3</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>3</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>477.00</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>477.00</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="12" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025411480</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025411480</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>FLASH PAST SANIT GANCHO LAVAND</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">14</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>296.00</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>296.00</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>14</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>4144.00</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>4144.00</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="13" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025403041</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025403041</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL MULT REG 2000ML C8</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">2</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>192.545</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>192.545</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>2</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>385.09</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>385.09</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="14" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025400125</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025400125</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL AROMAS LAVANDA 2000ML C8</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">42</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>42</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>6678.00</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>6678.00</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:lineItem number="15" type="SimpleInvoiceLineItemType">

<detallista:tradeItemIdentification>

<detallista:gtin>7501025403812</detallista:gtin>

</detallista:tradeItemIdentification>

<detallista:alternateTradeItemIdentification type="BUYER_ASSIGNED">7501025403812</detallista:alternateTradeItemIdentification>

<detallista:tradeItemDescriptionInformation language="ES">

<detallista:longText>PINOL AROMAS FRUTAL 2L C8</detallista:longText>

</detallista:tradeItemDescriptionInformation>

<detallista:invoicedQuantity unitOfMeasure="CJ">33</detallista:invoicedQuantity>

<detallista:grossPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:grossPrice>

<detallista:netPrice>

<detallista:Amount>159.00</detallista:Amount>

</detallista:netPrice>

<detallista:palletInformation>

<detallista:description type="BOX">PACK</detallista:description>

<detallista:palletQuantity>33</detallista:palletQuantity>

<detallista:transport>

<detallista:methodOfPayment>PREPAID_BY_SELLER</detallista:methodOfPayment>

</detallista:transport>

</detallista:palletInformation>

<detallista:totalLineAmount>

<detallista:grossAmount>

<detallista:Amount>5247.00</detallista:Amount>

</detallista:grossAmount>

<detallista:netAmount>

<detallista:Amount>5247.00</detallista:Amount>

</detallista:netAmount>

</detallista:totalLineAmount>

</detallista:lineItem>

<detallista:totalAmount>

<detallista:Amount>57234.96</detallista:Amount>

</detallista:totalAmount>

</detallista:detallista>

</cfdi:Complemento>

</cfdi:Comprobante>

</dig:SET_DIGITAL_INVOICE_REQUEST>

</soap:Body>

</soap:Envelope>

Could you help us

Regards.

Former Member
0 Kudos

Did I miss something? this is my configuration

Thank you for you help

bhavesh_kantilal
Active Contributor
0 Kudos

You are using a SOAP Lookup API along with a SOAP Axis Framework?

I have personally never done this and hence am not sure if this variant of using the Lookup API is supported or not.

What is the error you get when you make this call?

Might be worth setting a TCP gateway to see what request goes out and what response comes back in?

Regards

Bhavesh

Former Member
0 Kudos

Bhavesh,

yes I'm doing a Soap lookup,

this is the error:

AF API call failed. Module exception: 'while trying to invoke the method org.apache.axis.types.URI.toString() of a null object returned from com.sap.xi.XI.Message._30.QualifiedName.getNamespace()',

Former Member
0 Kudos

hi Jaime,

Were you able to resolve the issue, we have same issue when trying to do SOAP lookup with receiver SOAP with AXIS protocol.

I also posted same issue in the discussion with details.Please let me know how you are able to resolve the issue.

XI AF API call failed. Module exception: Java M... | SCN

Former Member
0 Kudos

we raised a ticket to SAP, and they told us that we need to use this:"executePISOAPLookupBase() method in order to be able to take interface and namespace and later configure them to the SystemAccessor class, the errors in the Axis channel invocation will be solved."

Regards

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Jaime,

Can you share the code snippet you used to achieve this? Would he helpful to the community.

Regards

Bhavesh

Former Member
0 Kudos

Now I restarted the keystore and used the XPI Inspector to check the certificates, I'm using a soap lookup to invoke the webservice and is giving an error:

AF API call failed. Module exception: 'while trying to invoke the method org.apache.axis.types.URI.toString() of a null object returned from com.sap.xi.XI.Message._30.QualifiedName.getNamespace()',

here is my code

AbstractTrace trace = container.getTrace();

String sResponse = "";

try {

Channel channel = LookupService.getChannel("BC_B2B_HEB","CC_SOAP_RCV_HEB_CFDI");

SystemAccessor accessor = LookupService.getSystemAccessor(channel);

String SOAPxml =Sxml;

InputStream inputStream = new ByteArrayInputStream(SOAPxml.getBytes());

XmlPayload payload = LookupService.getXmlPayload(inputStream);

Payload SOAPOutPayload = null;

SOAPOutPayload = accessor.call(payload);

InputStream inp = SOAPOutPayload.getContent();

DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();

DocumentBuilder builder = factory.newDocumentBuilder();

Document document = builder.parse(inp);

NodeList list = document.getElementsByTagName("CODE");

Node node = list.item(0);

if (node != null) {

node = node.getFirstChild();

if (node != null) {

sResponse = node.getNodeValue();

}

}

}

catch (Exception e){

trace.addWarning("Error" + e);

}

return sResponse;

apu_das2
Active Contributor
0 Kudos

Error screen shot Please.

mate_moricz
Advisor
Advisor
0 Kudos

Hi Jaime,

Please provide more information about the problem you face. What issues do you face? Have you tried using XPI Inspector for troubleshooting analysis? It can help you to pinpoint the error you face.

Try using Example 50 - XI Channel for the communication channel where you face issues.

Regards,
Mate

engswee
Active Contributor
0 Kudos

Hi Jaime

Noticed that you are new on SCN and this is your first post. Welcome to SCN.

Just to share with you that the best way to get an answer is if you provide as much details on your issue. Screenshots (of configuration, logs, etc) are always good. You will have to provide more details on the error/issue you are facing, and what exactly are you referring to when you mentioned "security SOAP envelope".

As you are new here, I'd suggest you read the following blog. I admit it's a long read, but it will go a long way in providing you the right mindset for long term participation in SCN.

Regards

Eng Swee