A customer credit is a type of transaction that represents an increase to a customer's available credit. The Fusebill generated ID that uniquely identifies a credit object is actually a transaction ID
Credit Object Fields
Property | Type | Description |
---|---|---|
reference | String | A reference intended to be an explanation of why this credit was given. [Max Length: 500 characters] |
effectiveTimestamp | Timestamp | The effective timestamp of the customer credit |
customerId | Integer | The Fusebill generated ID of the customer entity for which the original credit was applied [Read Only] |
amount | Decimal | The total amount of customer credit |
currency | 3-character ISO currency code | The currency the amount is measured in |
unallocatedAmount | Decimal | The total amount of the customer credit that has not been allocated to an invoice |
reversableAmount | Decimal | The amount of this customer credit that can still be reversed |
invoiceAllocations | List of Objects. Defined below | A breakdown of how this customer credit was allocated across multiple invoices. |
debits | List of Objects. See Payments: Debit Object for definition. | The debits (also called credit reversals) applied against this customer credit. |
id | Integer | The Fusebill generated ID for this credit object [Read Only] |
uri | String | The full string path to this resource [Read Only] |
Invoice Allocation Fields
Property | Type | Description |
---|---|---|
invoiceId | Integer | The Fusebill generated ID that uniquely identifies this invoice [Read Only] |
invoiceNumber | Integer | The invoice number [Read Only] |
amount | Decimal | The amount of the payment that was allocated to this invoice |
outstandingBalance | Decimal | The current outstanding balance of the invoice. Not the amount that was outstanding at the time of payment |
invoiceTotal | Decimal | The total of the invoice |
netsuiteId | String | The ID of this invoice in Netsuite |
quickBooksId | Number | The ID of this invoice in QuickBooks |
uri | String | The full string path to the invoice [Read Only] |