<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<fac:Facturae xmlns:fac="http://www.facturae.gob.es/formato/Versiones/Facturaev3_2_2.xml">
    <FileHeader>
        <SchemaVersion>3.2.2</SchemaVersion>
        <Modality>I</Modality>
        <InvoiceIssuerType>EM</InvoiceIssuerType>
        <Batch>
            <BatchIdentifier>INV/2023/00001</BatchIdentifier>
            <InvoicesCount>1</InvoicesCount>
            <TotalInvoicesAmount>
                <TotalAmount>6084.80</TotalAmount>
            </TotalInvoicesAmount>
            <TotalOutstandingAmount>
                <TotalAmount>6084.80</TotalAmount>
            </TotalOutstandingAmount>
            <TotalExecutableAmount>
                <TotalAmount>6084.80</TotalAmount>
            </TotalExecutableAmount>
            <InvoiceCurrencyCode>EUR</InvoiceCurrencyCode>
        </Batch>
    </FileHeader>
    <Parties>
      <SellerParty>
        <TaxIdentification>
            <PersonTypeCode>J</PersonTypeCode>
            <ResidenceTypeCode>R</ResidenceTypeCode>
            <TaxIdentificationNumber>ESF70432075</TaxIdentificationNumber>
        </TaxIdentification>
        <LegalEntity>
          <CorporateName>company_1_data</CorporateName>
          <TradeName>company_1_data</TradeName>
          <AddressInSpain>
            <Address>C. de Embajadores, 68-116</Address>
            <PostCode>12345</PostCode>
            <Town>Madrid</Town>
            <Province>Madrid</Province>
            <CountryCode>ESP</CountryCode>
          </AddressInSpain>
        </LegalEntity>
      </SellerParty>
      <BuyerParty>
        <TaxIdentification>
          <PersonTypeCode>J</PersonTypeCode>
          <ResidenceTypeCode>U</ResidenceTypeCode>
          <TaxIdentificationNumber>BE0477472701</TaxIdentificationNumber>
        </TaxIdentification>
        <LegalEntity xmlns:fac="http://www.facturae.gob.es/formato/Versiones/Facturaev3_2_2.xml">
          <CorporateName>partner_a</CorporateName>
          <TradeName>partner_a</TradeName>
          <OverseasAddress>
            <Address>Rue de Bruxelles, 15000</Address>
            <PostCodeAndTown>5000 Namur</PostCodeAndTown>
            <Province>Belgium</Province>
            <CountryCode>BEL</CountryCode>
          </OverseasAddress>
        </LegalEntity>
      </BuyerParty>
    </Parties>
    <Invoices>
        <Invoice>
            <InvoiceHeader>
                <InvoiceNumber>INV/2023/00001</InvoiceNumber>
                <InvoiceDocumentType>FC</InvoiceDocumentType>
                <InvoiceClass>OO</InvoiceClass>
            </InvoiceHeader>
            <InvoiceIssueData>
                <IssueDate>2023-01-01</IssueDate>
                <InvoiceCurrencyCode>EUR</InvoiceCurrencyCode>
                <TaxCurrencyCode>EUR</TaxCurrencyCode>
                <LanguageName>en</LanguageName>
            </InvoiceIssueData>
            <TaxesOutputs>
                <Tax>
                    <TaxTypeCode>01</TaxTypeCode>
                    <TaxRate>21.000</TaxRate>
                    <TaxableBase>
                        <TotalAmount>5028.76</TotalAmount>
                    </TaxableBase>
                    <TaxAmount>
                        <TotalAmount>1056.04</TotalAmount>
                    </TaxAmount>
                </Tax>
            </TaxesOutputs>
            <InvoiceTotals>
                <TotalGrossAmount>5028.76</TotalGrossAmount>
                <TotalGrossAmountBeforeTaxes>5028.76</TotalGrossAmountBeforeTaxes>
                <TotalTaxOutputs>1056.04</TotalTaxOutputs>
                <TotalTaxesWithheld>0.00</TotalTaxesWithheld>
                <InvoiceTotal>6084.80</InvoiceTotal>
                <TotalOutstandingAmount>6084.80</TotalOutstandingAmount>
                <TotalExecutableAmount>6084.80</TotalExecutableAmount>
            </InvoiceTotals>
            <Items>
                <InvoiceLine>
                    <FileDate>2023-01-01</FileDate>
                    <ItemDescription>product_a</ItemDescription>
                    <Quantity>1.0</Quantity>
                    <UnitOfMeasure>01</UnitOfMeasure>
                    <UnitPriceWithoutTax>2478.13550000</UnitPriceWithoutTax>
                    <TotalCost>2478.14</TotalCost>
                    <GrossAmount>2478.14</GrossAmount>
                    <TaxesOutputs>
                        <Tax>
                            <TaxTypeCode>01</TaxTypeCode>
                            <TaxRate>21.000</TaxRate>
                            <TaxableBase>
                                <TotalAmount>2478.14</TotalAmount>
                            </TaxableBase>
                            <TaxAmount>
                                <TotalAmount>520.41</TotalAmount>
                            </TaxAmount>
                        </Tax>
                    </TaxesOutputs>
                </InvoiceLine>
                <InvoiceLine>
                    <FileDate>2023-01-01</FileDate>
                    <ItemDescription>product_a</ItemDescription>
                    <Quantity>1.0</Quantity>
                    <UnitOfMeasure>01</UnitOfMeasure>
                    <UnitPriceWithoutTax>1062.50000000</UnitPriceWithoutTax>
                    <TotalCost>1062.50</TotalCost>
                    <GrossAmount>1062.50</GrossAmount>
                    <TaxesOutputs>
                        <Tax>
                            <TaxTypeCode>01</TaxTypeCode>
                            <TaxRate>21.000</TaxRate>
                            <TaxableBase>
                                <TotalAmount>1062.50</TotalAmount>
                            </TaxableBase>
                            <TaxAmount>
                                <TotalAmount>223.13</TotalAmount>
                            </TaxAmount>
                        </Tax>
                    </TaxesOutputs>
                </InvoiceLine>
                <InvoiceLine>
                    <FileDate>2023-01-01</FileDate>
                    <ItemDescription>product_a</ItemDescription>
                    <Quantity>1.0</Quantity>
                    <UnitOfMeasure>01</UnitOfMeasure>
                    <UnitPriceWithoutTax>1488.12500000</UnitPriceWithoutTax>
                    <TotalCost>1488.12</TotalCost>
                    <GrossAmount>1488.12</GrossAmount>
                    <TaxesOutputs>
                        <Tax>
                            <TaxTypeCode>01</TaxTypeCode>
                            <TaxRate>21.000</TaxRate>
                            <TaxableBase>
                                <TotalAmount>1488.13</TotalAmount>
                            </TaxableBase>
                            <TaxAmount>
                                <TotalAmount>312.51</TotalAmount>
                            </TaxAmount>
                        </Tax>
                    </TaxesOutputs>
                </InvoiceLine>
            </Items>
            <PaymentDetails>
                <Installment>
                    <InstallmentDueDate>2023-01-01</InstallmentDueDate>
                    <InstallmentAmount>6084.80</InstallmentAmount>
                    <PaymentMeans>04</PaymentMeans>
                    <AccountToBeCredited>
                        <IBAN>ES9121000418450200051332</IBAN>
                        <BIC>CAIXESBBXXX</BIC>
                    </AccountToBeCredited>
                </Installment>
            </PaymentDetails>
        </Invoice>
    </Invoices>
  <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="___ignore___">
    <ds:SignedInfo>
      <ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
      <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
      <ds:Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="___ignore___" Id="___ignore___">
        <ds:Transforms>
          <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
        </ds:Transforms>
        <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
        <ds:DigestValue>___ignore___</ds:DigestValue>
      </ds:Reference>
      <ds:Reference Type="http://uri.etsi.org/01903#SignedProperties" URI="___ignore___">
        <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
        <ds:DigestValue>___ignore___</ds:DigestValue>
      </ds:Reference>
      <ds:Reference URI="___ignore___">
        <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
        <ds:DigestValue>___ignore___</ds:DigestValue>
      </ds:Reference>
    </ds:SignedInfo>
    <ds:SignatureValue>___ignore___</ds:SignatureValue>
    <ds:KeyInfo Id="___ignore___">
      <ds:X509Data>
        <ds:X509Certificate>___ignore___</ds:X509Certificate>
      </ds:X509Data>
      <ds:KeyValue>
        <ds:RSAKeyValue>
          <ds:Modulus>___ignore___</ds:Modulus>
          <ds:Exponent>___ignore___</ds:Exponent>
        </ds:RSAKeyValue>
      </ds:KeyValue>
    </ds:KeyInfo>
    <ds:Object>
      <xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Target="___ignore___">
        <xades:SignedProperties Id="___ignore___">
          <xades:SignedSignatureProperties>
            <xades:SigningTime>___ignore___</xades:SigningTime>
            <xades:SigningCertificate>
              <xades:Cert>
                <xades:CertDigest>
                  <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
                  <ds:DigestValue>___ignore___</ds:DigestValue>
                </xades:CertDigest>
                <xades:IssuerSerial>
                  <ds:X509IssuerName>___ignore___</ds:X509IssuerName>
                  <ds:X509SerialNumber>___ignore___</ds:X509SerialNumber>
                </xades:IssuerSerial>
              </xades:Cert>
            </xades:SigningCertificate>
            <xades:SignaturePolicyIdentifier>
              <xades:SignaturePolicyId>
                <xades:SigPolicyId>
                  <xades:Identifier>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:Identifier>
                  <xades:Description>Política de firma electrónica para facturación electrónica con formato Facturae</xades:Description>
                </xades:SigPolicyId>
                <xades:SigPolicyHash>
                  <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                  <ds:DigestValue>___ignore___</ds:DigestValue>
                </xades:SigPolicyHash>
                <xades:SigPolicyQualifiers>
                  <xades:SigPolicyQualifier>
                    <xades:SPURI>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:SPURI>
                  </xades:SigPolicyQualifier>
                </xades:SigPolicyQualifiers>
              </xades:SignaturePolicyId>
            </xades:SignaturePolicyIdentifier>
          </xades:SignedSignatureProperties>
          <xades:SignedDataObjectProperties>
            <xades:DataObjectFormat ObjectReference="___ignore___">
              <xades:Description/>
              <xades:ObjectIdentifier>
                <xades:Identifier Qualifier="OIDAsURN">urn:oid:1.2.840.10003.5.109.10</xades:Identifier>
                <xades:Description/>
              </xades:ObjectIdentifier>
              <xades:MimeType>text/xml</xades:MimeType>
              <xades:Encoding/>
            </xades:DataObjectFormat>
          </xades:SignedDataObjectProperties>
        </xades:SignedProperties>
      </xades:QualifyingProperties>
    </ds:Object>
  </ds:Signature>
</fac:Facturae>
