Defines payment information for a specific sales document.
Property |
Type |
Length |
Default |
Description |
---|---|---|---|---|
Key |
N/A |
N/A |
The sales payment key object that uniquely identifies a sales payment. |
|
Date |
dateTime |
N/A |
If not provided, set to the system date. |
The date of the payment. |
PaymentAmount |
N/A |
0 |
The amount of the payment. |
|
BankAccountKey |
N/A |
Empty |
The bank account key object that specifies the ID of the checkbook used for the payment. |
|
PaymentCardTypeKey |
N/A |
Empty |
The payment card type key object that uniquely identifies a payment card type. |
|
CheckNumber |
string |
20 |
Empty |
The number of the check. Required if payment type is Check Deposit or Check Payment. |
PaymentCardNumber |
string |
20 |
Empty |
The number of the payment card. Required if payment type is Payment Card Deposit or Payment Card payment. |
AuthorizationCode |
string |
15 |
Empty |
The authorization code provided by the issuer of the payment card. Only used if payment type is Payment Card Deposit or Payment Card Payment. |
ExpirationDate |
dateTime |
N/A |
Empty |
The expiration date of the payment card. Required if payment type is Payment Card Deposit or Payment Card Payment. |
Type |
N/A |
Check Deposit |
Indicates the type of payment. |
|
Number |
string |
20 |
Empty |
The payment or cash receipt number. |
DeleteOnUpdate |
boolean |
N/A |
N/A |
Set to True when calling the Update operation to removed the payment instance. |
AuditTrailCode |
string |
N/A |
N/A |
The internally-assigned audit trail code that is saved at the time the transaction is posted. This property is read-only. |
CurrencyKey |
N/A |
N/A |
The currency key object that specifies the ID of the currency used for the payment. This property is read-only. |