API ReferenceFunctions
calculateIcms()
@finopenpos/fiscal / calculateIcms
function calculateIcms(data): {
element: TaxElement;
totals: IcmsTotals;
};Defined in: tax-icms.ts:319
Calculate ICMS for a single item (domain logic, no XML dependency). Returns structured TaxElement + accumulated totals.
Retorna TaxElement estruturado + totais acumulados.
Parameters
| Parameter | Type | Description |
|---|
Returns
{
element: TaxElement;
totals: IcmsTotals;
}| Name | Type | Defined in |
|---|---|---|
element | TaxElement | tax-icms.ts:319 |
totals | IcmsTotals | tax-icms.ts:319 |