.. include:: /Includes.rst.txt .. _feature-1792622490: ======================================= Feature: Payroll amounts in minor units ======================================= Description =========== Payroll keeps every amount as a whole number of the currency's smallest unit, such as cents, and rounds each line once, half up. Totals are the sums of the rounded lines, so a payslip always adds up, and an amount split into instalments always adds up to the whole. Impact ====== Amounts in the payroll API are integers of minor units with their currency; decimal amounts are refused. .. index:: API, package:adsum-payroll