Vendor Bill Payments

Vendor bill payment is a record of a paid invoice.

Data Model

FieldTypeDescriptionExample data
idstringUnique Identifier for each sales bill payment.2315638
metaIdstringAnother identifier for the bill payment or its Id in its origin data source (when it comes from an integration).bl_5WL89PUz7
datestringBill payment date .2022-02-02T14:13:53.644Z
amountstringBill amount.399.99
currencyIdstringCurrency Id of this payment.3168
metaCurrencyIdstringCurrency Id of this payment in its origin data source (when it comes from an integration).EUR
accountIdstringAccount Id linked to this payment.236874
metaAccountIdstringAnother identifier for the account linked to this payment or the id in its origin data source (when it comes from an integration).acc_24425
cacbooleanIndicates whether this invoice is included in the Customer Acquisition Cost (CAC) metrics or not.false (not included)
true (included)
cacUpdatedbooleanIndicates whether the Customer Acquisition Cost (CAC) metrics concerning this invoice are updated or not.false (not updated)
true (updated)
statusstringPayment status (succeeded or failed, for example)Paid
descriptionstringPayment description.
supplierIdstringSupplier (vendor) id.259841
metaSupplierIdstringAnother identifier for the supplier (vendor) or the id in its origin data source (when it comes from an integration).sup_Klo87N3
billIdstringId of the bill linked to this payment.23587
metaBillIdstringId of the bill linked to this payment in its origin data source (when it comes from an integration).
dataSourceIdstringId of the data source (Manual Calqulate, or integrations).4779
orgIdstringOrganization Id in which this payment belongs.718987154
createdAtstringDate of creation of this entry in Calqulate's Database.2022-02-02T14:13:53.644Z
updatedAtstringDate of last update done on this entry in Calqulate's Database.2022-02-02T14:13:53.644Z
deletedAtstringDate of deletion of this entry from Calqulate's Database.2022-02-02T14:13:53.644Z

Example Data

{
  data: [
    {
      id: '2315638',
      metaId: null,
      date: '2022-01-27T22:00:00.000Z',
      amount: '399.99',
      currencyId: '3168',
      metaCurrencyId: 'EUR',
      accountId: '236874',
      metaAccountId: null,
      cac: false,
      cacUpdated: false,
      status: 'Paid',
      description: null,
      supplierId: '259841',
      metaSupplierId: null,
      billId: '23587',
      metaBillId: null,
      dataSourceId: '4779',
      createdAt: '2022-02-02T14:13:53.644Z',
      updatedAt: '2022-02-02T14:13:53.644Z',
    },
  ],
}