Paymenttype

A payment type [Paymenttype] is a method of payment that may be used for employee expenses.

Review the Usage Guidelines for the Paymenttype object.

XML

SOAP

REST

Database table

Object

Paymenttype

oaPaymenttype

payment_type

Supported Commands

Add, Read, Modify, Delete

add(), read(), modify(), upsert(), delete()

The Paymenttype object has the following standard properties:

Note:

Paymenttype object properties may also include custom fields. The object type supports the custom equal to read method and the enable_custom read attribute.

XML / SOAP

XML / SOAP

Description

active

active

A 1/0 field specifying if the type is active.

created

created

[Read-only] Time the record was created. See Date Fields.

default_payment_type

default_payment_type

A 1/0 field indicating whether this is the default payment_type for receipts.

default_status

default_status

Default receipt status, for example, R => Reimbursable, N => Non-reimbursable.

id

id

[Read-only] Unique ID. Automatically assigned by OpenAir.

name

name

[Required] The name of the payment type.

notes

notes

Notes associated with the payment type.

updated

updated

[Read-only] Time the record was last updated or modified. See Date Fields.

Usage Guidelines

You cannot delete a Paymenttype object if this object is referenced by an object of any of the following type. Delete any dependent objects first before you delete a Paymenttype object.