createFinancePaymentTerm Mutation
Adds a payment term to this workspace. Terms are master data: they name a due rule that dates the invoices billed against them. Company attribution is recorded from this first write for the GL companies provisioning will introduce, and is null until they exist. A term may also offer an early payment discount, earned in a window measured the way the term itself falls due and closing no later than it does. Access: signed-in members of the workspace with the setupUpdate permission, in a workspace where finance is enabled. Errors: the name is empty, too long, or already held by an active term in this workspace; the input names both a day count and a day of the month, or neither; a due field is outside its range; the discount names a percentage without a window or a window without a percentage; the discount percentage is not above 0 and at most 100; the discount window is measured in the unit the term does not fall due in; the discount window closes after the term falls due; or a discount window is outside its range.
Arguments
#
Response
#
Returns FinancePaymentTerm !.
Example
#
createFinanceMigrationRun