The Journal Entry object
Attributes
Unique identifier for the object.
ISO 8601 timestamp of when the object was created.
ISO 8601 timestamp of when the object was last updated.
Default: draft
Default: Journal Entry
Default: false
Default: Accounts Receivable
Default: No
Default: false
Default: false
Default: true
Default: false
Default: false
Default: false
{
"id": "journal-entry_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"title": "title_example",
"voucher_type": "Journal Entry",
"posting_date": "2024-01-15",
"company": "Example Corp",
"finance_book": "finance_book_example",
"cheque_no": "cheque_no_example",
"cheque_date": "2024-01-15",
"user_remark": "user_remark_example",
"total_debit": 0,
"total_credit": 0,
"difference": 0,
"multi_currency": false,
"total_amount_currency": "USD",
"total_amount": 0,
"total_amount_in_words": "total_amount_in_words_example",
"clearance_date": "2024-01-15",
"remark": "remark_example",
"inter_company_journal_entry_reference": "Example Corp",
"bill_no": "bill_no_example",
"bill_date": "2024-01-15",
"due_date": "2024-01-15",
"write_off_based_on": "Accounts Receivable",
"write_off_amount": 0,
"pay_to_recd_from": "pay_to_recd_from_example",
"letter_head": "letter_head_example",
"select_print_heading": "select_print_heading_example",
"mode_of_payment": "mode_of_payment_example",
"payment_order": "payment_order_example",
"is_opening": "No",
"stock_entry": "stock_entry_example",
"auto_repeat": "auto_repeat_example",
"from_template": "from_template_example",
"tax_withholding_category": "tax_withholding_category_example",
"apply_tds": false,
"reversal_of": "reversal_of_example",
"process_deferred_accounting": "process_deferred_accounting_example",
"is_system_generated": false,
"periodic_entry_difference_account": "periodic_entry_difference_account_example",
"for_all_stock_asset_accounts": true,
"stock_asset_account": "stock_asset_account_example",
"party_not_required": false,
"tax_withholding_group": "tax_withholding_group_example",
"ignore_tax_withholding_threshold": false,
"override_tax_withholding_entries": false
} /api/accounts/journal-entry/{id} Retrieve a journal entry
Retrieves the details of an existing journal entry. Supply the unique journal entry ID that was returned from a previous request.
Path parameters
The identifier of the journal entry to retrieve.
Returns
Returns the journal entry object if a valid identifier was provided.
curl https://api.overplane.dev/api/accounts/journal-entry/journal-entry_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "journal-entry_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"title": "title_example",
"voucher_type": "Journal Entry",
"posting_date": "2024-01-15",
"company": "Example Corp",
"finance_book": "finance_book_example",
"cheque_no": "cheque_no_example",
"cheque_date": "2024-01-15",
"user_remark": "user_remark_example",
"total_debit": 0,
"total_credit": 0,
"difference": 0,
"multi_currency": false,
"total_amount_currency": "USD",
"total_amount": 0,
"total_amount_in_words": "total_amount_in_words_example",
"clearance_date": "2024-01-15",
"remark": "remark_example",
"inter_company_journal_entry_reference": "Example Corp",
"bill_no": "bill_no_example",
"bill_date": "2024-01-15",
"due_date": "2024-01-15",
"write_off_based_on": "Accounts Receivable",
"write_off_amount": 0,
"pay_to_recd_from": "pay_to_recd_from_example",
"letter_head": "letter_head_example",
"select_print_heading": "select_print_heading_example",
"mode_of_payment": "mode_of_payment_example",
"payment_order": "payment_order_example",
"is_opening": "No",
"stock_entry": "stock_entry_example",
"auto_repeat": "auto_repeat_example",
"from_template": "from_template_example",
"tax_withholding_category": "tax_withholding_category_example",
"apply_tds": false,
"reversal_of": "reversal_of_example",
"process_deferred_accounting": "process_deferred_accounting_example",
"is_system_generated": false,
"periodic_entry_difference_account": "periodic_entry_difference_account_example",
"for_all_stock_asset_accounts": true,
"stock_asset_account": "stock_asset_account_example",
"party_not_required": false,
"tax_withholding_group": "tax_withholding_group_example",
"ignore_tax_withholding_threshold": false,
"override_tax_withholding_entries": false
} /api/accounts/journal-entry List all journal entrys
Returns a list of journal entrys. The results are sorted by creation date, with the most recently created appearing first.
Query parameters
Maximum number of objects to return. Default: 20.
Number of objects to skip for pagination. Default: 0.
Returns
A paginated list of journal entry objects.
curl https://api.overplane.dev/api/accounts/journal-entry \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "journal-entry_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"title": "title_example",
"voucher_type": "Journal Entry",
"posting_date": "2024-01-15",
"company": "Example Corp",
"finance_book": "finance_book_example",
"cheque_no": "cheque_no_example",
"cheque_date": "2024-01-15",
"user_remark": "user_remark_example",
"total_debit": 0,
"total_credit": 0,
"difference": 0,
"multi_currency": false,
"total_amount_currency": "USD",
"total_amount": 0,
"total_amount_in_words": "total_amount_in_words_example",
"clearance_date": "2024-01-15",
"remark": "remark_example",
"inter_company_journal_entry_reference": "Example Corp",
"bill_no": "bill_no_example",
"bill_date": "2024-01-15",
"due_date": "2024-01-15",
"write_off_based_on": "Accounts Receivable",
"write_off_amount": 0,
"pay_to_recd_from": "pay_to_recd_from_example",
"letter_head": "letter_head_example",
"select_print_heading": "select_print_heading_example",
"mode_of_payment": "mode_of_payment_example",
"payment_order": "payment_order_example",
"is_opening": "No",
"stock_entry": "stock_entry_example",
"auto_repeat": "auto_repeat_example",
"from_template": "from_template_example",
"tax_withholding_category": "tax_withholding_category_example",
"apply_tds": false,
"reversal_of": "reversal_of_example",
"process_deferred_accounting": "process_deferred_accounting_example",
"is_system_generated": false,
"periodic_entry_difference_account": "periodic_entry_difference_account_example",
"for_all_stock_asset_accounts": true,
"stock_asset_account": "stock_asset_account_example",
"party_not_required": false,
"tax_withholding_group": "tax_withholding_group_example",
"ignore_tax_withholding_threshold": false,
"override_tax_withholding_entries": false
}
],
"has_more": false,
"total": 1
} /api/accounts/journal-entry Create a journal entry
Creates a new journal entry object.
Body parameters
Default: draft
Default: Journal Entry
Default: false
Default: Accounts Receivable
Default: No
Default: false
Default: false
Default: true
Default: false
Default: false
Default: false
Returns
Returns the newly created journal entry object if the call succeeded.
curl https://api.overplane.dev/api/accounts/journal-entry \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"posting_date":"2024-01-15","company":"Example Corp"}' {
"id": "journal-entry_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"title": "title_example",
"voucher_type": "Journal Entry",
"posting_date": "2024-01-15",
"company": "Example Corp",
"finance_book": "finance_book_example",
"cheque_no": "cheque_no_example",
"cheque_date": "2024-01-15",
"user_remark": "user_remark_example",
"total_debit": 0,
"total_credit": 0,
"difference": 0,
"multi_currency": false,
"total_amount_currency": "USD",
"total_amount": 0,
"total_amount_in_words": "total_amount_in_words_example",
"clearance_date": "2024-01-15",
"remark": "remark_example",
"inter_company_journal_entry_reference": "Example Corp",
"bill_no": "bill_no_example",
"bill_date": "2024-01-15",
"due_date": "2024-01-15",
"write_off_based_on": "Accounts Receivable",
"write_off_amount": 0,
"pay_to_recd_from": "pay_to_recd_from_example",
"letter_head": "letter_head_example",
"select_print_heading": "select_print_heading_example",
"mode_of_payment": "mode_of_payment_example",
"payment_order": "payment_order_example",
"is_opening": "No",
"stock_entry": "stock_entry_example",
"auto_repeat": "auto_repeat_example",
"from_template": "from_template_example",
"tax_withholding_category": "tax_withholding_category_example",
"apply_tds": false,
"reversal_of": "reversal_of_example",
"process_deferred_accounting": "process_deferred_accounting_example",
"is_system_generated": false,
"periodic_entry_difference_account": "periodic_entry_difference_account_example",
"for_all_stock_asset_accounts": true,
"stock_asset_account": "stock_asset_account_example",
"party_not_required": false,
"tax_withholding_group": "tax_withholding_group_example",
"ignore_tax_withholding_threshold": false,
"override_tax_withholding_entries": false
} /api/accounts/journal-entry/{id} Update a journal entry
Updates the specified journal entry by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the journal entry to update.
Body parameters
Default: draft
Default: Journal Entry
Default: false
Default: Accounts Receivable
Default: No
Default: false
Default: false
Default: true
Default: false
Default: false
Default: false
Returns
Returns the updated journal entry object.
curl https://api.overplane.dev/api/accounts/journal-entry/journal-entry_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"status":"draft","title":"title_example"}' {
"id": "journal-entry_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"title": "title_example",
"voucher_type": "Journal Entry",
"posting_date": "2024-01-15",
"company": "Example Corp",
"finance_book": "finance_book_example",
"cheque_no": "cheque_no_example",
"cheque_date": "2024-01-15",
"user_remark": "user_remark_example",
"total_debit": 0,
"total_credit": 0,
"difference": 0,
"multi_currency": false,
"total_amount_currency": "USD",
"total_amount": 0,
"total_amount_in_words": "total_amount_in_words_example",
"clearance_date": "2024-01-15",
"remark": "remark_example",
"inter_company_journal_entry_reference": "Example Corp",
"bill_no": "bill_no_example",
"bill_date": "2024-01-15",
"due_date": "2024-01-15",
"write_off_based_on": "Accounts Receivable",
"write_off_amount": 0,
"pay_to_recd_from": "pay_to_recd_from_example",
"letter_head": "letter_head_example",
"select_print_heading": "select_print_heading_example",
"mode_of_payment": "mode_of_payment_example",
"payment_order": "payment_order_example",
"is_opening": "No",
"stock_entry": "stock_entry_example",
"auto_repeat": "auto_repeat_example",
"from_template": "from_template_example",
"tax_withholding_category": "tax_withholding_category_example",
"apply_tds": false,
"reversal_of": "reversal_of_example",
"process_deferred_accounting": "process_deferred_accounting_example",
"is_system_generated": false,
"periodic_entry_difference_account": "periodic_entry_difference_account_example",
"for_all_stock_asset_accounts": true,
"stock_asset_account": "stock_asset_account_example",
"party_not_required": false,
"tax_withholding_group": "tax_withholding_group_example",
"ignore_tax_withholding_threshold": false,
"override_tax_withholding_entries": false
} /api/accounts/journal-entry/{id} Delete a journal entry
Permanently deletes a journal entry. This cannot be undone.
Path parameters
The identifier of the journal entry to delete.
Returns
Returns a confirmation that the journal entry has been deleted.
curl https://api.overplane.dev/api/accounts/journal-entry/journal-entry_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "journal-entry_abc123",
"deleted": true
} /api/accounts/journal-entry/{id}/submit Submit a journal entry
Submits a draft journal entry, transitioning its status from draft to submitted.
Path parameters
The identifier of the journal entry to act on.
Returns
Returns the journal entry object with updated status.
curl https://api.overplane.dev/api/accounts/journal-entry/journal-entry_abc123/submit \
-H "Authorization: Bearer sk_test_..." \
-X POST {
"id": "journal-entry_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"title": "title_example",
"voucher_type": "Journal Entry",
"posting_date": "2024-01-15",
"company": "Example Corp",
"finance_book": "finance_book_example",
"cheque_no": "cheque_no_example",
"cheque_date": "2024-01-15",
"user_remark": "user_remark_example",
"total_debit": 0,
"total_credit": 0,
"difference": 0,
"multi_currency": false,
"total_amount_currency": "USD",
"total_amount": 0,
"total_amount_in_words": "total_amount_in_words_example",
"clearance_date": "2024-01-15",
"remark": "remark_example",
"inter_company_journal_entry_reference": "Example Corp",
"bill_no": "bill_no_example",
"bill_date": "2024-01-15",
"due_date": "2024-01-15",
"write_off_based_on": "Accounts Receivable",
"write_off_amount": 0,
"pay_to_recd_from": "pay_to_recd_from_example",
"letter_head": "letter_head_example",
"select_print_heading": "select_print_heading_example",
"mode_of_payment": "mode_of_payment_example",
"payment_order": "payment_order_example",
"is_opening": "No",
"stock_entry": "stock_entry_example",
"auto_repeat": "auto_repeat_example",
"from_template": "from_template_example",
"tax_withholding_category": "tax_withholding_category_example",
"apply_tds": false,
"reversal_of": "reversal_of_example",
"process_deferred_accounting": "process_deferred_accounting_example",
"is_system_generated": false,
"periodic_entry_difference_account": "periodic_entry_difference_account_example",
"for_all_stock_asset_accounts": true,
"stock_asset_account": "stock_asset_account_example",
"party_not_required": false,
"tax_withholding_group": "tax_withholding_group_example",
"ignore_tax_withholding_threshold": false,
"override_tax_withholding_entries": false
} /api/accounts/journal-entry/{id}/cancel Cancel a journal entry
Cancels a submitted journal entry, transitioning its status to cancelled.
Path parameters
The identifier of the journal entry to act on.
Returns
Returns the journal entry object with updated status.
curl https://api.overplane.dev/api/accounts/journal-entry/journal-entry_abc123/cancel \
-H "Authorization: Bearer sk_test_..." \
-X POST {
"id": "journal-entry_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"title": "title_example",
"voucher_type": "Journal Entry",
"posting_date": "2024-01-15",
"company": "Example Corp",
"finance_book": "finance_book_example",
"cheque_no": "cheque_no_example",
"cheque_date": "2024-01-15",
"user_remark": "user_remark_example",
"total_debit": 0,
"total_credit": 0,
"difference": 0,
"multi_currency": false,
"total_amount_currency": "USD",
"total_amount": 0,
"total_amount_in_words": "total_amount_in_words_example",
"clearance_date": "2024-01-15",
"remark": "remark_example",
"inter_company_journal_entry_reference": "Example Corp",
"bill_no": "bill_no_example",
"bill_date": "2024-01-15",
"due_date": "2024-01-15",
"write_off_based_on": "Accounts Receivable",
"write_off_amount": 0,
"pay_to_recd_from": "pay_to_recd_from_example",
"letter_head": "letter_head_example",
"select_print_heading": "select_print_heading_example",
"mode_of_payment": "mode_of_payment_example",
"payment_order": "payment_order_example",
"is_opening": "No",
"stock_entry": "stock_entry_example",
"auto_repeat": "auto_repeat_example",
"from_template": "from_template_example",
"tax_withholding_category": "tax_withholding_category_example",
"apply_tds": false,
"reversal_of": "reversal_of_example",
"process_deferred_accounting": "process_deferred_accounting_example",
"is_system_generated": false,
"periodic_entry_difference_account": "periodic_entry_difference_account_example",
"for_all_stock_asset_accounts": true,
"stock_asset_account": "stock_asset_account_example",
"party_not_required": false,
"tax_withholding_group": "tax_withholding_group_example",
"ignore_tax_withholding_threshold": false,
"override_tax_withholding_entries": false
} Line items
Child objects that belong to this journal entry. These are accessed via the parent's ID.
Journal Entry Account
Attributes
Endpoints
/api/accounts/journal-entry-account?parent_id={id} /api/accounts/journal-entry-account /api/accounts/journal-entry-account/{id} /api/accounts/journal-entry-account/{id} /api/accounts/journal-entry-account/reorder {
"id": "journal-entry-account_abc123",
"idx": 1,
"journal_entry_id": "journal_entry_id_example",
"account": "account_example",
"account_type": "account_type_example",
"cost_center": "cost_center_example",
"party_type": "party_type_example",
"party": "party_example",
"account_currency": "USD",
"exchange_rate": 0,
"debit_in_account_currency": 0,
"debit": 0,
"credit_in_account_currency": 0,
"credit": 0,
"reference_type": "reference_type_example",
"reference_name": "reference_name_example",
"reference_due_date": "2024-01-15",
"project": "project_example",
"is_advance": "is_advance_example",
"user_remark": "user_remark_example",
"against_account": "against_account_example",
"bank_account": "bank_account_example",
"reference_detail_no": "reference_detail_no_example",
"advance_voucher_type": "advance_voucher_type_example",
"advance_voucher_no": "advance_voucher_no_example",
"is_tax_withholding_account": false
}