RETERENTA#

Es importante aclarar que la retención no corresponde al pago de un impuesto diferente. El gobierno nacional creó la figura de la retención en la fuente con el objetivo de recaudar anticipadamente ciertos impuestos.

El proceso de retención en la fuente ocurre en el momento de la compra de bienes o servicios, es decir, cuando se realiza el pago o el abono en cuenta. Este mecanismo permite que el contribuyente pague un impuesto en pequeñas cuotas a lo largo del año, en lugar de hacer un pago único al finalizar el período fiscal.

ReteRenta (antiguamente conocido como Retención en la fuente) que se reportan en la factura a nivel de línea#

1. WithholdingTaxCategory (RETERENTA)

Invoice.Lines.WithholdingTaxSubTotals.WithholdingTaxCategory

/Invoice/cac:InvoiceLine/cac:WithholdingTaxTotal/cac:TaxSubtotal/cac:TaxCategory

El emisor auto-retenendor debe utilizar este grupo para informar las autoretenciones que práctica. Identificador de las retenciones, el listado de los tipos de withholdingtaxes están disponibles en el método del WEB API de Saphety: WithHoldingTaxes.

2. TaxPercentage (RETERENTA)

Invoice.Lines.WithholdingTaxSubTotals.TaxPercentage

/Invoice/cac:InvoiceLine/cac:WithholdingTaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Percent

Tarifa de la retención, porcentaje a aplicar.

3. TaxableAmount (RETERENTA)

Invoice.Lines.WithholdingTaxSubTotals.TaxableAmount

/Invoice/cac:InvoiceLine/cac:WithholdingTaxTotal/cac:TaxSubtotal/cbc:TaxableAmount

Base Imponible sobre la que se calcula el valor de la retención.

4. TaxAmount (RETERENTA)

Invoice.Lines.WithholdingTaxSubTotals.TaxAmount

/Invoice/cac:InvoiceLine/cac:WithholdingTaxTotal/cac:TaxSubtotal/cbc:TaxAmount

Formula

Valor de la retención de la línea (WithholdingTaxSubTotals.TaxAmount) = Porcentaje de la tarifa de la retención (WithholdingTaxSubTotals.TaxPercentage) * Base Imponible sobre la que se calcula el valor de la retención (WithholdingTaxSubTotals.TaxableAmount).

5. WithholdingTaxCategory (RETERENTA)

Invoice.Lines.WithholdingTaxTotals.WithholdingTaxCategory

/Invoice/cac:InvoiceLine/cac:WithholdingTaxTotal/cac:TaxSubtotal/cac:TaxCategorycbc:TaxAmount

Identificador de las retenciones, el listado de los tipos de withholdingtaxes están disponibles en el método del WEB API de Saphety: WithHoldingTaxes.

6. TaxAmount (RETERENTA)

Invoice.Lines.WithholdingTaxTotals.TaxAmount

/Invoice/cac:InvoiceLine/cac:WithholdingTaxTotal/cac:TaxSubtotal/cbc:TaxAmount

Formula

Valor Total de la retención a nivel de línea Invoice.Lines.WithholdingTaxSubTotals.TaxTotals.TaxAmount = Sumatoria de todos los valores de todo los tipos de retenciones a nivel de línea ∑( Invoice.Lines.WithholdingTaxSubTotals.TaxSubTotals.TaxAmount).

.

ReteRenta (antiguamente conocido como Retención en la fuente) que se reportan a nivel global en la factura.#

1. WithholdingTaxCategory (RETERENTA)

Invoice.WithholdingTaxSubTotals.WithholdingTaxCategory

/Invoice/cac:WithholdingTaxTotal/cac:TaxSubtotal/cac:TaxCategory

El emisor auto-retenendor debe utilizar este grupo para informar las autoretenciones que práctica. Identificador de las retenciones, el listado de los tipos de withholdingtaxes están disponibles en el método del WEB API de Saphety: WithHoldingTaxes.

2. TaxPercentage (RETERENTA)

Invoice.WithholdingTaxSubTotals.TaxPercentage

/Invoice/cac:WithholdingTaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Percent

Tarifa de la retención, porcentaje a aplicar.

3. TaxableAmount (RETERENTA)

Invoice.WithholdingTaxSubTotals.TaxableAmount

/Invoice/cac:WithholdingTaxTotal/cac:TaxSubtotal/cbc:TaxableAmount

Base Imponible sobre la que se calcula el valor de la retención.

4. TaxAmount (RETERENTA)

Invoice.WithholdingTaxSubTotals.TaxAmount

/Invoice/cac:WithholdingTaxTotal/cac:TaxSubtotal/cbc:TaxAmount

Formula

Valor Total de la retención global WithholdingTaxSubTotals.TaxTotals.TaxAmount= Sumatoria de todos los valores de todo los tipos de retenciones a nivel global ∑(WithholdingTaxSubTotals.TaxSubTotals.TaxAmount)

Nota: Esta sumatoria debe reportarse agrupado por tipo de retención y porcentaje.

5. WithholdingTaxCategory (RETERENTA)

Invoice.WithholdingTaxTotals.WithholdingTaxCategory

/Invoice/cac:WithholdingTaxTotal/cac:TaxSubtotal/cac:TaxCategory

Identificador de las retenciones, el listado de los tipos de withholdingtaxes están disponibles en el método del WEB API de Saphety: WithHoldingTaxes.

6. TaxAmount (RETERENTA)

