curl --request POST \
--url https://api.rootfi.dev/accounting/bill_payments/all \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '{
"take": 10,
"skip": 0,
"orderBy": {
"amount": "asc"
},
"filter": {
"account_id": {
"eq": "1234567890123456789"
}
}
}'
{
"data": {
"data": [
{
"rootfi_id": 1234,
"rootfi_company_id": 123456,
"rootfi_organisation_id": 1,
"rootfi_integration_type": "ZOHO_BOOKS",
"rootfi_updated_at": "2021-09-28T15:00:00.000Z",
"rootfi_created_at": "2021-09-28T15:00:00.000Z",
"platform_id": "1234567890123456789",
"payment_id": "1234567890123456789",
"bill_id": "1234567890123456789",
"credit_note_id": "3770712000001669016",
"contact_id": "1234567890123456789",
"account_id": "1234567890123456789",
"currency_id": null,
"amount": 123456,
"payment_date": "2021-09-28T15:00:00.000Z",
"payment_mode": "Cash",
"currency_rate": 123456,
"document_number": "ROOTFI-123456",
"memo": "Test Memo",
"updated_at": "2021-09-28T15:00:00.000Z",
"currency": {
"data": {
"platform_id": null,
"name": null,
"code": null,
"symbol": null,
"is_base_currency": null,
"exchange_rate": null,
"updated_at": null
}
},
"bill": {
"data": {
"platform_id": "1234567890123456789",
"contact_id": "1234567890123456789",
"document_number": "ROOTFI-123456",
"posted_date": "2021-09-28T15:00:00.000Z",
"due_date": "2021-09-28T15:00:00.000Z",
"currency_id": null,
"currency": {
"data": {
"platform_id": null,
"name": null,
"code": null,
"symbol": null,
"is_base_currency": null,
"exchange_rate": null,
"updated_at": null
}
},
"updated_at": "2021-09-28T15:00:00.000Z",
"status": "DRAFT",
"total_amount": 123456,
"sub_total": 123456,
"total_discount": 123456,
"tax_amount": 123456,
"amount_due": 123456,
"purchase_order_ids": [
"1234567890123456789"
],
"currency_rate": 123456
}
}
}
],
"total_count": 0
},
"request_timestamp": "2021-09-28T15:00:00.000Z",
"response_timestamp": "2021-09-28T15:00:00.000Z",
"request_id": "b2e791f5-7384-4e4f-800f-5c032f6bb61b"
}List all Bill Payments
curl --request POST \
--url https://api.rootfi.dev/accounting/bill_payments/all \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '{
"take": 10,
"skip": 0,
"orderBy": {
"amount": "asc"
},
"filter": {
"account_id": {
"eq": "1234567890123456789"
}
}
}'
{
"data": {
"data": [
{
"rootfi_id": 1234,
"rootfi_company_id": 123456,
"rootfi_organisation_id": 1,
"rootfi_integration_type": "ZOHO_BOOKS",
"rootfi_updated_at": "2021-09-28T15:00:00.000Z",
"rootfi_created_at": "2021-09-28T15:00:00.000Z",
"platform_id": "1234567890123456789",
"payment_id": "1234567890123456789",
"bill_id": "1234567890123456789",
"credit_note_id": "3770712000001669016",
"contact_id": "1234567890123456789",
"account_id": "1234567890123456789",
"currency_id": null,
"amount": 123456,
"payment_date": "2021-09-28T15:00:00.000Z",
"payment_mode": "Cash",
"currency_rate": 123456,
"document_number": "ROOTFI-123456",
"memo": "Test Memo",
"updated_at": "2021-09-28T15:00:00.000Z",
"currency": {
"data": {
"platform_id": null,
"name": null,
"code": null,
"symbol": null,
"is_base_currency": null,
"exchange_rate": null,
"updated_at": null
}
},
"bill": {
"data": {
"platform_id": "1234567890123456789",
"contact_id": "1234567890123456789",
"document_number": "ROOTFI-123456",
"posted_date": "2021-09-28T15:00:00.000Z",
"due_date": "2021-09-28T15:00:00.000Z",
"currency_id": null,
"currency": {
"data": {
"platform_id": null,
"name": null,
"code": null,
"symbol": null,
"is_base_currency": null,
"exchange_rate": null,
"updated_at": null
}
},
"updated_at": "2021-09-28T15:00:00.000Z",
"status": "DRAFT",
"total_amount": 123456,
"sub_total": 123456,
"total_discount": 123456,
"tax_amount": 123456,
"amount_due": 123456,
"purchase_order_ids": [
"1234567890123456789"
],
"currency_rate": 123456
}
}
}
],
"total_count": 0
},
"request_timestamp": "2021-09-28T15:00:00.000Z",
"response_timestamp": "2021-09-28T15:00:00.000Z",
"request_id": "b2e791f5-7384-4e4f-800f-5c032f6bb61b"
}curl --request POST \
--url https://api.rootfi.dev/accounting/bill_payments/all \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '{
"take": 10,
"skip": 0,
"orderBy": {
"amount": "asc"
},
"filter": {
"account_id": {
"eq": "1234567890123456789"
}
}
}'
Show child attributes
asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc Show child attributes
Show child attributes
Show child attributes
The ID that the accounting platform uses to identify this account
The amount of the bill payment
The unique ID we assign for that data's information
The RootFi designated id for the company
The RootFi designated id for the organisation
The accounting platform from which the data is being retrieved
ZOHO_BOOKS, QUICKBOOKS_SANDBOX, QUICKBOOKS, XERO, TALLY, SAGE_CLOUD_ACCOUNTING, MS_DYNAMICS_365, SAGE_ZA_CLOUD_ACCOUNTING, MYOB_BUSINESS, WAVE, ODOO_ACCOUNTING, NETSUITE, WAFEQ, MEKARI_JURNAL, BUSY, ROOTFI_SANDBOX, QOYOD The latest date at which RootFi updated this data
The date at which RootFi first synced this data
The ID that the accounting platform uses to identify this account
The accounting platform’s unique identifier for the bill associated with this bill payment
The accounting platform’s unique identifier for the contact associated with this bill payment
The accounting platform’s unique identifier for the account associated with this bill payment
The accounting platform’s unique identifier for the credit note associated with this bill payment
The accounting platform’s unique identifier for the currency associated with this bill payment
The date of the bill payment
The payment mode of the bill payment
Rate between the currency of the bill and the base currency
Reference number for the bill payment
Description of the bill payment
The last ISO 8601 timestamp that the data was updated at
The currency of the bill payment
Show child attributes
Currency associated with the account.
Show child attributes
The ID that the accounting platform uses to identify this currency
The name of the currency
The code of the currency
The symbol of the currency
Is this the base currency of the organisation?
The exchange rate of the currency
The last ISO 8601 timestamp that the data was updated at
The bill associated with this bill payment
Show child attributes
Show child attributes
The ID that the accounting platform uses to identify this bill
The accounting platform’s unique ID of the contact associated with this bill
The ISO-4217 currency code of the bill
Reference number for the bill
Date of creation of the bill
The due date for the bill
Memo or description of the bill
Rate between the currency of the bill and the base currency
The status of the bill.
DRAFT, SUBMITTED, PARTIALLY_PAID, PAID, OVERDUE, VOID, UNKNOWN Total amount of the bill
Total pre-tax amount of the bill
Total discount amount levied on the bill
Total tax amount levied on the bill
Outstanding amount to be paid for the bill
Array of Purchase Order IDs associated with the bill
The date at which the bill was updated on the accounting platform
The currency associated with the bill
Show child attributes
Currency associated with the account.
Show child attributes
The ID that the accounting platform uses to identify this currency
The name of the currency
The code of the currency
The symbol of the currency
Is this the base currency of the organisation?
The exchange rate of the currency
The last ISO 8601 timestamp that the data was updated at
Total Count of response object
The time at which the request was received by the server
The time at which the response was sent by the server
The unique ID of the request