Skip to content
Articles
Article

dz_invoice_tax: an exact Algerian invoice tax engine in Dart

by Abdeldjalil Chougui dev.to

6 min read

An invoice total looks like three multiplications and an addition. Then you print the invoice and the lines do not add up to the total: one centime is missing, or one too many. The usual cause is a double, or a tax that was rounded once on the total while the printed lines were rounded one by one. Algerian invoices add a second difficulty. A cash payment carries the droit de timbre de quittance, …

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by