Invoice.WithholdingTaxTotals.TaxAmount

/Invoice/cac:WithholdingTaxTotal/cbc:TaxAmount

Formula

Valor Total de la retención global WithholdingTaxSubTotals.TaxTotals.TaxAmount= Sumatoria de todos los valores de todo los tipos de retenciones a nivel global ∑(WithholdingTaxSubTotals.TaxSubTotals.TaxAmount).

.

DTO RETERENTA#

JSON (DTO) - RETERENTA
{
    "Currency": "COP",
    "SeriePrefix": "SETP",
    "SerieNumber": "990040017",
    "IssueDate": "2023-11-27T12:12:12",
    "DueDate": "2023-11-27T12:12:12",
    "DeliveryDate": "2023-11-27T12:12:12",
    "CorrelationDocumentId": "POSTMAN-{{$timestamp}}",
    "SerieExternalKey": "{{serieexternalkeyFV}}",
    "IssuerParty": {
        "Identification": {
            "DocumentNumber": "{{nit}}",
            "DocumentType": "NIT",
            "CountryCode": "CO",
            "CheckDigit": "{{digitoverificacion}}"
        }
    },
    "OperationType": "10",
    "PaymentMeans": [
        {
            "Code": "20",
            "Mean": "1",
            "DueDate": "2023-11-27"
        }
    ],
    "CustomerParty": {
        "LegalType": "Legal",
        "Email": "correo@sovos.com",
        "TaxScheme": "ZZ",
        "ResponsabilityTypes": [
            "R-99-PN"
        ],
        "Identification": {
            "DocumentNumber": "{{nit}}",
            "DocumentType": "NIT",
            "CountryCode": "CO",
            "CheckDigit": "{{digitoverificacion}}"
        },
        "Name": "Saphety Transacciones Electrónicas S.A.S",
        "Address": {
            "DepartmentCode": "11",
            "CityCode": "11001",
            "AddressLine": "Calle 97a No. 9 - 45",
            "Country": "CO"
        }
    },
    "Lines": [
        {
            "Number": "1",
            "Quantity": "1",
            "QuantityUnitOfMeasure": "NAR",
            "TaxSubTotals": [
                {
                    "TaxCategory": "01",
                    "TaxPercentage": "19.00",
                    "TaxableAmount": "115000.00",
                    "TaxAmount": "21850.00"
                }
            ],
            "TaxTotals": [
                {
                    "TaxCategory": "01",
                    "TaxAmount": "21850.00",
                    "RoundingAmount": "0.00"
                }
            ],
            "WithholdingTaxSubTotals": [
                { /*Seccion para informar Subtotal de retenciones de RETERENTA a nivel de linea*/
                    "WithholdingTaxCategory": "06", /*Campo para informar Subtotal de retenciones de RETERENTA a nivel de linea*/
                    "TaxPercentage": "1", /*Campo para informar Subtotal de retenciones de RETERENTA a nivel de linea*/
                    "TaxableAmount": "115000", /*Campo para informar Subtotal de retenciones de RETERENTA a nivel de linea*/
                    "TaxAmount": "1150" /*Campo para informar Subtotal de retenciones de RETERENTA a nivel de linea*/
                }
            ],
            "WithholdingTaxTotals": [
                { /*Seccion para informar Total de retenciones de RETERENTA a nivel de linea*/
                    "WithholdingTaxCategory": "06", /*Campo para informar Total de retenciones de RETERENTA a nivel de linea*/
                    "TaxAmount": "1150.00" /*Campo para informar Total de retenciones de RETERENTA a nivel de linea*/
                }
            ],
            "UnitPrice": "115000.00",
            "GrossAmount": "115000.00",
            "NetAmount": "115000.00",
            "Item": {
                "Gtin": "987654321",
                "Description": "Descripcion del producto o servicio"
            }
        }
    ],
    "TaxSubTotals": [
        {
            "TaxCategory": "01",
            "TaxPercentage": "19.00",
            "TaxableAmount": "115000.00",
            "TaxAmount": "21850.00"
        }
    ],
    "TaxTotals": [
        {
            "TaxCategory": "01",
            "TaxAmount": "21850.00",
            "RoundingAmount": "0.00"
        }
    ],
    "WithholdingTaxSubTotals": [
        { /*Seccion para informar Subtotal de retenciones de RETERENTA a nivel global*/
            "WithholdingTaxCategory": "06", /*Campo para informar Subtotal de retenciones de RETERENTA a nivel global*/
            "TaxPercentage": "1", /*Campo para informar Subtotal de retenciones de RETERENTA a nivel global*/
            "TaxableAmount": "115000", /*Campo para informar Subtotal de retenciones de RETERENTA a nivel global*/
            "TaxAmount": "1150" /*Campo para informar Subtotal de retenciones de RETERENTA a nivel global*/
        }
    ],
    "WithholdingTaxTotals": [
        { /*Seccion para informar Total de retenciones de RETERENTA a nivel global*/
            "WithholdingTaxCategory": "06", /*Campo para informar Total de retenciones de RETERENTA a nivel global*/
            "TaxAmount": "1150.00" /*Campo para informar Total de retenciones de RETERENTA a nivel global*/
        }
    ],
    "Total": {
        "GrossAmount": "115000.00",
        "TotalBillableAmount": "136850.00",
        "PayableAmount": "136850.00",
        "TaxableAmount": "115000.00"
    }
}