Data Staging (DSA) is Avalara’s ingestion and transformation layer for Brazilian electronic fiscal documents (DFe). It reads official XML files and converts them into normalized structures required by downstream compliance systems, such as Tax Compliance and Tax Reform modules. It decouples raw document capture from tax rule logic so parsing, validation, and high-volume processing run through a dedicated pipeline instead of the tax engine itself.
Connect to Data Staging through the DSA API and UI by configuring subscriptions and upload workflows for the fiscal document types you process. Technical teams can use runbooks, deployment manifests, and swagger documentation from the Brazil Engineering and Reliability Engineering spaces to understand environments, endpoints, and onboarding practices for new document types and integrations.
Use Data Staging when you need to:
Upstream, Data Staging receives official XML files from customer or partner systems through file uploads or automated feeds into S3 and the DSA API. Downstream, it publishes normalized DFe records into Tax Compliance (TCO) and, when enabled, Tax Reform (ROC) workflows using shared canonical structures. This allows new document models added in Data Staging to be reused across multiple compliance applications without rework.