The Spanish version is the authoritative reference. View in Spanish
π¬πΉ Guatemala
This sheet assumes you know the xPOS-Core communication protocol. Here we only document what is specific to Guatemala.
Summaryβ
| Aspect | Value |
|---|---|
country code | gt |
| Tax authority | Megaprint / SAT |
| Pattern | A β XML with XSD |
Supported inputType | json, xml, xdoc, txt |
| Extra endpoint | β |
| Output | Signed tax XML |
XSLT mappingβ
| XSLT | Use |
|---|---|
input_to_dte_gt.xslt | json and xml inputs β XML <root> β Gosocket XML. |
other_to_dte_gt.xslt | txt input β Gosocket XML. Does not go through input_to_dte. |
xdoc_to_dte_gt.xslt | xdoc input β Gosocket XML. Does not go through input_to_dte. |
dte_to_fiscal_gt.xslt | Gosocket XML β SAT tax DTE. |
custom_response_gt.xslt | Generates custom_response when applicable. |
Document types (typeDoc)β
WebSocket example uses
typeDoc=1.
Guatemala-specific response fieldsβ
Guatemala returns the core + tax echo (statusCode/Description/Message), without applicationResponse or timeGeneration/Validation.
countryIdentificationCode in Guatemala is the SAT authorization number.
WebSocket exampleβ
Illustrative values. The structure is real; the data are examples.
{
"env": "sbx",
"operation": "consolidate",
"typeDoc": 1,
"country": "gt",
"inputType": "xml",
"origin": "<issuer taxId>",
"document": { /* DTE Guatemala */ }
}Particular notesβ
- PAC: submission to SAT is done via Megaprint.
- Publishes in API/Storage Gosocket.