Overview
The Retentions types are used when the invoice includes tax retentions (withholdings). In Ecuador, certain businesses are required to withhold a percentage of taxes on behalf of the tax authority.Retentions
Container for all retention information.Array of retention items. Multiple retentions can be applied to a single invoice (e.g., IVA retention + income tax retention)
Retention
Individual tax retention details.Fields
Retention tax code:
"1"- Income tax retention (Retención de Renta)"2"- VAT retention (Retención de IVA)"4"- Other retentions
Retention rate code. This varies based on the retention type:For VAT retention (
codigo: "2"):"0"- 0%"10"- 10%"20"- 20%"30"- 30%"70"- 70%"100"- 100%
codigo: "1"), see SRI retention percentage tableRetention rate percentage (e.g.,
"10" for 10%, "1" for 1%)Retention amount. Formula:
baseImponible × (tarifa / 100)where baseImponible is typically the subtotal or tax amount from the invoiceUsage Example
Common Retention Scenarios
VAT Retention (70%)
Most common for services provided to public entities or large companies:VAT Retention (100%)
Used for certain professional services:Income Tax Retention (1%)
Common for goods:Income Tax Retention (2%)
Common for services:Notes
- Retentions reduce the amount the buyer pays to the seller
- The withheld amount is paid directly to the tax authority (SRI) by the buyer
- Not all invoices require retentions - this depends on buyer/seller types and transaction nature
- Retention amounts should be reflected in the invoice totals (
valorRetIvaandvalorRetRentain InvoiceInfo) - The buyer must issue a retention receipt (Comprobante de Retención) for any withholdings
- Retention codes and percentages are defined by SRI and may change - always verify current rates
- When retentions are applied, the final payment to the seller is:
importeTotal - valorRetIva - valorRetRenta