
Daniel gracias por tus comentarios.
Estamos pasando con valor '0' pero seguimos teniendo el error.
Estos son los valores que estamos pasando:
</cbc:CustomerAssignedAccountID> = "RUC o numero fiscal del cliente del exterior"
</cbc:AdditionalAccountID> = "0"
No se si nos estara faltando pasar algo más como datos de direccion o datos del pais.
agradezco información
Pablo

Hola alguien sabe si cambió o dejó de funcionar estos días el webservice de factura electrónica?
<cbc:CustomerAssignedAccountID>-</cbc:CustomerAssignedAccountID>
<cbc:AdditionalAccountID>0</cbc:AdditionalAccountID>
<cbc:TaxExemptionReasonCode>40</cbc:TaxExemptionReasonCode><?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:sac="urn:sunat:names:specification:ubl:peru:schema:xsd:SunatAggregateComponents-1" xmlns:schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionContent>
<sac:AdditionalInformation>
<sac:AdditionalMonetaryTotal>
<cbc:ID>1001</cbc:ID>
<cbc:PayableAmount currencyID="PEN">11600.00</cbc:PayableAmount>
</sac:AdditionalMonetaryTotal>
<sac:AdditionalProperty>
<cbc:ID>1000</cbc:ID>
<cbc:Value>ONCE MIL SEISCIENTOS Y 00/100 SOLES</cbc:Value>
</sac:AdditionalProperty>
</sac:AdditionalInformation>
</ext:ExtensionContent>
</ext:UBLExtension>
<ext:UBLExtension>
<ext:ExtensionContent>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="SignatureSP"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>NHaOyYx6gCGf8RyGEr1URlWCVfM=</DigestValue></Reference></SignedInfo><SignatureValue>
zbWQdauecAOY2wz+</SignatureValue><KeyInfo><X509Data><X509SubjectName>1.2.840.113549.1.9.1=#1617666c6f61797a6140656c616775696c612e636f6d2e7065,CN=JOSE FERNANDO LOAYZA SILVA,OU=Identidad validada por GRAMD,OU=16730510,OU=20395263952,O=EL AGUILA SRL,L=LAMBAYEQUE,C=PE</X509SubjectName><X509Certificate>
</X509Certificate></X509Data></KeyInfo></Signature></ext:ExtensionContent>
</ext:UBLExtension>
</ext:UBLExtensions>
<cbc:UBLVersionID>2.0</cbc:UBLVersionID>
<cbc:CustomizationID>1.0</cbc:CustomizationID>
<cbc:ID>F002-00000492</cbc:ID>
<cbc:IssueDate>2017-08-28</cbc:IssueDate>
<cbc:InvoiceTypeCode>01</cbc:InvoiceTypeCode>
<cbc:DocumentCurrencyCode>PEN</cbc:DocumentCurrencyCode>
<cac:DespatchDocumentReference>
<cbc:ID>0001-0000223</cbc:ID>
<cbc:DocumentTypeCode>09</cbc:DocumentTypeCode>
</cac:DespatchDocumentReference>
<cac:Signature>
<cbc:ID>SFF002-00000498</cbc:ID>
<cac:SignatoryParty>
<cac:PartyIdentification>
<cbc:ID>20202020201</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name><![CDATA[RAZ SOCIAL S.R.L]]></cbc:Name>
</cac:PartyName>
</cac:SignatoryParty>
<cac:DigitalSignatureAttachment>
<cac:ExternalReference>
<cbc:URI>#SFF002-00000498</cbc:URI>
</cac:ExternalReference>
</cac:DigitalSignatureAttachment>
</cac:Signature>
<cac:AccountingSupplierParty>
<cbc:CustomerAssignedAccountID>20202020201</cbc:CustomerAssignedAccountID>
<cbc:AdditionalAccountID>6</cbc:AdditionalAccountID>
<cac:Party>
<cac:PartyName>
<cbc:Name><![CDATA[RAZ SOCIAL S.R.L]]></cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:ID>140101</cbc:ID>
<cbc:StreetName><![CDATA[DIRECCION - Distrito]]></cbc:StreetName>
<cbc:CitySubdivisionName/>
<cbc:CityName><![CDATA[CHICLAYO]]></cbc:CityName>
<cbc:CountrySubentity><![CDATA[LAMBAYEQUE]]></cbc:CountrySubentity>
<cbc:District><![CDATA[Distrito]]></cbc:District>
<cac:Country>
<cbc:IdentificationCode>PE</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyLegalEntity>
<cbc:RegistrationName><![CDATA[Razon Social S.R.L]]></cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cbc:CustomerAssignedAccountID>-</cbc:CustomerAssignedAccountID>
<cbc:AdditionalAccountID>0</cbc:AdditionalAccountID>
<cac:Party>
<cac:PartyLegalEntity>
<cbc:RegistrationName><![CDATA[CHRISTIAN]]></cbc:RegistrationName>
<cac:RegistrationAddress>
<cbc:StreetName/>
<cac:Country>
<cbc:IdentificationCode>BO</cbc:IdentificationCode>
</cac:Country>
</cac:RegistrationAddress>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="PEN">0.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxAmount currencyID="PEN">0.00</cbc:TaxAmount>
<cac:TaxCategory>
<cac:TaxScheme>
<cbc:ID>1000</cbc:ID>
<cbc:Name>IGV</cbc:Name>
<cbc:TaxTypeCode>VAT</cbc:TaxTypeCode>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:TaxExclusiveAmount currencyID="PEN">0.00</cbc:TaxExclusiveAmount>
<cbc:PayableAmount currencyID="PEN">11600.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="NIU">200.00</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="PEN">9830.51</cbc:LineExtensionAmount>
<cac:PricingReference>
<cac:AlternativeConditionPrice>
<cbc:PriceAmount currencyID="PEN">58.00</cbc:PriceAmount>
<cbc:PriceTypeCode>01</cbc:PriceTypeCode>
</cac:AlternativeConditionPrice>
</cac:PricingReference>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="PEN">0.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxAmount currencyID="PEN">0.00</cbc:TaxAmount>
<cbc:Percent>0.00</cbc:Percent>
<cac:TaxCategory>
<cbc:ID>VAT</cbc:ID>
<cbc:TaxExemptionReasonCode>40</cbc:TaxExemptionReasonCode>
<cac:TaxScheme>
<cbc:ID>1000</cbc:ID>
<cbc:Name>IGV</cbc:Name>
<cbc:TaxTypeCode>VAT</cbc:TaxTypeCode>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:Item>
<cbc:Description><![CDATA[Arroz Superior 25KG L/T 15.25X33"]]></cbc:Description>
<cac:SellersItemIdentification>
<cbc:ID>8020108</cbc:ID>
</cac:SellersItemIdentification>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="PEN">49.15</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
</Invoice> <cbc:CustomerAssignedAccountID>-</cbc:CustomerAssignedAccountID>
<cbc:AdditionalAccountID>-</cbc:AdditionalAccountID>