TransactionDetailModel
Less than to read
Represents transaction detail information associated to a transaction. This can either be Invoices which are paid with a Credit Memo or Payment transaction, or Credit Memos or Payments used as payment for an Invoice transaction.
Methods
The following API methods use this data model.
- Retrieve Transaction Details
Required Fields
groupKey
Group account transaction detail is associated with.
transactionDetailId
The unique ID of the transaction detail record.
transactionDetailAppliedId
The unique ID of the entity applying the transaction to the transaction detail record.
transactionId
The unique ID of the transaction record.
transactionInvoiceDate
The date of the invoice associated to the transaction detail record.
transactionAmount
The total value of this transaction detail, inclusive or all taxes and line items.
baseCurrencyTransactionAmount
The total value of this transaction detail, inclusive or all taxes and line items in the group’s base currency.
supportsErpPdfRetrieval
Specific transactions have support for pdf retrieval from their respective erp. When this flag is true, an additional call to Invoices/{id}/pdf or Payments/{id}/pdf can be made to retrieve a pdf directly from the erp.
Optional Fields
baseCurrencyCode
string, nullable, 0-3 characters
The base currency code of the group.
referenceNumber
string, nullable
An additional reference number that is sometimes used to identify a transaction detail. The meaning of this field is specific to the ERP or accounting system used by the user.
transactionType
string, nullable
The type of the transaction detail record.
Recognized Invoice types are:
AR Invoice
- Represents an invoice sent by Company to the CustomerAP Invoice
- Represents an invoice sent by Vendor to the CompanyAR Credit Memo
- Represents a credit memo generated by Company given to CustomerAP Credit Memo
- Represents a credit memo generated by Vendor given to Company
Recognized PaymentType values are:
AR Payment
- A payment made by a Customer to the CompanyAP Payment
- A payment made by the Company to a Vendor
transactionSubType
string, nullable
Additional type categorization of the transaction.
transactionDate
date-time, nullable
The date when a transaction detail record was reported.
currencyCode
string, nullable, 0-3 characters
The currency code of the transaction.
outstandingAmount
double, nullable
The remaining balance of this transaction detail.
baseCurrencyOutstandingAmount
double, nullable
The remaining balance of this transaction detail in the group’s base currency.