The total amount of the payment, in the payment currency. It must reconcile against whichever list is set. The five document-linked lists (invoice_payments, bill_payments, credit_note_payments, debit_note_payments, payslip_payments) are summed by amount_to_pcy; advance blocks (credit_notes, debit_notes) without an explicit currency or rate are summed by amount. With an explicit advance currency or rate, the advance and payment must instead have equal base-currency values after fees. For money-out payments (bill_payments, credit_note_payments, payslip_payments, debit_notes) amount equals that sum plus payment_fees; for money-in payments (invoice_payments, debit_note_payments, credit_notes) it equals that sum minus payment_fees. Must be greater than zero.