Payment |
The PaymentItem type exposes the following members.
| Name | Description | |
|---|---|---|
| AmtBalance | Object's (credit memo/invoice or payment) remaining balance BEFORE payment was posted. Optional. Zero for draft payments. | |
| AmtUsed | Amount taken from credit (auto-calculated), or amount applied to invoice (entered by user). Cannot be negative; zero is allowed only for credit records. | |
| CurrencyTypeId | ||
| IsCredit | True if record stores credit used; False if record is for invoice payment. Required. | |
| ObjectId | Reference to object which record is based upon, either invoice/credit memo or payment. Required. | |
| ObjectTypeId | Type ID of the object referenced by record. Required. For credit records it either #29 (credit memo) or #30 (payment). For non-credit records it's always #29 (invoice). | |
| RefInvoice | Invoice on which payment is based. Based on and | |
| RefPayment | Payment on which payment is based. Based on and |