DTE/GUF — Reference by Country
This section contains reference examples of the Electronic Tax Document (DTE) — also
known as GUF (Gosocket Universal Format) — organized by country and document type.
These are the format sent in the FileContent field of the
SendDocumentToAuthority method.
DTE and GUF: the same format, two names
| Term | Origin | Common usage |
|---|---|---|
| DTE — Electronic Tax Document | Generic industry term | Used in Chile, Argentina, Colombia, etc. Also in some API endpoints. |
| GUF — Gosocket Universal Format | Gosocket internal name | Used in technical documentation, XSLTs and the integrations repository. |
They are exactly the same XML file. The Gosocket engine transforms this XML into the format required by each tax authority (UBL, CFDI, UBL-PE, etc.) before signing and submitting it.
Available countries
How to use these examples
- Select the country from the sidebar.
- Choose the document type using the code block tabs.
- Copy the XML with the built-in copy button.
- Encode it in Base64 before sending it in the
FileContentfield. - If required by the method, enable
Sign: trueso Gosocket signs the document.
The FileContent field accepts XML encoded in Base64 or as JSON (depending on
the country and configuration). See the parameter table in SendDocumentToAuthority
for per-country details.
Additional resource: XSD reference schema
If you need to explore the full node structure of the GUF/DTE, Gosocket's internal XSD schema defines all available elements, their cardinality and the xPaths used by the platform.