Magidoc

getFinancePaymentTerms
Query

Payment terms for the setup section and for the invoice pickers.

Access: finance feature access on the workspace, like every other setup read.

pickableOnly is what separates the two callers. A picker may only offer a term an invoice can actually be billed on, so it drops the terms whose stored rule derives no due date — the same ones the section renders as 'Due rule not provided'. The section itself leaves it off: it shows what the workspace has, fallback label and all, because that is the row someone has to fix.

Arguments

#

workspaceId

ID !
Non-null

includeInactive = true

pickableOnly

search

statuses

sortBy

sortDirection

limit = 200

skip

Response

#

Returns [FinancePaymentTerm !]!.

Example

#