Debian Codegraph @

test/xades/factura_ejemplo2_32v1.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <fe:Facturae xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:fe="http://www.facturae.es/Facturae/2009/v3.2/Facturae"><FileHeader><SchemaVersion>3.2</SchemaVersion><Modality>I</Modality><InvoiceIssuerType>EM</InvoiceIssuerType><Batch><BatchIdentifier>0000000000B18</BatchIdentifier><InvoicesCount>1</InvoicesCount><TotalInvoicesAmount><TotalAmount>63.13</TotalAmount></TotalInvoicesAmount><TotalOutstandingAmount><TotalAmount>63.13</TotalAmount></TotalOutstandingAmount><TotalExecutableAmount><TotalAmount>63.13</TotalAmount></TotalExecutableAmount><InvoiceCurrencyCode>EUR</InvoiceCurrencyCode></Batch></FileHeader><Parties><SellerParty><TaxIdentification><PersonTypeCode>J</PersonTypeCode><ResidenceTypeCode>R</ResidenceTypeCode><TaxIdentificationNumber>A82735122</TaxIdentificationNumber></TaxIdentification><LegalEntity><CorporateName>Company Comp SA</CorporateName><TradeName>Comp</TradeName><RegistrationData><Book>1</Book><RegisterOfCompaniesLocation>12AP22</RegisterOfCompaniesLocation><Sheet>3</Sheet><Folio>15</Folio><Section>2</Section><Volume>12</Volume><AdditionalRegistrationData>Sin datos</AdditionalRegistrationData></RegistrationData><AddressInSpain><Address>C/ Mayour 33 15º E</Address><PostCode>28001</PostCode><Town>Argamasilla de Alba</Town><Province>Ciudad Real</Province><CountryCode>ESP</CountryCode></AddressInSpain><ContactDetails><Telephone>917776665</Telephone><TeleFax>917776666</TeleFax><WebAddress>www.facturae.es</WebAddress><ElectronicMail>[email protected]</ElectronicMail><ContactPersons>Fernando</ContactPersons><CnoCnae>28000</CnoCnae><INETownCode>2134AAB</INETownCode><AdditionalContactDetails>Otros datos</AdditionalContactDetails></ContactDetails></LegalEntity></SellerParty><BuyerParty><TaxIdentification><PersonTypeCode>F</PersonTypeCode><ResidenceTypeCode>E</ResidenceTypeCode><TaxIdentificationNumber>0000000000B</TaxIdentificationNumber></TaxIdentification><AdministrativeCentres><AdministrativeCentre><CentreCode>1</CentreCode><RoleTypeCode>02</RoleTypeCode><Name>Ruth</Name><FirstSurname>Mauriño</FirstSurname><OverseasAddress><Address>Armenia 1922</Address><PostCodeAndTown>00000 Buenos Aires</PostCodeAndTown><Province>Capital Federal</Province><CountryCode>ARG</CountryCode></OverseasAddress><CentreDescription>Centro principal de recepción</CentreDescription></AdministrativeCentre></AdministrativeCentres><Individual><Name>Juana</Name><FirstSurname>Mauriño</FirstSurname><OverseasAddress><Address>Juncal 1315</Address><PostCodeAndTown>00000 Buenos Aires</PostCodeAndTown><Province>Capital Federal</Province><CountryCode>ARG</CountryCode></OverseasAddress><ContactDetails><Telephone>00547775554</Telephone><TeleFax>00547775555</TeleFax></ContactDetails></Individual></BuyerParty></Parties><Invoices><Invoice><InvoiceHeader><InvoiceNumber>18</InvoiceNumber><InvoiceSeriesCode></InvoiceSeriesCode><InvoiceDocumentType>FC</InvoiceDocumentType><InvoiceClass>OO</InvoiceClass></InvoiceHeader><InvoiceIssueData><IssueDate>2010-03-10</IssueDate><OperationDate>2010-03-10</OperationDate><PlaceOfIssue><PostCode>00000</PostCode><PlaceOfIssueDescription>Regalos</PlaceOfIssueDescription></PlaceOfIssue><InvoicingPeriod><StartDate>2010-03-09</StartDate><EndDate>2010-03-10</EndDate></InvoicingPeriod><InvoiceCurrencyCode>EUR</InvoiceCurrencyCode><TaxCurrencyCode>EUR</TaxCurrencyCode><LanguageName>es</LanguageName></InvoiceIssueData><TaxesOutputs><Tax><TaxTypeCode>01</TaxTypeCode><TaxRate>16.00</TaxRate><TaxableBase><TotalAmount>26.00</TotalAmount></TaxableBase><TaxAmount><TotalAmount>4.16</TotalAmount></TaxAmount><EquivalenceSurcharge>1.00</EquivalenceSurcharge><EquivalenceSurchargeAmount><TotalAmount>0.26</TotalAmount></EquivalenceSurchargeAmount></Tax><Tax><TaxTypeCode>01</TaxTypeCode><TaxRate>0.00</TaxRate><TaxableBase><TotalAmount>0.00</TotalAmount></TaxableBase></Tax></TaxesOutputs><TaxesWithheld><Tax><TaxTypeCode>05</TaxTypeCode><TaxRate>4.00</TaxRate><TaxableBase><TotalAmount>26.00</TotalAmount></TaxableBase><TaxAmount><TotalAmount>1.04</TotalAmount></TaxAmount></Tax></TaxesWithheld><InvoiceTotals><TotalGrossAmount>59.75</TotalGrossAmount><TotalGeneralDiscounts>0.00</TotalGeneralDiscounts><TotalGeneralSurcharges>0.00</TotalGeneralSurcharges><TotalGrossAmountBeforeTaxes>59.75</TotalGrossAmountBeforeTaxes><TotalTaxOutputs>4.42</TotalTaxOutputs><TotalTaxesWithheld>1.04</TotalTaxesWithheld><InvoiceTotal>63.13</InvoiceTotal><TotalOutstandingAmount>63.13</TotalOutstandingAmount><TotalExecutableAmount>63.13</TotalExecutableAmount></InvoiceTotals><Items><InvoiceLine><IssuerContractReference>A9938281</IssuerContractReference><IssuerContractDate>2010-03-10</IssuerContractDate><IssuerTransactionReference>A9938282</IssuerTransactionReference><IssuerTransactionDate>2010-03-10</IssuerTransactionDate><ReceiverContractReference>BBBH-38271</ReceiverContractReference><ReceiverContractDate>2010-03-10</ReceiverContractDate><ReceiverTransactionReference>BBBH-38272</ReceiverTransactionReference><ReceiverTransactionDate>2010-03-10</ReceiverTransactionDate><FileReference>000298172</FileReference><FileDate>2010-03-10</FileDate><SequenceNumber>1.0</SequenceNumber><DeliveryNotesReferences><DeliveryNote><DeliveryNoteNumber>132413842</DeliveryNoteNumber><DeliveryNoteDate>2010-03-10</DeliveryNoteDate></DeliveryNote><DeliveryNote><DeliveryNoteNumber>987673211</DeliveryNoteNumber><DeliveryNoteDate>2010-03-09</DeliveryNoteDate></DeliveryNote></DeliveryNotesReferences><ItemDescription>Flores</ItemDescription><Quantity>1.0</Quantity><UnitOfMeasure>01</UnitOfMeasure><UnitPriceWithoutTax>25.000000</UnitPriceWithoutTax><TotalCost>25.000000</TotalCost><DiscountsAndRebates><Discount><DiscountReason>Descuento</DiscountReason><DiscountRate>5.0000</DiscountRate><DiscountAmount>1.250000</DiscountAmount></Discount></DiscountsAndRebates><Charges><Charge><ChargeReason>Cargo</ChargeReason><ChargeAmount>10.000000</ChargeAmount></Charge></Charges><GrossAmount>33.750000</GrossAmount><TaxesOutputs><Tax><TaxTypeCode>01</TaxTypeCode><TaxRate>0.00</TaxRate><TaxableBase><TotalAmount>0.00</TotalAmount></TaxableBase><TaxAmount><TotalAmount>0.00</TotalAmount></TaxAmount></Tax></TaxesOutputs><AdditionalLineItemInformation>Contacto en Neuquen: Paulita</AdditionalLineItemInformation><SpecialTaxableEvent><SpecialTaxableEventCode>01</SpecialTaxableEventCode><SpecialTaxableEventReason>Concepto exento por el motivo aquí definido</SpecialTaxableEventReason></SpecialTaxableEvent><ArticleCode>142</ArticleCode></InvoiceLine><InvoiceLine><IssuerContractDate>2010-03-10</IssuerContractDate><IssuerTransactionDate>2010-03-10</IssuerTransactionDate><ReceiverContractDate>2010-03-10</ReceiverContractDate><ReceiverTransactionDate>2010-03-10</ReceiverTransactionDate><FileDate>2010-03-10</FileDate><SequenceNumber>2.0</SequenceNumber><ItemDescription>Mate</ItemDescription><Quantity>2.0</Quantity><UnitOfMeasure>01</UnitOfMeasure><UnitPriceWithoutTax>13.000000</UnitPriceWithoutTax><TotalCost>26.000000</TotalCost><GrossAmount>26.000000</GrossAmount><TaxesWithheld><Tax><TaxTypeCode>05</TaxTypeCode><TaxRate>4.00</TaxRate><TaxableBase><TotalAmount>26.00</TotalAmount></TaxableBase><TaxAmount><TotalAmount>1.04</TotalAmount></TaxAmount></Tax></TaxesWithheld><TaxesOutputs><Tax><TaxTypeCode>01</TaxTypeCode><TaxRate>16.00</TaxRate><TaxableBase><TotalAmount>26.00</TotalAmount></TaxableBase><TaxAmount><TotalAmount>4.16</TotalAmount></TaxAmount><EquivalenceSurcharge>1.00</EquivalenceSurcharge><EquivalenceSurchargeAmount><TotalAmount>0.26</TotalAmount></EquivalenceSurchargeAmount></Tax></TaxesOutputs><ArticleCode>122</ArticleCode></InvoiceLine></Items><PaymentDetails><Installment><InstallmentDueDate>2010-03-10</InstallmentDueDate><InstallmentAmount>25.00</InstallmentAmount><PaymentMeans>19</PaymentMeans><AccountToBeCredited><IBAN>4322 3432 22 1341234212</IBAN><BankCode>4322</BankCode><BranchCode>3432</BranchCode><OverseasBranchAddress><Address>Juncal 1423 8 Z</Address><PostCodeAndTown>01115 Capital Federal</PostCodeAndTown><Province>Buenos Aires</Province><CountryCode>ARG</CountryCode></OverseasBranchAddress></AccountToBeCredited><PaymentReconciliationReference>12223</PaymentReconciliationReference><AccountToBeDebited><IBAN>1234 4312 22 33212341212314</IBAN><BankCode>1234</BankCode><BranchCode>4312</BranchCode></AccountToBeDebited><DebitReconciliationReference>12223</DebitReconciliationReference></Installment></PaymentDetails></Invoice></Invoices><ds:Signature xmlns:etsi="http://uri.etsi.org/01903/v1.3.2#" Id="Signature966845">
3 <ds:SignedInfo Id="Signature-SignedInfo455687">
4 <ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></ds:CanonicalizationMethod>
5 <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
6 <ds:Reference Id="SignedPropertiesID876957" Type="http://uri.etsi.org/01903#SignedProperties" URI="#Signature966845-SignedProperties617941">
7 <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
8 <ds:DigestValue>R7r2Ut+VFTZzbBrGfglyadyo0b0=</ds:DigestValue>
9 </ds:Reference>
10 <ds:Reference URI="#Certificate1533726">
11 <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
12 <ds:DigestValue>Mox4lofdd/zqORNJKrzmXnqMbi0=</ds:DigestValue>
13 </ds:Reference>
14 <ds:Reference Id="Reference-ID-643132" URI="">
15 <ds:Transforms>
16 <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform>
17 </ds:Transforms>
18 <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
19 <ds:DigestValue>k+gejlHzCDm/l4Kd6HSpooNtp8U=</ds:DigestValue>
20 </ds:Reference>
21 </ds:SignedInfo>
22 <ds:SignatureValue Id="SignatureValue952605">
23 oYR1T06OSaryEDv8VF9/JgWmwf0KSyOXKpBWY4uAD0YoMh7hedEj8GyRnKpVpaFanqycIAwGGCgl
24 vtCNm+qeLvZXuI0cfl2RF421F8Ay+Q0ani/OtzUUE49wuvwTCClPaNdhv2vfUadR8ExR7e/gI/IL
25 51uc3mEJX+bQ8dxAQ2w=
26 </ds:SignatureValue>
27 <ds:KeyInfo Id="Certificate1533726">
28 <ds:X509Data>
29 <ds:X509Certificate>
30 MIIDtDCCAx2gAwIBAgICAIcwDQYJKoZIhvcNAQELBQAwcjELMAkGA1UEBhMCRVMxDzANBgNVBAgT
31 Bk1hZHJpZDEPMA0GA1UEBxMGTWFkcmlkMQ4wDAYDVQQKEwVNSVR5QzEbMBkGA1UECxMSTUlUeUMg
32 RE5JZSBQcnVlYmFzMRQwEgYDVQQDEwtDQSB1c3VhcmlvczAeFw0wOTEwMTUxNjA5MzRaFw0xMDEw
33 MTUxNjA5MzRaMHExCzAJBgNVBAYTAkVTMQ8wDQYDVQQIEwZNYWRyaWQxDzANBgNVBAcTBk1hZHJp
34 ZDEOMAwGA1UEChMFTUlUeUMxGzAZBgNVBAsTEk1JVHlDIEROSWUgUHJ1ZWJhczETMBEGA1UEAxMK
35 VXN1YXJpbyA1NDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAroms65axKuQK18YDfD/x6DIn
36 0zKZ+6bv1K2hItJxel/JvU3JJ80/nY5o0Zbn+PrvlR2xF3poWYcPHLZpesgxhCMfnP7Jb5OUfceL
37 g44m6T9P3PG1lSAZs3H6/TabyWGJy+cNRZMWs13KnB9fDAjJ5Jw0HVkwYNwmb1c7sHCuyxcCAwEA
38 AaOCAVgwggFUMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgXgMB0GA1UdDgQWBBTYhqU2tppJoHl+S1py
39 BOH+dliYhzCBmAYDVR0jBIGQMIGNgBT1oWqod09bsQSMp35I8Q6fxXaPG6FypHAwbjEPMA0GA1UE
40 CBMGTWFkcmlkMQ8wDQYDVQQHEwZNYWRyaWQxDjAMBgNVBAoTBU1JVHlDMRswGQYDVQQLExJNSVR5
41 QyBETkllIFBydWViYXMxEDAOBgNVBAMTB1Jvb3QgQ0ExCzAJBgNVBAYTAkVTggEDMAkGA1UdEQQC
42 MAAwNgYDVR0SBC8wLYYraHR0cDovL21pbmlzdGVyLThqZ3h5OS5taXR5Yy5hZ2UvUEtJL0NBLmNy
43 dDA9BgNVHR8ENjA0MDKgMKAuhixodHRwOi8vbWluaXN0ZXItOGpneHk5Lm1pdHljLmFnZS9QS0kv
44 Y3JsLmNybDANBgkqhkiG9w0BAQsFAAOBgQAhAN/KVouQrHOgd74gBJqGXyBXfVOeTVW+UTthhfCv
45 DatXzTcrkYPQMfBAQMgGEa5KaQXcqKKhaoCUvrzFqE0HnAGX+ytX41oxZiM2fGNxRZcyUApLEX67
46 m8HOA/Cs2ZDlpU2W7wiOX5qr+ToTyfXsnRwPWvJ8VUmmXwyMEKcuzg==
47 </ds:X509Certificate>
48 </ds:X509Data>
49 <ds:KeyValue>
50 <ds:RSAKeyValue>
51 <ds:Modulus>
52 roms65axKuQK18YDfD/x6DIn0zKZ+6bv1K2hItJxel/JvU3JJ80/nY5o0Zbn+PrvlR2xF3poWYcP
53 HLZpesgxhCMfnP7Jb5OUfceLg44m6T9P3PG1lSAZs3H6/TabyWGJy+cNRZMWs13KnB9fDAjJ5Jw0
54 HVkwYNwmb1c7sHCuyxc=
55 </ds:Modulus>
56 <ds:Exponent>AQAB</ds:Exponent>
57 </ds:RSAKeyValue>
58 </ds:KeyValue>
59 </ds:KeyInfo>
60 <ds:Object Id="Signature966845-Object492762"><etsi:QualifyingProperties Target="#Signature966845"><etsi:SignedProperties Id="Signature966845-SignedProperties617941"><etsi:SignedSignatureProperties><etsi:SigningTime>2010-03-10T12:46:58+01:00</etsi:SigningTime><etsi:SigningCertificate><etsi:Cert><etsi:CertDigest><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>jkovruHhccH+QrXmgCV9fRiYYVo=</ds:DigestValue></etsi:CertDigest><etsi:IssuerSerial><ds:X509IssuerName>CN=CA usuarios,OU=MITyC DNIe Pruebas,O=MITyC,L=Madrid,ST=Madrid,C=ES</ds:X509IssuerName><ds:X509SerialNumber>135</ds:X509SerialNumber></etsi:IssuerSerial></etsi:Cert></etsi:SigningCertificate><etsi:SignaturePolicyIdentifier><etsi:SignaturePolicyId><etsi:SigPolicyId><etsi:Identifier>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</etsi:Identifier><etsi:Description>facturae31</etsi:Description></etsi:SigPolicyId><etsi:SigPolicyHash><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>Ohixl6upD6av8N7pEvDABhEL6hM=</ds:DigestValue></etsi:SigPolicyHash></etsi:SignaturePolicyId></etsi:SignaturePolicyIdentifier><etsi:SignerRole><etsi:ClaimedRoles><etsi:ClaimedRole>emisor</etsi:ClaimedRole></etsi:ClaimedRoles></etsi:SignerRole></etsi:SignedSignatureProperties></etsi:SignedProperties></etsi:QualifyingProperties></ds:Object></ds:Signature></fe:Facturae>