The Item Tax 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
{
"id": "item-tax-template_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"title": "title_example",
"company": "Example Corp",
"disabled": false
} /api/accounts/item-tax-template/{id} Retrieve a item tax template
Retrieves the details of an existing item tax template. Supply the unique item tax template ID that was returned from a previous request.
Path parameters
The identifier of the item tax template to retrieve.
Returns
Returns the item tax template object if a valid identifier was provided.
curl https://api.overplane.dev/api/accounts/item-tax-template/item-tax-template_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "item-tax-template_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"title": "title_example",
"company": "Example Corp",
"disabled": false
} /api/accounts/item-tax-template List all item tax templates
Returns a list of item tax 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 item tax template objects.
curl https://api.overplane.dev/api/accounts/item-tax-template \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "item-tax-template_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"title": "title_example",
"company": "Example Corp",
"disabled": false
}
],
"has_more": false,
"total": 1
} /api/accounts/item-tax-template Create a item tax template
Creates a new item tax template object.
Body parameters
Default: false
Returns
Returns the newly created item tax template object if the call succeeded.
curl https://api.overplane.dev/api/accounts/item-tax-template \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"title":"title_example","company":"Example Corp"}' {
"id": "item-tax-template_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"title": "title_example",
"company": "Example Corp",
"disabled": false
} /api/accounts/item-tax-template/{id} Update a item tax template
Updates the specified item tax template by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the item tax template to update.
Body parameters
Default: false
Returns
Returns the updated item tax template object.
curl https://api.overplane.dev/api/accounts/item-tax-template/item-tax-template_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"title":"title_example","company":"Example Corp"}' {
"id": "item-tax-template_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"title": "title_example",
"company": "Example Corp",
"disabled": false
} /api/accounts/item-tax-template/{id} Delete a item tax template
Permanently deletes a item tax template. This cannot be undone.
Path parameters
The identifier of the item tax template to delete.
Returns
Returns a confirmation that the item tax template has been deleted.
curl https://api.overplane.dev/api/accounts/item-tax-template/item-tax-template_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "item-tax-template_abc123",
"deleted": true
} Line items
Child objects that belong to this item tax template. These are accessed via the parent's ID.
Item Tax Template Detail
Attributes
Endpoints
/api/accounts/item-tax-template-detail?parent_id={id} /api/accounts/item-tax-template-detail /api/accounts/item-tax-template-detail/{id} /api/accounts/item-tax-template-detail/{id} /api/accounts/item-tax-template-detail/reorder {
"id": "item-tax-template-detail_abc123",
"idx": 1,
"item_tax_template_id": "item_tax_template_id_example",
"tax_type": "tax_type_example",
"tax_rate": 0
}