The Cheque Print Template 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: false
Default: Regular
Default: 20
Default: 9
Default: true
Default: 1
Default: 9
Default: Acc. Payee
Default: 1
Default: 15
Default: 2
Default: 3
Default: 3
Default: 4
Default: 15
Default: 0.5
Default: 3.5
Default: 16
Default: 5
Default: 4
Default: 6
Default: 15
{
"id": "cheque-print-template_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"has_print_format": false,
"bank_name": "bank_name_example",
"cheque_size": "Regular",
"starting_position_from_top_edge": 0,
"cheque_width": 20,
"cheque_height": 9,
"scanned_cheque": "scanned_cheque_example",
"is_account_payable": true,
"acc_pay_dist_from_top_edge": 1,
"acc_pay_dist_from_left_edge": 9,
"message_to_show": "Acc. Payee",
"date_dist_from_top_edge": 1,
"date_dist_from_left_edge": 15,
"payer_name_from_top_edge": 2,
"payer_name_from_left_edge": 3,
"amt_in_words_from_top_edge": 3,
"amt_in_words_from_left_edge": 4,
"amt_in_word_width": 15,
"amt_in_words_line_spacing": 0.5,
"amt_in_figures_from_top_edge": 3.5,
"amt_in_figures_from_left_edge": 16,
"acc_no_dist_from_top_edge": 5,
"acc_no_dist_from_left_edge": 4,
"signatory_from_top_edge": 6,
"signatory_from_left_edge": 15
} /api/accounts/cheque-print-template/{id} Retrieve a cheque print template
Retrieves the details of an existing cheque print template. Supply the unique cheque print template ID that was returned from a previous request.
Path parameters
The identifier of the cheque print template to retrieve.
Returns
Returns the cheque print template object if a valid identifier was provided.
curl https://api.overplane.dev/api/accounts/cheque-print-template/cheque-print-template_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "cheque-print-template_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"has_print_format": false,
"bank_name": "bank_name_example",
"cheque_size": "Regular",
"starting_position_from_top_edge": 0,
"cheque_width": 20,
"cheque_height": 9,
"scanned_cheque": "scanned_cheque_example",
"is_account_payable": true,
"acc_pay_dist_from_top_edge": 1,
"acc_pay_dist_from_left_edge": 9,
"message_to_show": "Acc. Payee",
"date_dist_from_top_edge": 1,
"date_dist_from_left_edge": 15,
"payer_name_from_top_edge": 2,
"payer_name_from_left_edge": 3,
"amt_in_words_from_top_edge": 3,
"amt_in_words_from_left_edge": 4,
"amt_in_word_width": 15,
"amt_in_words_line_spacing": 0.5,
"amt_in_figures_from_top_edge": 3.5,
"amt_in_figures_from_left_edge": 16,
"acc_no_dist_from_top_edge": 5,
"acc_no_dist_from_left_edge": 4,
"signatory_from_top_edge": 6,
"signatory_from_left_edge": 15
} /api/accounts/cheque-print-template List all cheque print templates
Returns a list of cheque print templates. 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 cheque print template objects.
curl https://api.overplane.dev/api/accounts/cheque-print-template \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "cheque-print-template_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"has_print_format": false,
"bank_name": "bank_name_example",
"cheque_size": "Regular",
"starting_position_from_top_edge": 0,
"cheque_width": 20,
"cheque_height": 9,
"scanned_cheque": "scanned_cheque_example",
"is_account_payable": true,
"acc_pay_dist_from_top_edge": 1,
"acc_pay_dist_from_left_edge": 9,
"message_to_show": "Acc. Payee",
"date_dist_from_top_edge": 1,
"date_dist_from_left_edge": 15,
"payer_name_from_top_edge": 2,
"payer_name_from_left_edge": 3,
"amt_in_words_from_top_edge": 3,
"amt_in_words_from_left_edge": 4,
"amt_in_word_width": 15,
"amt_in_words_line_spacing": 0.5,
"amt_in_figures_from_top_edge": 3.5,
"amt_in_figures_from_left_edge": 16,
"acc_no_dist_from_top_edge": 5,
"acc_no_dist_from_left_edge": 4,
"signatory_from_top_edge": 6,
"signatory_from_left_edge": 15
}
],
"has_more": false,
"total": 1
} /api/accounts/cheque-print-template Create a cheque print template
Creates a new cheque print template object.
Body parameters
Default: false
Default: Regular
Default: 20
Default: 9
Default: true
Default: 1
Default: 9
Default: Acc. Payee
Default: 1
Default: 15
Default: 2
Default: 3
Default: 3
Default: 4
Default: 15
Default: 0.5
Default: 3.5
Default: 16
Default: 5
Default: 4
Default: 6
Default: 15
Returns
Returns the newly created cheque print template object if the call succeeded.
curl https://api.overplane.dev/api/accounts/cheque-print-template \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"bank_name":"bank_name_example"}' {
"id": "cheque-print-template_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"has_print_format": false,
"bank_name": "bank_name_example",
"cheque_size": "Regular",
"starting_position_from_top_edge": 0,
"cheque_width": 20,
"cheque_height": 9,
"scanned_cheque": "scanned_cheque_example",
"is_account_payable": true,
"acc_pay_dist_from_top_edge": 1,
"acc_pay_dist_from_left_edge": 9,
"message_to_show": "Acc. Payee",
"date_dist_from_top_edge": 1,
"date_dist_from_left_edge": 15,
"payer_name_from_top_edge": 2,
"payer_name_from_left_edge": 3,
"amt_in_words_from_top_edge": 3,
"amt_in_words_from_left_edge": 4,
"amt_in_word_width": 15,
"amt_in_words_line_spacing": 0.5,
"amt_in_figures_from_top_edge": 3.5,
"amt_in_figures_from_left_edge": 16,
"acc_no_dist_from_top_edge": 5,
"acc_no_dist_from_left_edge": 4,
"signatory_from_top_edge": 6,
"signatory_from_left_edge": 15
} /api/accounts/cheque-print-template/{id} Update a cheque print template
Updates the specified cheque print template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the cheque print template to update.
Body parameters
Default: false
Default: Regular
Default: 20
Default: 9
Default: true
Default: 1
Default: 9
Default: Acc. Payee
Default: 1
Default: 15
Default: 2
Default: 3
Default: 3
Default: 4
Default: 15
Default: 0.5
Default: 3.5
Default: 16
Default: 5
Default: 4
Default: 6
Default: 15
Returns
Returns the updated cheque print template object.
curl https://api.overplane.dev/api/accounts/cheque-print-template/cheque-print-template_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"has_print_format":false,"bank_name":"bank_name_example"}' {
"id": "cheque-print-template_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"has_print_format": false,
"bank_name": "bank_name_example",
"cheque_size": "Regular",
"starting_position_from_top_edge": 0,
"cheque_width": 20,
"cheque_height": 9,
"scanned_cheque": "scanned_cheque_example",
"is_account_payable": true,
"acc_pay_dist_from_top_edge": 1,
"acc_pay_dist_from_left_edge": 9,
"message_to_show": "Acc. Payee",
"date_dist_from_top_edge": 1,
"date_dist_from_left_edge": 15,
"payer_name_from_top_edge": 2,
"payer_name_from_left_edge": 3,
"amt_in_words_from_top_edge": 3,
"amt_in_words_from_left_edge": 4,
"amt_in_word_width": 15,
"amt_in_words_line_spacing": 0.5,
"amt_in_figures_from_top_edge": 3.5,
"amt_in_figures_from_left_edge": 16,
"acc_no_dist_from_top_edge": 5,
"acc_no_dist_from_left_edge": 4,
"signatory_from_top_edge": 6,
"signatory_from_left_edge": 15
} /api/accounts/cheque-print-template/{id} Delete a cheque print template
Permanently deletes a cheque print template. This cannot be undone.
Path parameters
The identifier of the cheque print template to delete.
Returns
Returns a confirmation that the cheque print template has been deleted.
curl https://api.overplane.dev/api/accounts/cheque-print-template/cheque-print-template_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "cheque-print-template_abc123",
"deleted": true
}