getInvoicePaymentTypes

Retrieve invoice payment methods.

"Payment type" or expected payment method is an informative field on invoices. It indicates how the invoice will likely be paid by the customer. (However, keep in mind that actual payments on the invoice may be different from expected payment type.)

To add a new type or edit an existing one, see saveInvoicePaymentType.

Response

Field name Type Description
id integer
type String (10) A code name for this payment method.

In saveSalesDocument and getSalesDocuments API calls, you can refer to a payment method by its code name. This is convenient when working with standard payment methods (CASH, CARD etc.). However, you can also give code names to your own custom payment methods.
name string
paidImmediately integer 0 or 1
added integer Unix timestamp. Creation time.
lastModified integer Unix timestamp. Last modification time.

NB! These types are for classifying invoices. Do not confuse these with "payment types" (which classify payments).

If you want to manage payment types instead, see getPaymentTypes and savePaymentType.