Retrieve payment types.
To create a new payment type, see savePaymentType.
Field name | Type | Description |
---|---|---|
id | integer | Payment type ID. |
type | String (10) | A code name for this payment type. In savePayment and getPayments API calls, you can refer to a payment type either by ID or by code name. Code name may be more convenient when working with standard payment types (CASH, CARD etc.). However, you can also give code names to your own custom payment methods. Standard types that Erply recognizes (there may be standard functionality attached to payments of these type) are: CASH, CARD, CREDIT, GIFTCARD, CHECK, TRANSFER, TIP. |
name | string | Payment type name |
print_name | string | Name on receipt |
quickBooksDebitAccount | string | Quick Books debit account |
added | integer | Unix timestamp. Creation time. |
lastModified | integer | Unix timestamp. Last modification time. |
NB! These types are for classifying payments. Do not confuse these with "invoice payment methods".
"Payment method" is an informative field on invoices, showing how the customer will likely pay the invoice. If you want to manage invoice payment methods instead, see getInvoicePaymentTypes and saveInvoicePaymentType.