Electronic invoicing in Spain
This article provides information about how to set up and work with the Spanish localization of the E-Document framework.
E-Documents framework setup
Learn more in Set up e-documents for information about how to set up the E-Documents framework.
Set up local formats
To set up the format for the E-Document service, follow these steps:
- Select the
icon, enter E-Document Services, and then select the related link.
- Select New, and on the E-Document Services page, on the General FastTab, in the Document Format field, choose Factura-E 3.2.2.
- Configure the fields as described in Set up e-documents.
- Close the page.
For use in sales, set up the workflow as described in Set up the workflow. Then, on the Document Sending Profile page, add the workflow for the customers you send e-invoices to.
Work with e-invoices
Use the E-Documents framework in purchases as described in Use e-documents in the purchases process. Learn more in Use e-documents in the sales process for information about the sales process.
Hinweis
The following nodes are determined using the following methods:
- InvoiceIssueData/ExchangeRateDetails/ExchangeRateDate is taken as the Posting Date of the document.
- InvoiceHeader/InvoiceClass is taken from the SII Sales Invoice Type. Currently, we support the following types: OO = Original Invoice, OR = Corrective, and OC = Summary.
- InvoiceLine/UnitOfMeasure tries to convert existing units of measure to the supported units of measures. If it can't, it skips the node because it isn't mandatory.
Corrections with credit memos
When you work with credit memos, before you post, on the Credit Memo Details FastTab add a reason code in the Factura-E Reason Code field.
Hinweis
The Corrective/TaxPeriod/StartDate-EndDate nodes are determined using the following method:
- Extract the posting date from the original document.
- Match the posting date with the VAT Return Period.
- If no match is found, match the posting date with the Accounting Period.
- If a match still isn't found, use the current year.