Sales Invoice Payments
Sales invoice payment is a record of a paid invoice.
Data Model
| Field | Type | Description | Example data |
|---|---|---|---|
| id | string | Unique Identifier for each sales invoice payment. | 4562358 |
| metaId | string | Another identifier for this payment or its id in its origin data source (when it comes from an integration). | p_4ZK98OTy6 |
| date | string | Invoice payment date. | 2022-02-02T14:13:53.644Z |
| amount | string | Invoice amount. | 399.99 |
| transactionFee | number | Transaction fee. | 5 |
| currencyId | string | Currency Id of this payment. | 3168 |
| metaCurrencyId | string | Currency Id of this payment in its origin data source (when it comes from an integration). | EUR |
| status | string | Payment status (succeeded or failed, for example) | Succeeded |
| description | string | Payment description. | Subscription update |
| customerId | string | Unique identifier for the customer who made this payment. | 609987152 |
| metaCustomerId | string | Id of the customer who made this payment in its origin data source (when it comes from an integration). | cus_KJX33C2 |
| invoiceId | string | Id of the invoice linked to this payment. | 2756320 |
| metaInvoiceId | string | Id of the invoice linked to this payment in its origin data source (when it comes from an integration). | in_KLJYL345 |
| refund | boolean | Boolean indicates whether this payment is a refund or not. | false (not refund) true (refund) |
| dataSourceId | string | Id of the data source (Manual Calqulate, or integrations). | 4779 |
| orgId | string | Organization Id in which this payment belongs. | 718987154 |
| createdAt | string | Date of creation of this entry in Calqulate's Database. | 2022-02-02T14:13:53.644Z |
| updatedAt | string | Date of last update done on this entry in Calqulate's Database. | 2022-02-02T14:13:53.644Z |
| deletedAt | string | Date of deletion of this entry from Calqulate's Database. | 2022-02-02T14:13:53.644Z |
Updated almost 3 years ago
What’s Next
The links below take you to further information within Calqulate library's Guides and API Reference.
