Bill Payments
Get All Bill Payments
General
Server Side SDKs
Core API
- Companies
- Invite Links
- Integrations
- Sync
- Jobs
- Passthrough
Unified API
- Accounting
- Accounts
- Bank Accounts
- Bank Transactions
- Bills
- Bill Payments
- Bill Credit Notes
- Contacts
- Company Info
- Currencies
- Documents
- Expenses
- Invoice Credit Notes
- Invoices
- Invoice Payments
- Items
- Journal Entries
- Purchase Orders
- Sales Orders
- Goods Receipt Notes
- Projects
- Tax Rates
- Tracking Categories
- Balance Sheet
- Cash Flow Statements
- Income Statements
Bill Payments
Get All Bill Payments
List all Bill Payments
POST
/
accounting
/
bill_payments
/
all
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"
}
The Bill Payments Data Model is designed to standardise and simplify the management of bill payment information across various accounting platforms.
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"
}
}
}'
Authorizations
Body
application/json
Response
200 - application/json
The response is of type object
.
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"
}