TeamHub icon

TeamHub

Consume the TeamHub Business Management API

Tax → Create Entry

AI-generated

Summary

Create a tax entry by specifying its type (Expense or Income), category, amount in cents, and date, with optional additional fields for customer name, description, invoice number, VAT inclusion and rate, and visibility.

Inputs

  • Type (required) — Select whether the tax entry is an Expense or Income.
  • Category (required) — Specify the server-side category enum for the entry; valid income values include REVENUE_PRODUCT, REVENUE_SERVICE, and REVENUE_OTHER. Invalid values cause a server error.
  • Amount (Cents) (required) — Enter the amount in cents for the tax entry.
  • Date (required) — Provide the date of the entry in YYYY-MM-DD format.
  • Additional Fields — Optionally include Customer Name, Description, Invoice Number, whether VAT is included, VAT Rate (default 19%), and visibility (Public or Private).
  • Options — Optional settings such as splitting lists into items and ignoring SSL issues.

Output shape

a single record

Returns the created tax entry object as JSON. Errors return standard API error responses.

Links

Discussion