Spain Veri*Factu Outbound Transactions

The European Union Electronic Invoicing SuiteApp allows the processing of outbound invoice and credit memo transactions using the Veri*Factu system for NetSuite users in Spain. By providing communication with the service provider, transactions are certified in the Veri*Factu system and a URL to the Veri*Factu site is provided, which can also be scanned using a QR code.

To configure e-document templates for Spain

  1. Go to Setup > E-Documents > E-Document Template List..

  2. Select the Avalara Veri*Factu outbound Invoice/Credit memo e-document template:

  3. In the Subsidiary field, select the Spanish subsidiary and click Save.

Configuring Role Permissions for Custom Records

Custom records related to Spain Veri*Factu electronic invoicing require additional permissions for the user roles that manage transactions.

To configure role permissions for Custom Records

  1. As an administrator, go to Setup > Users/Roles > Manage Roles.

  2. From the list, select the desired role and click Edit.

  3. In the Permissions tab, go to the Lists subtab and assign at least the View level to the Custom Record Entries permission.

  4. Click Save.

To setup the QR Code to the Spanish Tax Authority in custom templates

  1. As an Administrator, go to Customization > Forms > Advanced PDF/HTML Templates.

  2. Select the PDF/HTML Template you want to edit.

  3. Click Customize to customize a standard template, or click Edit on a custom template.

  4. If you select a standard template, then choose the Template Setup option.

    In the Title field, enter the name you want to give to the template in case it doesn't have a custom name already.

  5. Select the Source Code toggle and enter the following:

                    <#-- VERIFACTU QR Code BEGINNING -->
    <table class="QR" style="width: 100%">
     <tr>
       <td align="right">   
          <#if record.custbody_euei_es_vf_transaction_url?has_content>
            <#assign anchor = record.custbody_euei_es_vf_transaction_url>        
            <#assign urlStart = anchor?index_of('href="') + 6>       
            <#assign urlEnd = anchor?index_of('"', urlStart)>       
            <#assign url = anchor?substring(urlStart, urlEnd)> 
    
            <p align="center">        
              <barcode codetype="qrcode" showtext="true" height="100" width="100"
        value="${url}"/>         
                  <br/>          
                  VERI*FACTU        
            </p>      
          </#if>    
        </td>  
     </tr>          
    </table>
    <#-- VERIFACTU QR Code END --> 
    
                  
  6. Click Save.

To certify outbound transactions for Spain

  1. Go to Transactions > Invoices.

  2. Select the invoice that needs to be certified.

  3. Fill in all the required fields.

  4. In the E-Document subtab, make sure the Avalara Veri*Factu outbound Invoice/Credit Memo template is selected in the E-Document Template field.

  5. Click Save.

  6. Some fields will be automatically populated:

    • In the Veri*Factu subtab:

      • Veri*Factu Transaction URL, which includes a URL linking to the corresponding Spanish Tax Authority website to track the certified transaction, which can be scanned as a QR code in the printed version.

      • Veri*Factu Type of Issued Invoice

      • Veri*Factu Qualification Type of Taxable/Non-exempt Transaction

      • Veri*Factu Special Regime Key

      • Veri*Factu Recipient Identification Type

  7. After the transaction is saved, the E-Document Status field is set to For Generation.

  8. Click Generate E-Document. The E-Document Status field is set to Ready for Certification.

  9. Click Certify E-Document.

  10. Check the E-Document Status and E-Document Audit Trail fields to see if it's successfully sent for certification.

  11. Some fields will be populated after the transaction is saved:

    • In the Network References subtab:

      • OBN Document ID

      • Avalara Document ID

      • Avalara Mandate

Accessing the Declaration of the Invoicing Software System (Veri¨*Factu)

Oracle NetSuite provides access to the Declaration of the invoicing software system (Veri*Factu) document to all customers that use Spain Veri*Factu electronic invoicing features. The document is available both in English and Spanish.

To access the Declaration of the Invoicing Software System (Veri*Factu)

  1. Go to Documents.

  2. In the File Cabinet, go to SuiteApps > com.netsuite.euelectronicinvoicing > statement > ES.

  3. Both the English and Spanish version of the document is available to view and print:

    • Verifactu_Declaration_NetSuite v2025X_EN_Final.pdf

    • Verifactu_Declaration_NetSuite v2025X_ES_Final.pdf

Sourcing logic for Veri*Factu-specific fields

The Electronic Invoicing Builder Kit feature enables you to implement e-invoicing solutions for the requirements needed for mandates by Service Providers. All the main fields and their sourcing logic are listed in the Sourcing custom data for e-documents section.

The following table shows the sourcing logic for the Veri*Factu-specific fields:

Field

Mapping

Veri*Factu Type of Issued Invoice

/Invoice/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/ava:DocumentExtension/ava:InvoiceData/ava:InvoiceType

Veri*Factu Recipient Identification Type

UBL GENERIC):/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID/@schemeID

Veri*Factu Special Regime Key

/Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:ID

Veri*Factu Qualification Type of Taxable/Non-exempt Transaction

/Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:ID

Veri*Factu Tax Exemption Reason for Taxable and Exempt Transactions

/Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:TaxExemptionReasonCode

General Notices