Skip to main content

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

TermOriginCommon usage
DTE — Electronic Tax DocumentGeneric industry termUsed in Chile, Argentina, Colombia, etc. Also in some API endpoints.
GUF — Gosocket Universal FormatGosocket internal nameUsed 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

AtributoTipoDescripción
🇦🇷 [Argentina](./ar)AFIP / ARCA32 examples available
🇧🇴 [Bolivia](./bo)SIN3 examples available
🇧🇷 [Brasil](./br)SEFAZ / Prefeituras20 examples available
🇨🇱 [Chile](./cl)SII12 examples available
🇨🇴 [Colombia](./co)DIAN27 examples available
🇩🇴 [Dominican Republic](./do)DGII16 examples available
🇬🇹 [Guatemala](./gt)SAT / Megaprint14 examples available
🇪🇨 [Ecuador](./ec)SRI5 examples available
🇲🇽 [Mexico](./mx)SAT / PAC4 examples available
🇵🇦 [Panama](./pa)DGI12 examples available
🇵🇪 [Peru](./pe)SUNAT / OSE17 examples available
🇵🇾 [Paraguay](./py)SET12 examples available
🇺🇾 [Uruguay](./uy)DGI20 examples available

How to use these examples

  1. Select the country from the sidebar.
  2. Choose the document type using the code block tabs.
  3. Copy the XML with the built-in copy button.
  4. Encode it in Base64 before sending it in the FileContent field.
  5. If required by the method, enable Sign: true so Gosocket signs the document.
tip

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.

View DTE/GUF Schema — XSD Reference