Hiveage MCP by usefulapi is an MCP server published by io.usefulapi, hosted at hiveage.usefulapi.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 28 tools, including hiveage_list_connections, hiveage_get_connection, hiveage_list_connection_invoices, hiveage_list_connection_estimates, hiveage_list_connection_recurring_invoices.
Manage Hiveage clients, invoices, estimates and payments; send invoices and record payments.
4,407 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List connections: the companies, clients and vendors in the account's network, sorted by name. Each has a hash_key (used by other tools) and a numeric id (used as connection_id when creating invoices). Hiveage: GET /network.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1. |
| order | string | Sort direction (default asc). |
| per_page | any | Results per page: 20 (default), 60 or 100. |
{
"name": "hiveage_list_connections",
"title": "List connections",
"description": "List connections: the companies, clients and vendors in the account's network, sorted by name. Each has a hash_key (used by other tools) and a numeric id (used as connection_id when creating invoices). Hiveage: GET /network.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction (default asc)."
},
"per_page": {
"anyOf": [
{
"type": "number",
"const": 20
},
{
"type": "number",
"const": 60
},
{
"type": "number",
"const": 100
}
],
"description": "Results per page: 20 (default), 60 or 100."
}
}
},
"annotations": {
"title": "List connections",
"readOnlyHint": true
}
}Get one connection (client, vendor or company) by hash_key. Hiveage: GET /network/{hash_key}.
| Parameter | Type | Description |
|---|---|---|
| hash_key * | string | The hash_key of the connection (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
{
"name": "hiveage_get_connection",
"title": "Get connection",
"description": "Get one connection (client, vendor or company) by hash_key. Hiveage: GET /network/{hash_key}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key"
],
"properties": {
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the connection (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
}
}
},
"annotations": {
"title": "Get connection",
"readOnlyHint": true
}
}List the invoices of one connection (client), by date. Hiveage: GET /network/{hash_key}/invoices.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1. |
| hash_key * | string | The hash_key of the connection (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
| per_page | any | Results per page: 20 (default), 60 or 100. |
{
"name": "hiveage_list_connection_invoices",
"title": "List a connection's invoices",
"description": "List the invoices of one connection (client), by date. Hiveage: GET /network/{hash_key}/invoices.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the connection (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
},
"per_page": {
"anyOf": [
{
"type": "number",
"const": 20
},
{
"type": "number",
"const": 60
},
{
"type": "number",
"const": 100
}
],
"description": "Results per page: 20 (default), 60 or 100."
}
}
},
"annotations": {
"title": "List a connection's invoices",
"readOnlyHint": true
}
}List the estimates of one connection (client). Hiveage: GET /network/{hash_key}/estimates.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1. |
| hash_key * | string | The hash_key of the connection (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
| per_page | any | Results per page: 20 (default), 60 or 100. |
{
"name": "hiveage_list_connection_estimates",
"title": "List a connection's estimates",
"description": "List the estimates of one connection (client). Hiveage: GET /network/{hash_key}/estimates.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the connection (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
},
"per_page": {
"anyOf": [
{
"type": "number",
"const": 20
},
{
"type": "number",
"const": 60
},
{
"type": "number",
"const": 100
}
],
"description": "Results per page: 20 (default), 60 or 100."
}
}
},
"annotations": {
"title": "List a connection's estimates",
"readOnlyHint": true
}
}List the recurring invoice profiles of one connection (client). Hiveage: GET /network/{hash_key}/recurring_invoices.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1. |
| hash_key * | string | The hash_key of the connection (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
| per_page | any | Results per page: 20 (default), 60 or 100. |
{
"name": "hiveage_list_connection_recurring_invoices",
"title": "List a connection's recurring invoices",
"description": "List the recurring invoice profiles of one connection (client). Hiveage: GET /network/{hash_key}/recurring_invoices.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the connection (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
},
"per_page": {
"anyOf": [
{
"type": "number",
"const": 20
},
{
"type": "number",
"const": 60
},
{
"type": "number",
"const": 100
}
],
"description": "Results per page: 20 (default), 60 or 100."
}
}
},
"annotations": {
"title": "List a connection's recurring invoices",
"readOnlyHint": true
}
}List the contacts (people with an email address for sending statements) of a connection. Hiveage: GET /network/{hash_key}/contacts.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1. |
| order | string | Sort direction (default asc). |
| hash_key * | string | The hash_key of the connection (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
| per_page | any | Results per page: 20 (default), 60 or 100. |
{
"name": "hiveage_list_contacts",
"title": "List contacts",
"description": "List the contacts (people with an email address for sending statements) of a connection. Hiveage: GET /network/{hash_key}/contacts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction (default asc)."
},
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the connection (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
},
"per_page": {
"anyOf": [
{
"type": "number",
"const": 20
},
{
"type": "number",
"const": 60
},
{
"type": "number",
"const": 100
}
],
"description": "Results per page: 20 (default), 60 or 100."
}
}
},
"annotations": {
"title": "List contacts",
"readOnlyHint": true
}
}Get one contact of a connection by its numeric id. Hiveage: GET /network/{hash_key}/contacts/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | The contact id. |
| hash_key * | string | The hash_key of the connection (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
{
"name": "hiveage_get_contact",
"title": "Get contact",
"description": "Get one contact of a connection by its numeric id. Hiveage: GET /network/{hash_key}/contacts/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key",
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The contact id.",
"exclusiveMinimum": 0
},
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the connection (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
}
}
},
"annotations": {
"title": "Get contact",
"readOnlyHint": true
}
}List invoices (state draft, viewed, sent, paid or partial) with totals, sorted by date. Hiveage: GET /invs.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1. |
| order | string | Sort direction (default asc). |
| per_page | any | Results per page: 20 (default), 60 or 100. |
{
"name": "hiveage_list_invoices",
"title": "List invoices",
"description": "List invoices (state draft, viewed, sent, paid or partial) with totals, sorted by date. Hiveage: GET /invs.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction (default asc)."
},
"per_page": {
"anyOf": [
{
"type": "number",
"const": 20
},
{
"type": "number",
"const": 60
},
{
"type": "number",
"const": 100
}
],
"description": "Results per page: 20 (default), 60 or 100."
}
}
},
"annotations": {
"title": "List invoices",
"readOnlyHint": true
}
}Get one invoice by hash_key, with its line items, taxes, discounts and shipping. Hiveage: GET /invs/{hash_key}.
| Parameter | Type | Description |
|---|---|---|
| hash_key * | string | The hash_key of the invoice (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
{
"name": "hiveage_get_invoice",
"title": "Get invoice",
"description": "Get one invoice by hash_key, with its line items, taxes, discounts and shipping. Hiveage: GET /invs/{hash_key}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key"
],
"properties": {
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the invoice (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
}
}
},
"annotations": {
"title": "Get invoice",
"readOnlyHint": true
}
}List estimates (quotes), sorted by date. Hiveage: GET /estm.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1. |
| order | string | Sort direction (default asc). |
| per_page | any | Results per page: 20 (default), 60 or 100. |
{
"name": "hiveage_list_estimates",
"title": "List estimates",
"description": "List estimates (quotes), sorted by date. Hiveage: GET /estm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction (default asc)."
},
"per_page": {
"anyOf": [
{
"type": "number",
"const": 20
},
{
"type": "number",
"const": 60
},
{
"type": "number",
"const": 100
}
],
"description": "Results per page: 20 (default), 60 or 100."
}
}
},
"annotations": {
"title": "List estimates",
"readOnlyHint": true
}
}Get one estimate by hash_key, with its line items. Hiveage: GET /estm/{hash_key}.
| Parameter | Type | Description |
|---|---|---|
| hash_key * | string | The hash_key of the estimate (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
{
"name": "hiveage_get_estimate",
"title": "Get estimate",
"description": "Get one estimate by hash_key, with its line items. Hiveage: GET /estm/{hash_key}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key"
],
"properties": {
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the estimate (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
}
}
},
"annotations": {
"title": "Get estimate",
"readOnlyHint": true
}
}List recurring invoice profiles (interval, next billing date, occurrences). Hiveage: GET /rinv.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1. |
| per_page | any | Results per page: 20 (default), 60 or 100. |
{
"name": "hiveage_list_recurring_invoices",
"title": "List recurring invoices",
"description": "List recurring invoice profiles (interval, next billing date, occurrences). Hiveage: GET /rinv.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"per_page": {
"anyOf": [
{
"type": "number",
"const": 20
},
{
"type": "number",
"const": 60
},
{
"type": "number",
"const": 100
}
],
"description": "Results per page: 20 (default), 60 or 100."
}
}
},
"annotations": {
"title": "List recurring invoices",
"readOnlyHint": true
}
}Get one recurring invoice profile by hash_key. Hiveage: GET /rinv/{hash_key}.
| Parameter | Type | Description |
|---|---|---|
| hash_key * | string | The hash_key of the recurring invoice (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
{
"name": "hiveage_get_recurring_invoice",
"title": "Get recurring invoice",
"description": "Get one recurring invoice profile by hash_key. Hiveage: GET /rinv/{hash_key}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key"
],
"properties": {
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the recurring invoice (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
}
}
},
"annotations": {
"title": "Get recurring invoice",
"readOnlyHint": true
}
}List the invoices a recurring invoice profile has generated. Hiveage: GET /rinv/{hash_key}/invoices.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1. |
| hash_key * | string | The hash_key of the recurring invoice (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
| per_page | any | Results per page: 20 (default), 60 or 100. |
{
"name": "hiveage_list_recurring_invoice_invoices",
"title": "List invoices generated by a recurring invoice",
"description": "List the invoices a recurring invoice profile has generated. Hiveage: GET /rinv/{hash_key}/invoices.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the recurring invoice (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
},
"per_page": {
"anyOf": [
{
"type": "number",
"const": 20
},
{
"type": "number",
"const": 60
},
{
"type": "number",
"const": 100
}
],
"description": "Results per page: 20 (default), 60 or 100."
}
}
},
"annotations": {
"title": "List invoices generated by a recurring invoice",
"readOnlyHint": true
}
}List the payments entered on an invoice. Hiveage: GET /invs/{hash_key}/payments.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1. |
| hash_key * | string | The hash_key of the invoice (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
| per_page | any | Results per page: 20 (default), 60 or 100. |
{
"name": "hiveage_list_payments",
"title": "List invoice payments",
"description": "List the payments entered on an invoice. Hiveage: GET /invs/{hash_key}/payments.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the invoice (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
},
"per_page": {
"anyOf": [
{
"type": "number",
"const": 20
},
{
"type": "number",
"const": 60
},
{
"type": "number",
"const": 100
}
],
"description": "Results per page: 20 (default), 60 or 100."
}
}
},
"annotations": {
"title": "List invoice payments",
"readOnlyHint": true
}
}Get one payment of an invoice by its numeric id. Hiveage: GET /invs/{hash_key}/payments/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | The payment id. |
| hash_key * | string | The hash_key of the invoice (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
{
"name": "hiveage_get_payment",
"title": "Get payment",
"description": "Get one payment of an invoice by its numeric id. Hiveage: GET /invs/{hash_key}/payments/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key",
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The payment id.",
"exclusiveMinimum": 0
},
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the invoice (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
}
}
},
"annotations": {
"title": "Get payment",
"readOnlyHint": true
}
}List the saved line-item templates: kind items (saved items with price and unit), expenses, tasks (with rate) or trips (with rate). Hiveage: GET /categories/{kind}.
| Parameter | Type | Description |
|---|---|---|
| kind * | string | Which saved list to read. |
| page | integer | Page number, starting at 1. |
| order | string | Sort direction (default asc). |
| per_page | any | Results per page: 20 (default), 60 or 100. |
{
"name": "hiveage_list_categories",
"title": "List saved items, expense, task or trip categories",
"description": "List the saved line-item templates: kind items (saved items with price and unit), expenses, tasks (with rate) or trips (with rate). Hiveage: GET /categories/{kind}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"items",
"expenses",
"tasks",
"trips"
],
"type": "string",
"description": "Which saved list to read."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction (default asc)."
},
"per_page": {
"anyOf": [
{
"type": "number",
"const": 20
},
{
"type": "number",
"const": 60
},
{
"type": "number",
"const": 100
}
],
"description": "Results per page: 20 (default), 60 or 100."
}
}
},
"annotations": {
"title": "List saved items, expense, task or trip categories",
"readOnlyHint": true
}
}WRITE: create a new connection (client, vendor or company) in the account. For an organization give `name`; for an individual give first_name and last_name. Hiveage: POST /network.
| Parameter | Type | Description |
|---|---|---|
| fax | string | |
| city | string | |
| name | string | Organization name (organization only). |
| phone | string | |
| address | string | |
| country | string | |
| category * | string | organization (use name) or individual (use first_name and last_name). |
| currency * | string | ISO currency code, for example USD. |
| language | string | Language code, default en-us (also en-uk, zh, da, nl, de, et, fil, fr, hi, it, ja, ko, ms, pt-br, ru, si, es). |
| zip_code | string | |
| last_name | string | Last name (individual only). |
WRITE: add a contact (name and email, used when sending statements) to a connection. Hiveage: POST /network/{hash_key}/contacts.
| Parameter | Type | Description |
|---|---|---|
| email * | string | |
| phone | string | |
| mobile | string | |
| hash_key * | string | The hash_key of the connection (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
| last_name | string | |
| first_name * | string |
{
"name": "hiveage_create_contact",
"title": "Create contact",
"description": "WRITE: add a contact (name and email, used when sending statements) to a connection. Hiveage: POST /network/{hash_key}/contacts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key",
"first_name",
"email"
],
"properties": {
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"phone": {
"type": "string"
},
"mobile": {
"type": "string"
},
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the connection (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
},
"last_name": {
"type": "string"
},
"first_name": {
"type": "string",
"minLength": 1
}
}
},
"annotations": {
"title": "Create contact",
"destructiveHint": false
}
}WRITE: change fields of a contact (only the fields you pass are sent). Hiveage: PUT /network/{hash_key}/contacts/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | The contact id. |
| string | ||
| phone | string | |
| mobile | string | |
| hash_key * | string | The hash_key of the connection (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
| last_name | string | |
| first_name | string |
{
"name": "hiveage_update_contact",
"title": "Update contact",
"description": "WRITE: change fields of a contact (only the fields you pass are sent). Hiveage: PUT /network/{hash_key}/contacts/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key",
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The contact id.",
"exclusiveMinimum": 0
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"phone": {
"type": "string"
},
"mobile": {
"type": "string"
},
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the connection (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
},
"last_name": {
"type": "string"
},
"first_name": {
"type": "string"
}
}
},
"annotations": {
"title": "Update contact",
"idempotentHint": true,
"destructiveHint": true
}
}WRITE: create an invoice (starts as a draft; nothing is emailed) for a connection. statement_no must be unique. connection_id is the numeric `id` from hiveage_list_connections. Hiveage: POST /invs.
| Parameter | Type | Description |
|---|---|---|
| date * | string | Invoice date, YYYY-MM-DD. |
| note | string | |
| items | array | Item lines (description, price, quantity). |
| tasks | array | Time task lines. |
| taxes | array | Taxes added to the sub total. |
| trips | array | Mileage lines. |
| summary | string | |
| due_date * | string | Due date, YYYY-MM-DD. |
| expenses | array | Expense lines. |
| discounts | array | Discounts applied to the sub total. |
| po_number | string | |
| statement_no |
WRITE: create an estimate (quote; starts as a draft, nothing is emailed) for a connection. statement_no must be unique. Hiveage: POST /estm.
| Parameter | Type | Description |
|---|---|---|
| date * | string | Estimate date, YYYY-MM-DD. |
| note | string | |
| items | array | Item lines (description, price, quantity). |
| tasks | array | Time task lines. |
| taxes | array | Taxes added to the sub total. |
| trips | array | Mileage lines. |
| summary | string | |
| expenses | array | Expense lines. |
| discounts | array | Discounts applied to the sub total. |
| expire_date * | string | Expiry date, YYYY-MM-DD. |
| statement_no * | string | Unique estimate number, for example EST-001. |
| connection_id |
WRITE: enter a payment received on an invoice (changes its paid and due totals). Offline payments (cash, check, bank_transfer) are saved as unrealized until marked realized. Hiveage: POST /invs/{hash_key}/payments.
| Parameter | Type | Description |
|---|---|---|
| date | string | Date received, YYYY-MM-DD. |
| amount * | any | Payment amount, for example 10.00. |
| details | string | Payment description. |
| hash_key * | string | The hash_key of the invoice (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
| payment_method * | string | How the invoice was paid. |
{
"name": "hiveage_record_payment",
"title": "Record invoice payment",
"description": "WRITE: enter a payment received on an invoice (changes its paid and due totals). Offline payments (cash, check, bank_transfer) are saved as unrealized until marked realized. Hiveage: POST /invs/{hash_key}/payments.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key",
"amount",
"payment_method"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date received, YYYY-MM-DD."
},
"amount": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
],
"description": "Payment amount, for example 10.00."
},
"details": {
"type": "string",
"description": "Payment description."
},
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the invoice (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
},
"payment_method": {
"enum": [
"cash",
"check",
"other",
"bank_transfer",
"google_wallet",
"wepay",
"twocheckout",
"paypal",
"paypal_pro",
"braintree",
"authorizenet",
"stripe"
],
"type": "string",
"description": "How the invoice was paid."
}
}
},
"annotations": {
"title": "Record invoice payment",
"destructiveHint": true
}
}WRITE: mark an offline (unrealized) payment as realized, so it counts as received. Hiveage: POST /invs/{hash_key}/payments/{id}/mark_as_realized.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | The payment id. |
| hash_key * | string | The hash_key of the invoice (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
{
"name": "hiveage_mark_payment_realized",
"title": "Mark payment realized",
"description": "WRITE: mark an offline (unrealized) payment as realized, so it counts as received. Hiveage: POST /invs/{hash_key}/payments/{id}/mark_as_realized.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key",
"id"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The payment id.",
"exclusiveMinimum": 0
},
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the invoice (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
}
}
},
"annotations": {
"title": "Mark payment realized",
"idempotentHint": true,
"destructiveHint": true
}
}WRITE: save a reusable line item (name, price, unit) for statements. Hiveage: POST /categories/items.
| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| unit | string | Unit label such as "hourly". |
| price * | any | Price, for example 150.00. |
| description | string |
{
"name": "hiveage_create_saved_item",
"title": "Create saved item",
"description": "WRITE: save a reusable line item (name, price, unit) for statements. Hiveage: POST /categories/items.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"price"
],
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"unit": {
"type": "string",
"description": "Unit label such as \"hourly\"."
},
"price": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
],
"description": "Price, for example 150.00."
},
"description": {
"type": "string"
}
}
},
"annotations": {
"title": "Create saved item",
"destructiveHint": false
}
}WRITE, SENDS EMAIL: email an invoice to the client (the default invoice template to the connection's contacts, or a custom recipient/subject/message). Cannot be undone. Hiveage: POST /invs/{hash_key}/deliver.
| Parameter | Type | Description |
|---|---|---|
| confirm * | boolean | Must be true: this emails real people from the Hiveage account. |
| message | string | Email body (custom delivery only). |
| subject | string | Email subject (custom delivery only). |
| hash_key * | string | The hash_key of the invoice (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
| attachment | boolean | Attach the PDF (custom delivery only). |
| recipients | array | Custom TO addresses (all of recipients, subject and message are then needed). Omit for the default template and the connection's contacts. |
| blind_copies | array | BCC addresses (custom delivery only). |
{
"name": "hiveage_send_invoice",
"title": "Send invoice by email",
"description": "WRITE, SENDS EMAIL: email an invoice to the client (the default invoice template to the connection's contacts, or a custom recipient/subject/message). Cannot be undone. Hiveage: POST /invs/{hash_key}/deliver.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key",
"confirm"
],
"properties": {
"confirm": {
"type": "boolean",
"const": true,
"description": "Must be true: this emails real people from the Hiveage account."
},
"message": {
"type": "string",
"description": "Email body (custom delivery only)."
},
"subject": {
"type": "string",
"description": "Email subject (custom delivery only)."
},
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the invoice (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
},
"attachment": {
"type": "boolean",
"description": "Attach the PDF (custom delivery only)."
},
"recipients": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"email"
],
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
}
}
},
"maxItems": 20,
"minItems": 1,
"description": "Custom TO addresses (all of recipients, subject and message are then needed). Omit for the default template and the connection's contacts."
},
"blind_copies": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"email"
],
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
}
}
},
"maxItems": 20,
"description": "BCC addresses (custom delivery only)."
}
}
},
"annotations": {
"title": "Send invoice by email",
"destructiveHint": true
}
}WRITE, SENDS EMAIL: email a payment reminder for an invoice (default reminder template, or custom). Cannot be undone. Hiveage: POST /invs/{hash_key}/reminder.
| Parameter | Type | Description |
|---|---|---|
| confirm * | boolean | Must be true: this emails real people from the Hiveage account. |
| message | string | Email body (custom delivery only). |
| subject | string | Email subject (custom delivery only). |
| hash_key * | string | The hash_key of the invoice (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
| attachment | boolean | Attach the PDF (custom delivery only). |
| recipients | array | Custom TO addresses (all of recipients, subject and message are then needed). Omit for the default template and the connection's contacts. |
| blind_copies | array | BCC addresses (custom delivery only). |
{
"name": "hiveage_send_invoice_reminder",
"title": "Send invoice reminder by email",
"description": "WRITE, SENDS EMAIL: email a payment reminder for an invoice (default reminder template, or custom). Cannot be undone. Hiveage: POST /invs/{hash_key}/reminder.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key",
"confirm"
],
"properties": {
"confirm": {
"type": "boolean",
"const": true,
"description": "Must be true: this emails real people from the Hiveage account."
},
"message": {
"type": "string",
"description": "Email body (custom delivery only)."
},
"subject": {
"type": "string",
"description": "Email subject (custom delivery only)."
},
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the invoice (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
},
"attachment": {
"type": "boolean",
"description": "Attach the PDF (custom delivery only)."
},
"recipients": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"email"
],
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
}
}
},
"maxItems": 20,
"minItems": 1,
"description": "Custom TO addresses (all of recipients, subject and message are then needed). Omit for the default template and the connection's contacts."
},
"blind_copies": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"email"
],
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
}
}
},
"maxItems": 20,
"description": "BCC addresses (custom delivery only)."
}
}
},
"annotations": {
"title": "Send invoice reminder by email",
"destructiveHint": true
}
}WRITE, SENDS EMAIL: email an estimate to the client (default template, or custom). Cannot be undone. Hiveage: POST /estm/{hash_key}/deliver.
| Parameter | Type | Description |
|---|---|---|
| confirm * | boolean | Must be true: this emails real people from the Hiveage account. |
| message | string | Email body (custom delivery only). |
| subject | string | Email subject (custom delivery only). |
| hash_key * | string | The hash_key of the estimate (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. |
| attachment | boolean | Attach the PDF (custom delivery only). |
| recipients | array | Custom TO addresses (all of recipients, subject and message are then needed). Omit for the default template and the connection's contacts. |
| blind_copies | array | BCC addresses (custom delivery only). |
{
"name": "hiveage_send_estimate",
"title": "Send estimate by email",
"description": "WRITE, SENDS EMAIL: email an estimate to the client (default template, or custom). Cannot be undone. Hiveage: POST /estm/{hash_key}/deliver.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hash_key",
"confirm"
],
"properties": {
"confirm": {
"type": "boolean",
"const": true,
"description": "Must be true: this emails real people from the Hiveage account."
},
"message": {
"type": "string",
"description": "Email body (custom delivery only)."
},
"subject": {
"type": "string",
"description": "Email subject (custom delivery only)."
},
"hash_key": {
"type": "string",
"minLength": 1,
"description": "The hash_key of the estimate (a short string such as \"bCbFYNj3RFM2uQ\"), not its numeric id."
},
"attachment": {
"type": "boolean",
"description": "Attach the PDF (custom delivery only)."
},
"recipients": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"email"
],
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
}
}
},
"maxItems": 20,
"minItems": 1,
"description": "Custom TO addresses (all of recipients, subject and message are then needed). Omit for the default template and the connection's contacts."
},
"blind_copies": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"email"
],
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
}
}
},
"maxItems": 20,
"description": "BCC addresses (custom delivery only)."
}
}
},
"annotations": {
"title": "Send estimate by email",
"destructiveHint": true
}
}Tools for Hiveage, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Which invoices are overdue or still unpaid, and what is the total outstanding?"; "Show all invoices and estimates for the client Acme Inc."; "Record a $500 bank transfer payment on invoice IN-014.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Hiveage data. Free plan: 50 tool calls per month. Run hiveage_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run hiveage_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run hiveage_upgrade without a plan: it returns both plans, each with a payment link for the user to open. hiveage_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| first_name |
| string |
| First name (individual only). |
| state_name | string |
| website_url | string |
| business_email * | string | Business email. |
| primary_contact_last_name | string |
| primary_contact_first_name | string |
{
"name": "hiveage_create_connection",
"title": "Create connection",
"description": "WRITE: create a new connection (client, vendor or company) in the account. For an organization give `name`; for an individual give first_name and last_name. Hiveage: POST /network.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"category",
"business_email",
"currency"
],
"properties": {
"fax": {
"type": "string"
},
"city": {
"type": "string"
},
"name": {
"type": "string",
"description": "Organization name (organization only)."
},
"phone": {
"type": "string"
},
"address": {
"type": "string"
},
"country": {
"type": "string"
},
"category": {
"enum": [
"organization",
"individual"
],
"type": "string",
"description": "organization (use name) or individual (use first_name and last_name)."
},
"currency": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "ISO currency code, for example USD."
},
"language": {
"type": "string",
"description": "Language code, default en-us (also en-uk, zh, da, nl, de, et, fil, fr, hi, it, ja, ko, ms, pt-br, ru, si, es)."
},
"zip_code": {
"type": "string"
},
"last_name": {
"type": "string",
"description": "Last name (individual only)."
},
"first_name": {
"type": "string",
"description": "First name (individual only)."
},
"state_name": {
"type": "string"
},
"website_url": {
"type": "string"
},
"business_email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Business email."
},
"primary_contact_last_name": {
"type": "string"
},
"primary_contact_first_name": {
"type": "string"
}
}
},
"annotations": {
"title": "Create connection",
"destructiveHint": false
}
}| string |
| Unique invoice number, for example IN-001. |
| connection_id * | integer | The numeric id (not the hash_key) of the connection to bill. |
| send_reminders | boolean |
| payment_options | array | Accepted payment methods. |
| shipping_amounts | array | Shipping charges. |
| allow_partial_payments | boolean |
| send_receipts_automatically | boolean |
{
"name": "hiveage_create_invoice",
"title": "Create invoice",
"description": "WRITE: create an invoice (starts as a draft; nothing is emailed) for a connection. statement_no must be unique. connection_id is the numeric `id` from hiveage_list_connections. Hiveage: POST /invs.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"connection_id",
"statement_no",
"date",
"due_date"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Invoice date, YYYY-MM-DD."
},
"note": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"price",
"quantity"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"unit": {
"type": "string",
"description": "Unit label such as \"hourly\"."
},
"price": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
],
"description": "Unit price."
},
"quantity": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
],
"description": "Quantity."
},
"description": {
"type": "string",
"description": "Line description."
}
}
},
"maxItems": 100,
"description": "Item lines (description, price, quantity)."
},
"tasks": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"duration",
"rate"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"rate": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
],
"description": "Rate per hour."
},
"duration": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
],
"description": "Duration in minutes."
},
"description": {
"type": "string"
}
}
},
"maxItems": 100,
"description": "Time task lines."
},
"taxes": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"combined_amount_percent"
],
"properties": {
"name": {
"type": "string",
"description": "Name, for example \"VAT\"."
},
"percentage": {
"type": "boolean",
"description": "true if the value is a percentage."
},
"combined_amount_percent": {
"type": "string",
"description": "Fixed or percentage value, for example \"5.00\" or \"5.25%\"."
}
}
},
"maxItems": 20,
"description": "Taxes added to the sub total."
},
"trips": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"distance",
"rate"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"rate": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
],
"description": "Rate per distance unit."
},
"distance": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
]
},
"description": {
"type": "string"
}
}
},
"maxItems": 100,
"description": "Mileage lines."
},
"summary": {
"type": "string"
},
"due_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Due date, YYYY-MM-DD."
},
"expenses": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"amount"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"amount": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
]
},
"description": {
"type": "string"
}
}
},
"maxItems": 100,
"description": "Expense lines."
},
"discounts": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"combined_amount_percent"
],
"properties": {
"name": {
"type": "string",
"description": "Name, for example \"VAT\"."
},
"percentage": {
"type": "boolean",
"description": "true if the value is a percentage."
},
"combined_amount_percent": {
"type": "string",
"description": "Fixed or percentage value, for example \"5.00\" or \"5.25%\"."
}
}
},
"maxItems": 20,
"description": "Discounts applied to the sub total."
},
"po_number": {
"type": "string"
},
"statement_no": {
"type": "string",
"minLength": 1,
"description": "Unique invoice number, for example IN-001."
},
"connection_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The numeric id (not the hash_key) of the connection to bill.",
"exclusiveMinimum": 0
},
"send_reminders": {
"type": "boolean"
},
"payment_options": {
"type": "array",
"items": {
"enum": [
"cash",
"check",
"bank_transfer",
"paypal"
],
"type": "string"
},
"description": "Accepted payment methods."
},
"shipping_amounts": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"combined_amount_percent"
],
"properties": {
"name": {
"type": "string",
"description": "Name, for example \"VAT\"."
},
"percentage": {
"type": "boolean",
"description": "true if the value is a percentage."
},
"combined_amount_percent": {
"type": "string",
"description": "Fixed or percentage value, for example \"5.00\" or \"5.25%\"."
}
}
},
"maxItems": 20,
"description": "Shipping charges."
},
"allow_partial_payments": {
"type": "boolean"
},
"send_receipts_automatically": {
"type": "boolean"
}
}
},
"annotations": {
"title": "Create invoice",
"destructiveHint": false
}
}| integer |
| The numeric id (not the hash_key) of the connection. |
| send_reminders | boolean |
| shipping_amounts | array | Shipping charges. |
{
"name": "hiveage_create_estimate",
"title": "Create estimate",
"description": "WRITE: create an estimate (quote; starts as a draft, nothing is emailed) for a connection. statement_no must be unique. Hiveage: POST /estm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"connection_id",
"statement_no",
"date",
"expire_date"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Estimate date, YYYY-MM-DD."
},
"note": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"price",
"quantity"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"unit": {
"type": "string",
"description": "Unit label such as \"hourly\"."
},
"price": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
],
"description": "Unit price."
},
"quantity": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
],
"description": "Quantity."
},
"description": {
"type": "string",
"description": "Line description."
}
}
},
"maxItems": 100,
"description": "Item lines (description, price, quantity)."
},
"tasks": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"duration",
"rate"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"rate": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
],
"description": "Rate per hour."
},
"duration": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
],
"description": "Duration in minutes."
},
"description": {
"type": "string"
}
}
},
"maxItems": 100,
"description": "Time task lines."
},
"taxes": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"combined_amount_percent"
],
"properties": {
"name": {
"type": "string",
"description": "Name, for example \"VAT\"."
},
"percentage": {
"type": "boolean",
"description": "true if the value is a percentage."
},
"combined_amount_percent": {
"type": "string",
"description": "Fixed or percentage value, for example \"5.00\" or \"5.25%\"."
}
}
},
"maxItems": 20,
"description": "Taxes added to the sub total."
},
"trips": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"distance",
"rate"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"rate": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
],
"description": "Rate per distance unit."
},
"distance": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
]
},
"description": {
"type": "string"
}
}
},
"maxItems": 100,
"description": "Mileage lines."
},
"summary": {
"type": "string"
},
"expenses": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"amount"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"amount": {
"anyOf": [
{
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?$"
},
{
"type": "number"
}
]
},
"description": {
"type": "string"
}
}
},
"maxItems": 100,
"description": "Expense lines."
},
"discounts": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"combined_amount_percent"
],
"properties": {
"name": {
"type": "string",
"description": "Name, for example \"VAT\"."
},
"percentage": {
"type": "boolean",
"description": "true if the value is a percentage."
},
"combined_amount_percent": {
"type": "string",
"description": "Fixed or percentage value, for example \"5.00\" or \"5.25%\"."
}
}
},
"maxItems": 20,
"description": "Discounts applied to the sub total."
},
"expire_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Expiry date, YYYY-MM-DD."
},
"statement_no": {
"type": "string",
"minLength": 1,
"description": "Unique estimate number, for example EST-001."
},
"connection_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The numeric id (not the hash_key) of the connection.",
"exclusiveMinimum": 0
},
"send_reminders": {
"type": "boolean"
},
"shipping_amounts": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"combined_amount_percent"
],
"properties": {
"name": {
"type": "string",
"description": "Name, for example \"VAT\"."
},
"percentage": {
"type": "boolean",
"description": "true if the value is a percentage."
},
"combined_amount_percent": {
"type": "string",
"description": "Fixed or percentage value, for example \"5.00\" or \"5.25%\"."
}
}
},
"maxItems": 20,
"description": "Shipping charges."
}
}
},
"annotations": {
"title": "Create estimate",
"destructiveHint": false
}
}