Yuki MCP by usefulapi
v1.17.1Read Yuki administrations, open invoices, ledger balances, contacts and documents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
yuki_list_domains List domains
List the Yuki domains (customer environments) this access key can reach: id, name and URL. Accountant keys reach many domains. Accounting.Domains.
| Parameter | Type | Description |
|---|---|---|
offset | integer | Skip this many items (default 0). Use the previous reply's next_offset to read on. |
yuki_list_administrations List administrations
List the administrations (companies with their own books) this access key can reach: id, name, address, Chamber of Commerce and VAT numbers, start date. Use the ids in the other tools. Accounting.Administrations.
| Parameter | Type | Description |
|---|---|---|
offset | integer | Skip this many items (default 0). Use the previous reply's next_offset to read on. |
yuki_list_outstanding_debtor_items List open sales invoices (debtors)
Open items on the debtors list (unpaid sales invoices): date, description, contact, open and original amount, reference, due date. Optionally within a date range. Accounting.OutstandingDebtorItems / OutstandingDebtorItemsByDate.
| Parameter | Type | Description |
|---|---|---|
administration_id | string | Yuki administration id (from yuki_list_administrations). Optional when the key has a single administration. |
end_date | string | With start_date: end of the range (yyyy-mm-dd). |
include_bank_transactions | boolean | Also list unmatched bank transactions as open items (default false). |
limit | integer | Most items to return (default 100, max 500). |
offset | integer | Skip this many items (default 0). Use the previous reply's next_offset to read on. |
sort_order | string | Sort order (default DateDesc). |
start_date | string | With end_date: only items dated in this range (yyyy-mm-dd). |
yuki_list_outstanding_creditor_items List open purchase invoices (creditors)
Open items on the creditors list (unpaid purchase invoices): date, description, contact, open and original amount, reference, due date. Optionally within a date range. Accounting.OutstandingCreditorItems / OutstandingCreditorItemsByDate.
| Parameter | Type | Description |
|---|---|---|
administration_id | string | Yuki administration id (from yuki_list_administrations). Optional when the key has a single administration. |
end_date | string | With start_date: end of the range (yyyy-mm-dd). |
include_bank_transactions | boolean | Also list unmatched bank transactions as open items (default false). |
limit | integer | Most items to return (default 100, max 500). |
offset | integer | Skip this many items (default 0). Use the previous reply's next_offset to read on. |
sort_order | string | Sort order (default DateDesc). |
start_date | string | With end_date: only items dated in this range (yyyy-mm-dd). |
yuki_get_gl_account_balance Get general ledger balances
The balance of every general ledger account of an administration on a date (yyyy-mm-dd): account code, description, amount. Accounting.GLAccountBalance.
| Parameter | Type | Description |
|---|---|---|
date * | string | Balance date, yyyy-mm-dd. |
administration_id | string | Yuki administration id (from yuki_list_administrations). Optional when the key has a single administration. |
limit | integer | Most items to return (default 100, max 500). |
offset | integer | Skip this many items (default 0). Use the previous reply's next_offset to read on. |
yuki_list_gl_account_transactions List general ledger transactions
The transactions booked on one general ledger account in a date range: date, description, amount, contact, project. Get account codes from yuki_get_gl_account_scheme. Accounting.GLAccountTransactions.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | Last day, yyyy-mm-dd. |
gl_account_code * | string | General ledger account code, e.g. 80000. |
start_date * | string | First day, yyyy-mm-dd. |
administration_id | string | Yuki administration id (from yuki_list_administrations). Optional when the key has a single administration. |
limit | integer | Most items to return (default 100, max 500). |
offset | integer | Skip this many items (default 0). Use the previous reply's next_offset to read on. |
yuki_get_net_revenue Get net revenue
The net revenue (turnover) of an administration in a date range, by transaction date. Accounting.NetRevenue.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | Last day, yyyy-mm-dd. |
start_date * | string | First day, yyyy-mm-dd. |
administration_id | string | Yuki administration id (from yuki_list_administrations). Optional when the key has a single administration. |
yuki_get_gl_account_scheme Get chart of accounts
The general ledger accounts (chart of accounts) of an administration: code, description, type. Use the codes in yuki_list_gl_account_transactions. AccountingInfo.GetGLAccountScheme.
| Parameter | Type | Description |
|---|---|---|
administration_id | string | Yuki administration id (from yuki_list_administrations). Optional when the key has a single administration. |
limit | integer | Most items to return (default 100, max 500). |
offset | integer | Skip this many items (default 0). Use the previous reply's next_offset to read on. |
yuki_list_projects List projects
Projects of an administration (code, description, company, contact, period, budgets), optionally filtered. AccountingInfo.GetProjects.
| Parameter | Type | Description |
|---|---|---|
administration_id | string | Yuki administration id (from yuki_list_administrations). Optional when the key has a single administration. |
limit | integer | Most items to return (default 100, max 500). |
offset | integer | Skip this many items (default 0). Use the previous reply's next_offset to read on. |
search_option | string | Field to search in (default All). |
search_value | string | Text to search for (ignored for All). |
yuki_search_contacts Search contacts
Search the contacts (customers and suppliers) of a domain by name, city, postcode, tag, email, website, phone, code, Chamber of Commerce number, VAT number or bank account. Returns at most 100 contacts per page; ask for the next page_number until the reply is empty. Contact.SearchContacts.
| Parameter | Type | Description |
|---|---|---|
active | string | Active, inactive or both (default Both). |
domain_id | string | Yuki domain id (from yuki_list_domains). Optional when the key has a single domain. |
offset | integer | Skip this many contacts of the page (default 0). A long page is cut to fit the reply: use next_offset with the same page_number, then the next page_number. |
page_number | integer | Page number, starting at 1 (default 1). A page holds up to 100 contacts. |
search_option | string | Field to search in (default All). |
search_value | string | Text to search for. Empty lists all contacts. |
sort_order | string | Sort order (default Name). |
yuki_list_document_folders List archive folders
The folders of the document archive (id, name). With an accountant key that reaches several domains, pass domain_id so the archive of that domain is read (default: the key's only domain). Archive.DocumentFolders.
| Parameter | Type | Description |
|---|---|---|
domain_id | string | Yuki domain id (from yuki_list_domains). Optional when the key has a single domain. |
yuki_list_document_folder_tabs List archive folder tabs
The tabs inside one archive folder (id, name). Archive.DocumentFolderTabs.
| Parameter | Type | Description |
|---|---|---|
folder_id * | integer | Folder id from yuki_list_document_folders. |
domain_id | string | Yuki domain id (from yuki_list_domains). Optional when the key has a single domain. |
yuki_list_documents List archive documents
Documents in the archive (invoices, receipts, bank statements...) with id, subject, type, contact, dates, amount. Narrow by archive folder or by document type, and by creation date range. Page with number_of_records and start_record. Archive.Documents / DocumentsInFolder / DocumentsByType.
| Parameter | Type | Description |
|---|---|---|
document_type | integer | Only this Yuki document type number. Not together with folder_id. |
domain_id | string | Yuki domain id (from yuki_list_domains). Optional when the key has a single domain. |
end_date | string | Last day, yyyy-mm-dd (default 2100-01-01). |
folder_id | integer | Only this archive folder (id from yuki_list_document_folders). Not together with document_type. |
number_of_records | integer | Documents per call (default 100, max 500). |
offset | integer | Skip this many documents of the fetched batch (default 0). A long batch is cut to fit the reply: use next_offset with the same arguments. |
sort_order | string | Sort order (default CreatedDesc). |
start_date | string | First day, yyyy-mm-dd (default 1990-01-01). |
start_record | integer | Offset of the first document (default 0). Add numberOfRecords to page on. |
yuki_search_documents Search archive documents
Search archive documents by text in the creator, contact, subject, tag or type (or all). Optionally limit to a folder or tab and a date range. Archive.SearchDocuments.
| Parameter | Type | Description |
|---|---|---|
search_text * | string | Text to search for. |
domain_id | string | Yuki domain id (from yuki_list_domains). Optional when the key has a single domain. |
end_date | string | Last day, yyyy-mm-dd. |
folder_id | integer | Only this folder; -1 or omitted = all folders. |
number_of_records | integer | Documents per call (default 100, max 500). |
offset | integer | Skip this many documents of the fetched batch (default 0). A long batch is cut to fit the reply: use next_offset with the same arguments. |
search_option | string | Where to search (default All). |
sort_order | string | Sort order (default CreatedDesc). |
start_date | string | First day, yyyy-mm-dd. Omit with end_date to search all years. |
start_record | integer | Offset of the first document (default 0). Add numberOfRecords to page on. |
tab_id | integer | Only this tab; -1 or omitted = all tabs. |
yuki_get_document Get document
Details of one archive document by id (subject, type, contact, dates, amounts, folder). Archive.FindDocument.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | Yuki document id (the ID in a document list). |
domain_id | string | Yuki domain id (from yuki_list_domains). Optional when the key has a single domain. |
yuki_get_document_download_url Get document download link
A presigned download URL for the file of one archive document (the link works for a short time; open it in a browser). Archive.DocumentDownloadUrl.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | Yuki document id (the ID in a document list). |
domain_id | string | Yuki domain id (from yuki_list_domains). Optional when the key has a single domain. |