Conta MCP by usefulapi is an MCP server published by io.usefulapi, hosted at conta.usefulapi.io. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 16 tools, including conta_list_organizations, conta_search_customers, conta_get_customer, conta_create_customer, conta_search_invoices.
Read customers, invoices, payments, ledgers and reports; create customers in Conta.
4,129 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 the organizations (businesses) the API key's user can access, with their ids. Call this first to get the organizationId every other tool needs. Conta API: GET /invoice/organizations.
No parameters.
{
"name": "conta_list_organizations",
"title": "List organizations",
"description": "List the organizations (businesses) the API key's user can access, with their ids. Call this first to get the organizationId every other tool needs. Conta API: GET /invoice/organizations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List organizations",
"readOnlyHint": true
}
}Search customers of an organization by free text (name, number, e-mail), or list them, with optional modified-date range. Conta API: GET /invoice/organizations/{organizationId}/customers.
| Parameter | Type | Description |
|---|---|---|
| q | string | Partial-word search across the main fields. |
| hits | integer | Items per page. |
| page | integer | Page number, starting at 0. |
| sort | string | Field name to sort by (not every field is sortable). |
| modifiedToDate | string | Only customers modified on or before this date (yyyy-mm-dd). |
| organizationId * | integer | Organization id (from conta_list_organizations). |
| modifiedFromDate | string | Only customers modified on or after this date (yyyy-mm-dd). |
{
"name": "conta_search_customers",
"title": "Search customers",
"description": "Search customers of an organization by free text (name, number, e-mail), or list them, with optional modified-date range. Conta API: GET /invoice/organizations/{organizationId}/customers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organizationId"
],
"properties": {
"q": {
"type": "string",
"description": "Partial-word search across the main fields."
},
"hits": {
"type": "integer",
"maximum": 200,
"description": "Items per page.",
"exclusiveMinimum": 0
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Page number, starting at 0."
},
"sort": {
"type": "string",
"description": "Field name to sort by (not every field is sortable)."
},
"modifiedToDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Only customers modified on or before this date (yyyy-mm-dd)."
},
"organizationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Organization id (from conta_list_organizations).",
"exclusiveMinimum": 0
},
"modifiedFromDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Only customers modified on or after this date (yyyy-mm-dd)."
}
}
},
"annotations": {
"title": "Search customers",
"readOnlyHint": true
}
}Read one customer by id, including address, e-mail and invoice delivery settings. Conta API: GET /invoice/organizations/{organizationId}/customers/{customerId}.
| Parameter | Type | Description |
|---|---|---|
| customerId * | integer | Customer id (from conta_search_customers). |
| organizationId * | integer | Organization id (from conta_list_organizations). |
{
"name": "conta_get_customer",
"title": "Get a customer",
"description": "Read one customer by id, including address, e-mail and invoice delivery settings. Conta API: GET /invoice/organizations/{organizationId}/customers/{customerId}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organizationId",
"customerId"
],
"properties": {
"customerId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Customer id (from conta_search_customers).",
"exclusiveMinimum": 0
},
"organizationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Organization id (from conta_list_organizations).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get a customer",
"readOnlyHint": true
}
}Create a customer in an organization. Writes live accounting data. Required: name, customerType (the code Conta expects), and the customer's street, postcode and city. Conta API: POST /invoice/organizations/{organizationId}/customers.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Customer name. |
| orgNo | string | Organization number (orgnr). |
| phoneNo | string | Phone number. |
| customerType * | string | Customer type code, as the Conta API expects it. |
| emailAddress | string | E-mail address for invoices. |
| organizationId * | integer | Organization id (from conta_list_organizations). |
| customerAddressCity * | string | City. |
| customerAddressLine1 * | string | Street address. |
| customerAddressCountry | string | Country name or code, as Conta accepts it. |
Search invoices of an organization with extra information. Filter by date range, customer, type or invoice number. Read only. Conta API: GET /invoice/organizations/{organizationId}/invoices.
| Parameter | Type | Description |
|---|---|---|
| q | string | Partial-word search across the main fields. |
| hits | integer | Items per page. |
| page | integer | Page number, starting at 0. |
| sort | string | Field name to sort by (not every field is sortable). |
| type | string | Invoice type, as Conta names it. |
| toDate | string | Invoices dated on or before this date (yyyy-mm-dd). |
| fromDate | string | Invoices dated on or after this date (yyyy-mm-dd). |
| invoiceNo | integer | Invoice number. |
| customerId | integer | Only invoices of this customer. |
| organizationId * | integer | Organization id (from conta_list_organizations). |
| invoiceCurrency |
Read one invoice by id, with its lines, totals and payment status. Read only. Conta API: GET /invoice/organizations/{organizationId}/invoices/{invoiceId}.
| Parameter | Type | Description |
|---|---|---|
| invoiceId * | integer | Invoice id (from conta_search_invoices). |
| organizationId * | integer | Organization id (from conta_list_organizations). |
{
"name": "conta_get_invoice",
"title": "Get an invoice",
"description": "Read one invoice by id, with its lines, totals and payment status. Read only. Conta API: GET /invoice/organizations/{organizationId}/invoices/{invoiceId}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organizationId",
"invoiceId"
],
"properties": {
"invoiceId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Invoice id (from conta_search_invoices).",
"exclusiveMinimum": 0
},
"organizationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Organization id (from conta_list_organizations).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get an invoice",
"readOnlyHint": true
}
}Return the three latest unpaid invoices with the key figures: total unpaid and overdue sums. Read only. Conta API: GET /invoice/organizations/{organizationId}/invoices/unpaid.
| Parameter | Type | Description |
|---|---|---|
| organizationId * | integer | Organization id (from conta_list_organizations). |
{
"name": "conta_get_unpaid_invoices",
"title": "Get unpaid invoices",
"description": "Return the three latest unpaid invoices with the key figures: total unpaid and overdue sums. Read only. Conta API: GET /invoice/organizations/{organizationId}/invoices/unpaid.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organizationId"
],
"properties": {
"organizationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Organization id (from conta_list_organizations).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get unpaid invoices",
"readOnlyHint": true
}
}Search payments recorded against invoices in an organization, with an optional date range. Read only. Conta API: GET /invoice/organizations/{organizationId}/invoice-payments.
| Parameter | Type | Description |
|---|---|---|
| q | string | Partial-word search across the main fields. |
| hits | integer | Items per page. |
| page | integer | Page number, starting at 0. |
| sort | string | Field name to sort by (not every field is sortable). |
| toDate | string | Payments on or before this date (yyyy-mm-dd). |
| fromDate | string | Payments on or after this date (yyyy-mm-dd). |
| organizationId * | integer | Organization id (from conta_list_organizations). |
{
"name": "conta_search_invoice_payments",
"title": "Search invoice payments",
"description": "Search payments recorded against invoices in an organization, with an optional date range. Read only. Conta API: GET /invoice/organizations/{organizationId}/invoice-payments.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organizationId"
],
"properties": {
"q": {
"type": "string",
"description": "Partial-word search across the main fields."
},
"hits": {
"type": "integer",
"maximum": 200,
"description": "Items per page.",
"exclusiveMinimum": 0
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Page number, starting at 0."
},
"sort": {
"type": "string",
"description": "Field name to sort by (not every field is sortable)."
},
"toDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Payments on or before this date (yyyy-mm-dd)."
},
"fromDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Payments on or after this date (yyyy-mm-dd)."
},
"organizationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Organization id (from conta_list_organizations).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Search invoice payments",
"readOnlyHint": true
}
}List and search invoice drafts (not yet issued) in an organization. Read only. Conta API: GET /invoice/organizations/{organizationId}/invoice-drafts.
| Parameter | Type | Description |
|---|---|---|
| q | string | Partial-word search across the main fields. |
| hits | integer | Items per page. |
| page | integer | Page number, starting at 0. |
| sort | string | Field name to sort by (not every field is sortable). |
| toDate | string | Drafts on or before this date (yyyy-mm-dd). |
| fromDate | string | Drafts on or after this date (yyyy-mm-dd). |
| customerId | integer | Only drafts of this customer. |
| organizationId * | integer | Organization id (from conta_list_organizations). |
{
"name": "conta_search_invoice_drafts",
"title": "Search invoice drafts",
"description": "List and search invoice drafts (not yet issued) in an organization. Read only. Conta API: GET /invoice/organizations/{organizationId}/invoice-drafts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organizationId"
],
"properties": {
"q": {
"type": "string",
"description": "Partial-word search across the main fields."
},
"hits": {
"type": "integer",
"maximum": 200,
"description": "Items per page.",
"exclusiveMinimum": 0
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Page number, starting at 0."
},
"sort": {
"type": "string",
"description": "Field name to sort by (not every field is sortable)."
},
"toDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Drafts on or before this date (yyyy-mm-dd)."
},
"fromDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Drafts on or after this date (yyyy-mm-dd)."
},
"customerId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only drafts of this customer.",
"exclusiveMinimum": 0
},
"organizationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Organization id (from conta_list_organizations).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Search invoice drafts",
"readOnlyHint": true
}
}Search products and services of an organization by free text, or list them. Read only. Conta API: GET /invoice/organizations/{organizationId}/products.
| Parameter | Type | Description |
|---|---|---|
| q | string | Partial-word search across the main fields. |
| hits | integer | Items per page. |
| page | integer | Page number, starting at 0. |
| sort | string | Field name to sort by (not every field is sortable). |
| toDate | string | Products modified on or before this date (yyyy-mm-dd). |
| fromDate | string | Products modified on or after this date (yyyy-mm-dd). |
| organizationId * | integer | Organization id (from conta_list_organizations). |
{
"name": "conta_search_products",
"title": "Search products",
"description": "Search products and services of an organization by free text, or list them. Read only. Conta API: GET /invoice/organizations/{organizationId}/products.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organizationId"
],
"properties": {
"q": {
"type": "string",
"description": "Partial-word search across the main fields."
},
"hits": {
"type": "integer",
"maximum": 200,
"description": "Items per page.",
"exclusiveMinimum": 0
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Page number, starting at 0."
},
"sort": {
"type": "string",
"description": "Field name to sort by (not every field is sortable)."
},
"toDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Products modified on or before this date (yyyy-mm-dd)."
},
"fromDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Products modified on or after this date (yyyy-mm-dd)."
},
"organizationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Organization id (from conta_list_organizations).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Search products",
"readOnlyHint": true
}
}List the bank accounts of an organization (IBAN, account number, name, invoicing use). Read only. Conta API: GET /invoice/organizations/{organizationId}/bank-accounts.
| Parameter | Type | Description |
|---|---|---|
| organizationId * | integer | Organization id (from conta_list_organizations). |
{
"name": "conta_list_bank_accounts",
"title": "List bank accounts",
"description": "List the bank accounts of an organization (IBAN, account number, name, invoicing use). Read only. Conta API: GET /invoice/organizations/{organizationId}/bank-accounts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organizationId"
],
"properties": {
"organizationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Organization id (from conta_list_organizations).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List bank accounts",
"readOnlyHint": true
}
}Open accounts receivable for one customer or all customers, as of an optional period. Read only. Conta API: GET /accounting/organizations/{organizationId}/reports/accounts-receivable/open.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 0. |
| endDate | string | Period end (yyyy-mm-dd). |
| projectId | integer | |
| startDate | string | Period start (yyyy-mm-dd). |
| customerId | integer | Only this customer (default: all customers). |
| customerName | string | Only customers whose name matches. |
| departmentId | integer | |
| organizationId * | integer | Organization id (from conta_list_organizations). |
| recordsPerPage | integer | Items per page. |
Trial balance (saldobalanse) for an organization over a period, optionally limited to an account range. Read only. Conta API: GET /accounting/organizations/{organizationId}/reports/trial-balance.
| Parameter | Type | Description |
|---|---|---|
| endDate * | string | Period end (yyyy-mm-dd). |
| projectId | integer | |
| startDate * | string | Period start (yyyy-mm-dd). |
| departmentId | integer | |
| organizationId * | integer | Organization id (from conta_list_organizations). |
| endBookkeepingAccountNo | string | Last account number in the range. |
| startBookkeepingAccountNo | string | First account number in the range. |
{
"name": "conta_get_trial_balance",
"title": "Get trial balance",
"description": "Trial balance (saldobalanse) for an organization over a period, optionally limited to an account range. Read only. Conta API: GET /accounting/organizations/{organizationId}/reports/trial-balance.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organizationId",
"startDate",
"endDate"
],
"properties": {
"endDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Period end (yyyy-mm-dd)."
},
"projectId": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"startDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Period start (yyyy-mm-dd)."
},
"departmentId": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"organizationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Organization id (from conta_list_organizations).",
"exclusiveMinimum": 0
},
"endBookkeepingAccountNo": {
"type": "string",
"description": "Last account number in the range."
},
"startBookkeepingAccountNo": {
"type": "string",
"description": "First account number in the range."
}
}
},
"annotations": {
"title": "Get trial balance",
"readOnlyHint": true
}
}Profit and loss report (resultatregnskap) for an organization over a period. Read only. Conta API: GET /accounting/organizations/{organizationId}/reports/profit-and-loss-report.
| Parameter | Type | Description |
|---|---|---|
| endDate * | string | Period end (yyyy-mm-dd). |
| projectId | integer | |
| startDate * | string | Period start (yyyy-mm-dd). |
| departmentId | integer | |
| organizationId * | integer | Organization id (from conta_list_organizations). |
{
"name": "conta_get_profit_and_loss",
"title": "Get profit and loss report",
"description": "Profit and loss report (resultatregnskap) for an organization over a period. Read only. Conta API: GET /accounting/organizations/{organizationId}/reports/profit-and-loss-report.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organizationId",
"startDate",
"endDate"
],
"properties": {
"endDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Period end (yyyy-mm-dd)."
},
"projectId": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"startDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Period start (yyyy-mm-dd)."
},
"departmentId": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"organizationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Organization id (from conta_list_organizations).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get profit and loss report",
"readOnlyHint": true
}
}Search suppliers (leverandører) of an organization by free text, or list them. Read only. Conta API: GET /accounting/organizations/{organizationId}/suppliers.
| Parameter | Type | Description |
|---|---|---|
| q | string | Partial-word search across the main fields. |
| hits | integer | Items per page. |
| page | integer | Page number, starting at 0. |
| sort | string | Field name to sort by (not every field is sortable). |
| toDate | string | Suppliers modified on or before this date (yyyy-mm-dd). |
| fromDate | string | Suppliers modified on or after this date (yyyy-mm-dd). |
| organizationId * | integer | Organization id (from conta_list_organizations). |
{
"name": "conta_search_suppliers",
"title": "Search suppliers",
"description": "Search suppliers (leverandører) of an organization by free text, or list them. Read only. Conta API: GET /accounting/organizations/{organizationId}/suppliers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organizationId"
],
"properties": {
"q": {
"type": "string",
"description": "Partial-word search across the main fields."
},
"hits": {
"type": "integer",
"maximum": 200,
"description": "Items per page.",
"exclusiveMinimum": 0
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Page number, starting at 0."
},
"sort": {
"type": "string",
"description": "Field name to sort by (not every field is sortable)."
},
"toDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Suppliers modified on or before this date (yyyy-mm-dd)."
},
"fromDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Suppliers modified on or after this date (yyyy-mm-dd)."
},
"organizationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Organization id (from conta_list_organizations).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Search suppliers",
"readOnlyHint": true
}
}List ledger transactions and their lines (bilag) for an organization over a period. Read only. Conta API: GET /accounting/organizations/{organizationId}/transactions2.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 0. |
| endDate * | string | Period end (yyyy-mm-dd). |
| projectId | integer | |
| startDate * | string | Period start (yyyy-mm-dd). |
| departmentId | integer | |
| organizationId * | integer | Organization id (from conta_list_organizations). |
| recordsPerPage | integer | Items per page. |
{
"name": "conta_list_transactions",
"title": "List transactions",
"description": "List ledger transactions and their lines (bilag) for an organization over a period. Read only. Conta API: GET /accounting/organizations/{organizationId}/transactions2.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organizationId",
"startDate",
"endDate"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Page number, starting at 0."
},
"endDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Period end (yyyy-mm-dd)."
},
"projectId": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"startDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Period start (yyyy-mm-dd)."
},
"departmentId": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"organizationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Organization id (from conta_list_organizations).",
"exclusiveMinimum": 0
},
"recordsPerPage": {
"type": "integer",
"maximum": 200,
"description": "Items per page.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List transactions",
"readOnlyHint": true
}
}Tools for Conta, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Which customers still owe us money, and how much?"; "Show the profit and loss report for this year so far."; "List the invoices from last month that are still unpaid.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Conta data. Free plan: 50 tool calls per month. Run conta_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 conta_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 conta_upgrade without a plan: it returns both plans, each with a payment link for the user to open. conta_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.
| customerAddressPostcode * |
| string |
| Postcode. |
{
"name": "conta_create_customer",
"title": "Create a customer",
"description": "Create a customer in an organization. Writes live accounting data. Required: name, customerType (the code Conta expects), and the customer's street, postcode and city. Conta API: POST /invoice/organizations/{organizationId}/customers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organizationId",
"name",
"customerType",
"customerAddressLine1",
"customerAddressPostcode",
"customerAddressCity"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Customer name."
},
"orgNo": {
"type": "string",
"description": "Organization number (orgnr)."
},
"phoneNo": {
"type": "string",
"description": "Phone number."
},
"customerType": {
"type": "string",
"minLength": 1,
"description": "Customer type code, as the Conta API expects it."
},
"emailAddress": {
"type": "string",
"description": "E-mail address for invoices."
},
"organizationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Organization id (from conta_list_organizations).",
"exclusiveMinimum": 0
},
"customerAddressCity": {
"type": "string",
"minLength": 1,
"description": "City."
},
"customerAddressLine1": {
"type": "string",
"minLength": 1,
"description": "Street address."
},
"customerAddressCountry": {
"type": "string",
"description": "Country name or code, as Conta accepts it."
},
"customerAddressPostcode": {
"type": "string",
"minLength": 1,
"description": "Postcode."
}
}
},
"annotations": {
"title": "Create a customer",
"destructiveHint": true
}
}| string |
| Currency code, e.g. NOK. |
{
"name": "conta_search_invoices",
"title": "Search invoices",
"description": "Search invoices of an organization with extra information. Filter by date range, customer, type or invoice number. Read only. Conta API: GET /invoice/organizations/{organizationId}/invoices.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organizationId"
],
"properties": {
"q": {
"type": "string",
"description": "Partial-word search across the main fields."
},
"hits": {
"type": "integer",
"maximum": 200,
"description": "Items per page.",
"exclusiveMinimum": 0
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Page number, starting at 0."
},
"sort": {
"type": "string",
"description": "Field name to sort by (not every field is sortable)."
},
"type": {
"type": "string",
"description": "Invoice type, as Conta names it."
},
"toDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Invoices dated on or before this date (yyyy-mm-dd)."
},
"fromDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Invoices dated on or after this date (yyyy-mm-dd)."
},
"invoiceNo": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Invoice number."
},
"customerId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only invoices of this customer.",
"exclusiveMinimum": 0
},
"organizationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Organization id (from conta_list_organizations).",
"exclusiveMinimum": 0
},
"invoiceCurrency": {
"type": "string",
"description": "Currency code, e.g. NOK."
}
}
},
"annotations": {
"title": "Search invoices",
"readOnlyHint": true
}
}{
"name": "conta_get_open_receivables",
"title": "Get open receivables",
"description": "Open accounts receivable for one customer or all customers, as of an optional period. Read only. Conta API: GET /accounting/organizations/{organizationId}/reports/accounts-receivable/open.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"organizationId"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Page number, starting at 0."
},
"endDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Period end (yyyy-mm-dd)."
},
"projectId": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"startDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Period start (yyyy-mm-dd)."
},
"customerId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only this customer (default: all customers).",
"exclusiveMinimum": 0
},
"customerName": {
"type": "string",
"description": "Only customers whose name matches."
},
"departmentId": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"organizationId": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Organization id (from conta_list_organizations).",
"exclusiveMinimum": 0
},
"recordsPerPage": {
"type": "integer",
"maximum": 200,
"description": "Items per page.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get open receivables",
"readOnlyHint": true
}
}