The Opening Invoice Creation Tool 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
{
"id": "opening-invoice-creation-tool_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"company": "Example Corp",
"create_missing_party": false,
"invoice_type": "invoice_type_example",
"cost_center": "cost_center_example",
"project": "project_example"
} /api/accounts/opening-invoice-creation-tool/{id} Retrieve a opening invoice creation tool
Retrieves the details of an existing opening invoice creation tool. Supply the unique opening invoice creation tool ID that was returned from a previous request.
Path parameters
The identifier of the opening invoice creation tool to retrieve.
Returns
Returns the opening invoice creation tool object if a valid identifier was provided.
curl https://api.overplane.dev/api/accounts/opening-invoice-creation-tool/opening-invoice-creation-tool_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "opening-invoice-creation-tool_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"company": "Example Corp",
"create_missing_party": false,
"invoice_type": "invoice_type_example",
"cost_center": "cost_center_example",
"project": "project_example"
} /api/accounts/opening-invoice-creation-tool List all opening invoice creation tools
Returns a list of opening invoice creation tools. 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 opening invoice creation tool objects.
curl https://api.overplane.dev/api/accounts/opening-invoice-creation-tool \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "opening-invoice-creation-tool_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"company": "Example Corp",
"create_missing_party": false,
"invoice_type": "invoice_type_example",
"cost_center": "cost_center_example",
"project": "project_example"
}
],
"has_more": false,
"total": 1
} /api/accounts/opening-invoice-creation-tool Create a opening invoice creation tool
Creates a new opening invoice creation tool object.
Body parameters
Default: false
Returns
Returns the newly created opening invoice creation tool object if the call succeeded.
curl https://api.overplane.dev/api/accounts/opening-invoice-creation-tool \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"company":"Example Corp","invoice_type":"invoice_type_example"}' {
"id": "opening-invoice-creation-tool_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"company": "Example Corp",
"create_missing_party": false,
"invoice_type": "invoice_type_example",
"cost_center": "cost_center_example",
"project": "project_example"
} /api/accounts/opening-invoice-creation-tool/{id} Update a opening invoice creation tool
Updates the specified opening invoice creation tool by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the opening invoice creation tool to update.
Body parameters
Default: false
Returns
Returns the updated opening invoice creation tool object.
curl https://api.overplane.dev/api/accounts/opening-invoice-creation-tool/opening-invoice-creation-tool_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"company":"Example Corp","create_missing_party":false}' {
"id": "opening-invoice-creation-tool_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"company": "Example Corp",
"create_missing_party": false,
"invoice_type": "invoice_type_example",
"cost_center": "cost_center_example",
"project": "project_example"
} /api/accounts/opening-invoice-creation-tool/{id} Delete a opening invoice creation tool
Permanently deletes a opening invoice creation tool. This cannot be undone.
Path parameters
The identifier of the opening invoice creation tool to delete.
Returns
Returns a confirmation that the opening invoice creation tool has been deleted.
curl https://api.overplane.dev/api/accounts/opening-invoice-creation-tool/opening-invoice-creation-tool_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "opening-invoice-creation-tool_abc123",
"deleted": true
} Line items
Child objects that belong to this opening invoice creation tool. These are accessed via the parent's ID.
Opening Invoice Creation Tool Item
Attributes
Endpoints
/api/accounts/opening-invoice-creation-tool-item?parent_id={id} /api/accounts/opening-invoice-creation-tool-item /api/accounts/opening-invoice-creation-tool-item/{id} /api/accounts/opening-invoice-creation-tool-item/{id} /api/accounts/opening-invoice-creation-tool-item/reorder {
"id": "opening-invoice-creation-tool-item_abc123",
"idx": 1,
"opening_invoice_creation_tool_id": "opening_invoice_creation_tool_id_example",
"party_type": "party_type_example",
"party": "party_example",
"temporary_opening_account": "temporary_opening_account_example",
"posting_date": "2024-01-15",
"due_date": "2024-01-15",
"item_name": "Opening Invoice Item",
"outstanding_amount": 0,
"qty": "1",
"cost_center": "cost_center_example",
"invoice_number": "invoice_number_example",
"supplier_invoice_date": "2024-01-15",
"party_name": "party_name_example"
}