curl --request POST \
--url https://api.rootfi.dev/v4/accounting/bill_payments \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"company_id": 123,
"data": [
{
"payment_id": "123456",
"bill_id": "123456",
"account_id": "123456",
"credit_note_id": "123456",
"amount": "123456",
"payment_mode": "123456",
"currency_id": "123456",
"currency_rate": "123456",
"memo": "123456",
"updated_at": "2024-01-22T05:07:31.465Z",
"payment_date": "2024-01-22T05:07:31.465Z",
"contact_id": "123456",
"document_number": "123456"
}
]
}
'{
"data": {
"rootfi_id": 157,
"rootfi_deleted_at": null,
"rootfi_created_at": "2024-01-22T05:07:31.465Z",
"rootfi_updated_at": "2024-01-22T05:07:31.000Z",
"rootfi_company_id": 1089,
"platform_id": "123456_1",
"platform_unique_id": "123456",
"payment_id": "123456",
"bill_id": "123456",
"account_id": "123456",
"credit_note_id": "123456",
"amount": "123456",
"payment_mode": "123456",
"currency_id": "123456",
"currency_rate": "123456",
"memo": "123456",
"updated_at": "2024-01-22T05:07:31.465Z",
"payment_date": "2024-01-22T05:07:31.465Z",
"contact_id": "123456",
"document_number": "123456"
}
}Create a new bill payment in the database.
curl --request POST \
--url https://api.rootfi.dev/v4/accounting/bill_payments \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"company_id": 123,
"data": [
{
"payment_id": "123456",
"bill_id": "123456",
"account_id": "123456",
"credit_note_id": "123456",
"amount": "123456",
"payment_mode": "123456",
"currency_id": "123456",
"currency_rate": "123456",
"memo": "123456",
"updated_at": "2024-01-22T05:07:31.465Z",
"payment_date": "2024-01-22T05:07:31.465Z",
"contact_id": "123456",
"document_number": "123456"
}
]
}
'{
"data": {
"rootfi_id": 157,
"rootfi_deleted_at": null,
"rootfi_created_at": "2024-01-22T05:07:31.465Z",
"rootfi_updated_at": "2024-01-22T05:07:31.000Z",
"rootfi_company_id": 1089,
"platform_id": "123456_1",
"platform_unique_id": "123456",
"payment_id": "123456",
"bill_id": "123456",
"account_id": "123456",
"credit_note_id": "123456",
"amount": "123456",
"payment_mode": "123456",
"currency_id": "123456",
"currency_rate": "123456",
"memo": "123456",
"updated_at": "2024-01-22T05:07:31.465Z",
"payment_date": "2024-01-22T05:07:31.465Z",
"contact_id": "123456",
"document_number": "123456"
}
}| Integration | Field | Description |
|---|---|---|
| MS_DYNAMICS_365 | payment_journal_id | The ID of the payment journal. |