GET
/
accounting
/
bill_payments
curl --request GET \
  --url https://api.rootfi.dev/v3/accounting/bill_payments \
  --header 'api_key: <api-key>'
{
  "data": [
    {
      "account_id": "123456",
      "amount": "123456",
      "bill_id": "123456",
      "contact_id": "123456",
      "credit_note_id": "123456",
      "currency_id": "123456",
      "currency_rate": "123456",
      "document_number": "123456",
      "memo": "123456",
      "payment_date": "2024-01-22T05:07:31.465Z",
      "payment_id": "123456",
      "payment_mode": "123456",
      "platform_id": "123456",
      "rootfi_company_id": 1089,
      "rootfi_created_at": "2024-01-22T05:07:31.465Z",
      "rootfi_id": 157,
      "rootfi_updated_at": "2024-01-22T05:07:31.000Z",
      "updated_at": "2024-01-22T05:07:31.465Z"
    }
  ],
  "next": "eyJyb291ZmlfaWQiOjQ0MDA2MX0=",
  "prev": "eyJyb290ZmlfaWQiOjQ0MDA2MX0=",
  "total_count": 123
}

The Bill Payments Data Model is designed to standardise and simplify the management of bill payment information across various accounting platforms.

Authorizations

api_key
string
headerrequired

Query Parameters

limit
integer | null

The number of objects you want to retrieve

next
string | null

The next page of objects to retrieve

prev
string | null

The previous page of objects to retrieve

select
string | null

Comma separated fields to select. Supported values are raw_data, data_hash

rootfi_company_id[eq]
integer | null

Filter by rootfi_company_id

return_count
boolean | null

Return the count of the objects

sort[rootfi_created_at]
enum<string>

Sort by rootfi_created_at

Available options:
ASC,
DESC
sort[rootfi_updated_at]
enum<string>

Sort by rootfi_updated_at

Available options:
ASC,
DESC
expand
string | null

Comma separated fields to extend. Supported values are bill, account, currency, contact

Response

200 - application/json
next
string | null

The next page of objects to retrieve

prev
string | null

The previous page of objects to retrieve

total_count
integer | null

The total count of the objects

data
object[]
required