Field mapping management for e-invoice file templates for Spain
The Spain package includes a default Avalara-ready file template aligned to the supported FACE / UBL / Clearance flow for vendor validation.
When you review or extend the file template for Spain, verify that the following categories of data are mapped correctly from Zuora to the e-invoice payload:
Seller legal entity and tax identification details
Buyer legal and destination details
Invoice header information, including billing document identifiers and dates
Line-level commercial and tax information needed by the Spain package
Document-type handling for Invoice, Credit Memo, and Debit Memo templates where applicable
Recommendations
Start with the default Spain template delivered as part of the pre-integrated package.
Do not introduce country-specific customizations unless they are required for a validated Spain business scenario.
Keep field mappings consistent across Invoice, Credit Memo, and Debit Memo templates where the same source data is used.
Because response mapping is currently not defined for Spain, document any interim operational handling outside the response-mapping configuration itself.