The GL 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: true
Default: false
{
"id": "g-l-entry_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"posting_date": "2024-01-15",
"transaction_date": "2024-01-15",
"account": "account_example",
"party_type": "party_type_example",
"party": "party_example",
"cost_center": "cost_center_example",
"debit": 0,
"credit": 0,
"account_currency": "USD",
"debit_in_account_currency": 0,
"credit_in_account_currency": 0,
"against": "against_example",
"against_voucher_type": "against_voucher_type_example",
"against_voucher": "against_voucher_example",
"voucher_type": "voucher_type_example",
"voucher_no": "voucher_no_example",
"voucher_detail_no": "voucher_detail_no_example",
"project": "project_example",
"remarks": "remarks_example",
"is_opening": "is_opening_example",
"is_advance": "is_advance_example",
"fiscal_year": "fiscal_year_example",
"company": "Example Corp",
"finance_book": "finance_book_example",
"to_rename": true,
"due_date": "2024-01-15",
"is_cancelled": false,
"transaction_currency": "USD",
"transaction_exchange_rate": 0,
"debit_in_transaction_currency": 0,
"credit_in_transaction_currency": 0,
"voucher_subtype": "voucher_subtype_example",
"debit_in_reporting_currency": 0,
"credit_in_reporting_currency": 0,
"reporting_currency_exchange_rate": 0
} /api/accounts/g-l-entry/{id} Retrieve a gl entry
Retrieves the details of an existing gl entry. Supply the unique gl entry ID that was returned from a previous request.
Path parameters
The identifier of the gl entry to retrieve.
Returns
Returns the gl entry object if a valid identifier was provided.
curl https://api.overplane.dev/api/accounts/g-l-entry/g-l-entry_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "g-l-entry_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"posting_date": "2024-01-15",
"transaction_date": "2024-01-15",
"account": "account_example",
"party_type": "party_type_example",
"party": "party_example",
"cost_center": "cost_center_example",
"debit": 0,
"credit": 0,
"account_currency": "USD",
"debit_in_account_currency": 0,
"credit_in_account_currency": 0,
"against": "against_example",
"against_voucher_type": "against_voucher_type_example",
"against_voucher": "against_voucher_example",
"voucher_type": "voucher_type_example",
"voucher_no": "voucher_no_example",
"voucher_detail_no": "voucher_detail_no_example",
"project": "project_example",
"remarks": "remarks_example",
"is_opening": "is_opening_example",
"is_advance": "is_advance_example",
"fiscal_year": "fiscal_year_example",
"company": "Example Corp",
"finance_book": "finance_book_example",
"to_rename": true,
"due_date": "2024-01-15",
"is_cancelled": false,
"transaction_currency": "USD",
"transaction_exchange_rate": 0,
"debit_in_transaction_currency": 0,
"credit_in_transaction_currency": 0,
"voucher_subtype": "voucher_subtype_example",
"debit_in_reporting_currency": 0,
"credit_in_reporting_currency": 0,
"reporting_currency_exchange_rate": 0
} /api/accounts/g-l-entry List all gl entrys
Returns a list of gl 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 gl entry objects.
curl https://api.overplane.dev/api/accounts/g-l-entry \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "g-l-entry_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"posting_date": "2024-01-15",
"transaction_date": "2024-01-15",
"account": "account_example",
"party_type": "party_type_example",
"party": "party_example",
"cost_center": "cost_center_example",
"debit": 0,
"credit": 0,
"account_currency": "USD",
"debit_in_account_currency": 0,
"credit_in_account_currency": 0,
"against": "against_example",
"against_voucher_type": "against_voucher_type_example",
"against_voucher": "against_voucher_example",
"voucher_type": "voucher_type_example",
"voucher_no": "voucher_no_example",
"voucher_detail_no": "voucher_detail_no_example",
"project": "project_example",
"remarks": "remarks_example",
"is_opening": "is_opening_example",
"is_advance": "is_advance_example",
"fiscal_year": "fiscal_year_example",
"company": "Example Corp",
"finance_book": "finance_book_example",
"to_rename": true,
"due_date": "2024-01-15",
"is_cancelled": false,
"transaction_currency": "USD",
"transaction_exchange_rate": 0,
"debit_in_transaction_currency": 0,
"credit_in_transaction_currency": 0,
"voucher_subtype": "voucher_subtype_example",
"debit_in_reporting_currency": 0,
"credit_in_reporting_currency": 0,
"reporting_currency_exchange_rate": 0
}
],
"has_more": false,
"total": 1
} /api/accounts/g-l-entry Create a gl entry
Creates a new gl entry object.
Body parameters
Default: draft
Default: true
Default: false
Returns
Returns the newly created gl entry object if the call succeeded.
curl https://api.overplane.dev/api/accounts/g-l-entry \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" {
"id": "g-l-entry_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"posting_date": "2024-01-15",
"transaction_date": "2024-01-15",
"account": "account_example",
"party_type": "party_type_example",
"party": "party_example",
"cost_center": "cost_center_example",
"debit": 0,
"credit": 0,
"account_currency": "USD",
"debit_in_account_currency": 0,
"credit_in_account_currency": 0,
"against": "against_example",
"against_voucher_type": "against_voucher_type_example",
"against_voucher": "against_voucher_example",
"voucher_type": "voucher_type_example",
"voucher_no": "voucher_no_example",
"voucher_detail_no": "voucher_detail_no_example",
"project": "project_example",
"remarks": "remarks_example",
"is_opening": "is_opening_example",
"is_advance": "is_advance_example",
"fiscal_year": "fiscal_year_example",
"company": "Example Corp",
"finance_book": "finance_book_example",
"to_rename": true,
"due_date": "2024-01-15",
"is_cancelled": false,
"transaction_currency": "USD",
"transaction_exchange_rate": 0,
"debit_in_transaction_currency": 0,
"credit_in_transaction_currency": 0,
"voucher_subtype": "voucher_subtype_example",
"debit_in_reporting_currency": 0,
"credit_in_reporting_currency": 0,
"reporting_currency_exchange_rate": 0
} /api/accounts/g-l-entry/{id} Update a gl entry
Updates the specified gl entry by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the gl entry to update.
Body parameters
Default: draft
Default: true
Default: false
Returns
Returns the updated gl entry object.
curl https://api.overplane.dev/api/accounts/g-l-entry/g-l-entry_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"status":"draft","posting_date":"2024-01-15"}' {
"id": "g-l-entry_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"posting_date": "2024-01-15",
"transaction_date": "2024-01-15",
"account": "account_example",
"party_type": "party_type_example",
"party": "party_example",
"cost_center": "cost_center_example",
"debit": 0,
"credit": 0,
"account_currency": "USD",
"debit_in_account_currency": 0,
"credit_in_account_currency": 0,
"against": "against_example",
"against_voucher_type": "against_voucher_type_example",
"against_voucher": "against_voucher_example",
"voucher_type": "voucher_type_example",
"voucher_no": "voucher_no_example",
"voucher_detail_no": "voucher_detail_no_example",
"project": "project_example",
"remarks": "remarks_example",
"is_opening": "is_opening_example",
"is_advance": "is_advance_example",
"fiscal_year": "fiscal_year_example",
"company": "Example Corp",
"finance_book": "finance_book_example",
"to_rename": true,
"due_date": "2024-01-15",
"is_cancelled": false,
"transaction_currency": "USD",
"transaction_exchange_rate": 0,
"debit_in_transaction_currency": 0,
"credit_in_transaction_currency": 0,
"voucher_subtype": "voucher_subtype_example",
"debit_in_reporting_currency": 0,
"credit_in_reporting_currency": 0,
"reporting_currency_exchange_rate": 0
} /api/accounts/g-l-entry/{id} Delete a gl entry
Permanently deletes a gl entry. This cannot be undone.
Path parameters
The identifier of the gl entry to delete.
Returns
Returns a confirmation that the gl entry has been deleted.
curl https://api.overplane.dev/api/accounts/g-l-entry/g-l-entry_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "g-l-entry_abc123",
"deleted": true
} /api/accounts/g-l-entry/{id}/submit Submit a gl entry
Submits a draft gl entry, transitioning its status from draft to submitted.
Path parameters
The identifier of the gl entry to act on.
Returns
Returns the gl entry object with updated status.
curl https://api.overplane.dev/api/accounts/g-l-entry/g-l-entry_abc123/submit \
-H "Authorization: Bearer sk_test_..." \
-X POST {
"id": "g-l-entry_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"posting_date": "2024-01-15",
"transaction_date": "2024-01-15",
"account": "account_example",
"party_type": "party_type_example",
"party": "party_example",
"cost_center": "cost_center_example",
"debit": 0,
"credit": 0,
"account_currency": "USD",
"debit_in_account_currency": 0,
"credit_in_account_currency": 0,
"against": "against_example",
"against_voucher_type": "against_voucher_type_example",
"against_voucher": "against_voucher_example",
"voucher_type": "voucher_type_example",
"voucher_no": "voucher_no_example",
"voucher_detail_no": "voucher_detail_no_example",
"project": "project_example",
"remarks": "remarks_example",
"is_opening": "is_opening_example",
"is_advance": "is_advance_example",
"fiscal_year": "fiscal_year_example",
"company": "Example Corp",
"finance_book": "finance_book_example",
"to_rename": true,
"due_date": "2024-01-15",
"is_cancelled": false,
"transaction_currency": "USD",
"transaction_exchange_rate": 0,
"debit_in_transaction_currency": 0,
"credit_in_transaction_currency": 0,
"voucher_subtype": "voucher_subtype_example",
"debit_in_reporting_currency": 0,
"credit_in_reporting_currency": 0,
"reporting_currency_exchange_rate": 0
} /api/accounts/g-l-entry/{id}/cancel Cancel a gl entry
Cancels a submitted gl entry, transitioning its status to cancelled.
Path parameters
The identifier of the gl entry to act on.
Returns
Returns the gl entry object with updated status.
curl https://api.overplane.dev/api/accounts/g-l-entry/g-l-entry_abc123/cancel \
-H "Authorization: Bearer sk_test_..." \
-X POST {
"id": "g-l-entry_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"status": "draft",
"posting_date": "2024-01-15",
"transaction_date": "2024-01-15",
"account": "account_example",
"party_type": "party_type_example",
"party": "party_example",
"cost_center": "cost_center_example",
"debit": 0,
"credit": 0,
"account_currency": "USD",
"debit_in_account_currency": 0,
"credit_in_account_currency": 0,
"against": "against_example",
"against_voucher_type": "against_voucher_type_example",
"against_voucher": "against_voucher_example",
"voucher_type": "voucher_type_example",
"voucher_no": "voucher_no_example",
"voucher_detail_no": "voucher_detail_no_example",
"project": "project_example",
"remarks": "remarks_example",
"is_opening": "is_opening_example",
"is_advance": "is_advance_example",
"fiscal_year": "fiscal_year_example",
"company": "Example Corp",
"finance_book": "finance_book_example",
"to_rename": true,
"due_date": "2024-01-15",
"is_cancelled": false,
"transaction_currency": "USD",
"transaction_exchange_rate": 0,
"debit_in_transaction_currency": 0,
"credit_in_transaction_currency": 0,
"voucher_subtype": "voucher_subtype_example",
"debit_in_reporting_currency": 0,
"credit_in_reporting_currency": 0,
"reporting_currency_exchange_rate": 0
}