FelEmitirFactura
Description
Section titled “Description”Issues an electronic invoice (DTE, Documento Tributario Electrónico) in Guatemala under the SAT’s (Superintendencia de Administración Tributaria) FEL (Factura Electrónica en Línea) regime. The node builds the DTE from the invoice data, optionally signs it with the issuer’s certificate, and sends it to the certified provider configured in the credential, which certifies it with the SAT.
If the credential does not have an issuer certificate loaded, the certifying provider signs the document for you. The response includes the UUID (Authorization Number) that uniquely identifies the DTE with the SAT.
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | FEL credential (certifying provider + NIT) |
| dte | json | No | Invoice (JSON): receptor (nit, nombre), items (precioUnitario VAT-included, bienOServicio B/S). Issuer comes from the credential. VAT 12%. If omitted, the input data is used |
Credentials
Section titled “Credentials”This module requires a fel credential type with the following fields:
- Issuer NIT: tax ID of the taxpayer issuing the DTE.
- Certifying provider: certified provider (e.g. INFILE or another generic one).
- Provider username/password or key: access credentials for the certifying provider’s service.
- Certificate (.p12) (optional): if loaded, the DTE is signed locally before sending; otherwise the certifying provider signs it.
- Environment:
pruebas(testing) orproducción(production).
Output
Section titled “Output”{ "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "estado": "certified", "serie": "A", "numero": "1042", "fechaCertificacion": "2026-08-05T15:30:00-06:00", "total": 1120.5, "iva": 120.05, "xml": "<...>", "certificador": "infile"}Usage Example
Section titled “Usage Example”{ "credentials_id": "cred-fel-prod", "dte": { "receptor": { "nit": "CF", "nombre": "Consumidor Final" }, "items": [ { "cantidad": 1, "descripcion": "Automation service", "precioUnitario": 1120.5, "bienOServicio": "S" } ] }}- If
dteis not sent in the configuration, the node uses the full object received indataas the invoice. - The node rejects the request if the invoice does not include at least one item (
dte.items). - If the certificate (.p12) loaded in the credential is expired, the node stops before attempting to certify.
- The returned
uuid(Authorization Number) is the value to save in order to cancel the document or generate its printable representation.
Related Nodes
Section titled “Related Nodes”- FelEmitirNota - Issue a credit/debit note referencing this invoice
- FelAnular - Cancel an already certified DTE
- FelRepresentacion - Generate the printable representation with QR