Bukku MCP by usefulapi
v1.18.1Read Bukku contacts, accounts, invoices, bills and journals; create contacts and sales invoices.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
bukku_list_contacts List contacts
List contacts (customers, suppliers, employees) with name, code, type, receivable and payable balances. Search matches the name, receivable, payable and created date. GET /contacts.
| Parameter | Type | Description |
|---|---|---|
group_id | integer | Only contacts in this contact group (see bukku_list_contact_groups). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
page_size | integer | Results per page, 1-100 (default 30). |
search | string | Keywords in the name, receivable, payable or created date (max 100 characters). |
sort_by | string | |
sort_dir | string | Sort direction. |
status | string | ACTIVE (default), INACTIVE (archived) or ALL contacts. |
type | string | Only this contact type. |
bukku_get_contact Get contact
One contact with its persons, addresses, tax and registration numbers, default accounts and credit limit. GET /contacts/{id}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Bukku contact id. |
bukku_list_contact_groups List contact groups
List the contact groups; use their ids to filter bukku_list_contacts. GET /contacts/groups.
bukku_list_accounts List accounts (chart of accounts)
List ledger accounts from the chart of accounts, optionally by category. Account ids are used on invoice lines. GET /accounts.
| Parameter | Type | Description |
|---|---|---|
category | string | |
is_archived | boolean | true to show deactivated accounts instead of active ones (default false). |
search | string | Keywords to search for in the accounts (max 100 characters). |
sort_dir | string | Sort direction. |
bukku_get_account Get account
One ledger account by id. GET /accounts/{id}.
| Parameter | Type | Description |
|---|---|---|
account_id * | integer | Bukku account id. |
bukku_list_products List products
List products and bundles (sales and purchase details, SKU, stock). GET /products.
| Parameter | Type | Description |
|---|---|---|
include_archived | boolean | true to include archived products. |
mode | string | Only products sold or only products purchased. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
page_size | integer | Results per page, 1-100 (default 30). |
search | string | Keywords in the name, SKU, sale or purchase description or remarks (max 60 characters). |
sort_dir | string | Sort direction. |
type | string |
bukku_get_product Get product
One product with its units, prices, accounts and tax settings. GET /products/{id}.
| Parameter | Type | Description |
|---|---|---|
product_id * | integer | Bukku product id. |
bukku_list_product_groups List product groups
List the product groups. GET /products/groups.
bukku_list_sales_invoices List sales invoices
List sales invoices with number, date, contact, amount, balance and payment status. Filter by date, customer, payment status (PAID, OUTSTANDING, OVERDUE) or keywords. GET /sales/invoices.
| Parameter | Type | Description |
|---|---|---|
contact_id | integer | Only invoices of this customer. |
date_from | string | Invoices dated on or after this day, yyyy-mm-dd. |
date_to | string | Invoices dated on or before this day, yyyy-mm-dd. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
page_size | integer | Results per page, 1-100 (default 30). |
payment_mode | string | |
payment_status | string | |
search | string | Keywords in the number, reference, title, remarks, description, contact or billing/shipping party. |
sort_by | string | |
sort_dir | string | Sort direction. |
status | string | Only transactions with this status. Without it every status except void is returned. |
bukku_list_sales_documents List other sales documents
List quotes, sales orders, delivery orders, credit notes, customer payments or refunds (invoices have their own tool, bukku_list_sales_invoices). payment_status applies to credit notes, payments and refunds only. GET /sales/{quotes|orders|delivery_orders|credit_notes|payments|refunds}.
| Parameter | Type | Description |
|---|---|---|
type * | string | Which sales document to list. |
contact_id | integer | Only documents of this customer. |
date_from | string | A date, yyyy-mm-dd. |
date_to | string | A date, yyyy-mm-dd. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
page_size | integer | Results per page, 1-100 (default 30). |
payment_status | string | Credit notes (PAID, OUTSTANDING, OVERDUE), payments and refunds (PAID, OUTSTANDING). Not for the other types. |
search | string | |
sort_dir | string | Sort direction. |
status | string | Only transactions with this status. Without it every status except void is returned. |
bukku_get_sales_document Get sales document
One sales document in full (lines, taxes, terms, payments, status): an invoice, quote, order, delivery order, credit note, payment or refund. GET /sales/{type}/{id}.
| Parameter | Type | Description |
|---|---|---|
transaction_id * | integer | Bukku transaction id. |
type * | string | Document type. |
bukku_list_purchase_bills List purchase bills
List purchase bills with number, date, supplier, amount, balance and payment status. Filter by date, supplier, payment status (PAID, OUTSTANDING, OVERDUE) or keywords. GET /purchases/bills.
| Parameter | Type | Description |
|---|---|---|
contact_id | integer | Only bills of this supplier. |
date_from | string | Bills dated on or after this day, yyyy-mm-dd. |
date_to | string | Bills dated on or before this day, yyyy-mm-dd. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
page_size | integer | Results per page, 1-100 (default 30). |
payment_mode | string | |
payment_status | string | |
search | string | |
sort_dir | string | Sort direction. |
status | string | Only transactions with this status. Without it every status except void is returned. |
bukku_list_purchase_documents List other purchase documents
List purchase orders, goods received notes, supplier credit notes, supplier payments or refunds (bills have their own tool, bukku_list_purchase_bills). payment_status applies to credit notes, payments and refunds only. GET /purchases/{orders|goods_received_notes|credit_notes|payments|refunds}.
| Parameter | Type | Description |
|---|---|---|
type * | string | Which purchase document to list. |
contact_id | integer | Only documents of this supplier. |
date_from | string | A date, yyyy-mm-dd. |
date_to | string | A date, yyyy-mm-dd. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
page_size | integer | Results per page, 1-100 (default 30). |
payment_status | string | Credit notes (PAID, OUTSTANDING, OVERDUE), payments and refunds (PAID, OUTSTANDING). Not for the other types. |
search | string | |
sort_dir | string | Sort direction. |
status | string | Only transactions with this status. Without it every status except void is returned. |
bukku_get_purchase_document Get purchase document
One purchase document in full (lines, taxes, terms, payments, status): a bill, order, goods received note, credit note, payment or refund. GET /purchases/{type}/{id}.
| Parameter | Type | Description |
|---|---|---|
transaction_id * | integer | Bukku transaction id. |
type * | string | Document type. |
bukku_list_journal_entries List journal entries
List manual journal entries by date, status or keywords. GET /journal_entries.
| Parameter | Type | Description |
|---|---|---|
date_from | string | A date, yyyy-mm-dd. |
date_to | string | A date, yyyy-mm-dd. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
page_size | integer | Results per page, 1-100 (default 30). |
search | string | Keywords in the number, reference, title, remarks or description. |
sort_dir | string | Sort direction. |
status | string | Only transactions with this status. Without it every status except void is returned. |
bukku_get_journal_entry Get journal entry
One journal entry with its debit and credit lines. GET /journal_entries/{id}.
| Parameter | Type | Description |
|---|---|---|
transaction_id * | integer | Bukku transaction id of the journal entry. |
bukku_list_bank_transactions List bank transactions
List banking transactions: money in (incomes), money out (expenses) or transfers between accounts. contact_id and sort_by do not apply to transfers. GET /banking/{incomes|expenses|transfers}.
| Parameter | Type | Description |
|---|---|---|
type * | string | Which banking transactions to list. |
account_id | integer | Only transactions on this bank/cash account (see bukku_list_accounts). |
contact_id | integer | Only this contact (money in / money out). |
date_from | string | A date, yyyy-mm-dd. |
date_to | string | A date, yyyy-mm-dd. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
page_size | integer | Results per page, 1-100 (default 30). |
search | string | Keywords in the number, reference, title, remarks, description or contact. |
sort_by | string | Money in / money out only. |
sort_dir | string | Sort direction. |
status | string | Only transactions with this status. Without it every status except void is returned. |
bukku_get_bank_transaction Get bank transaction
One money in, money out or transfer transaction in full. GET /banking/{incomes|expenses|transfers}/{id}.
| Parameter | Type | Description |
|---|---|---|
transaction_id * | integer | Bukku transaction id. |
type * | string | Transaction type. |
bukku_list_tags List tags
List the tags (labels) that can be put on transactions. GET /tags.
bukku_get_lookup_lists Get lookup lists
Reference data needed to fill in documents: tax codes, payment terms, payment methods, currencies, countries, accounts, contact groups, product groups, price levels, tag groups, number formats, custom fields and company settings. Read-only (POST /v2/lists is a read endpoint).
| Parameter | Type | Description |
|---|---|---|
lists * | array | Which lists to return, for example ["tax_codes", "terms"]. |
bukku_create_contact Create contact
WRITE: create a contact (customer, supplier and/or employee) in Bukku. The contact code must be unique (A-Z, 0-9, _ and -, max 15 characters). POST /contacts.
| Parameter | Type | Description |
|---|---|---|
contact_code * | string | Unique code, for example C-A0001. |
entity_type * | string | Entity type (used for MyInvois). |
legal_name * | string | Legal name of the contact. |
types * | array | Contact types; a contact can be several. |
email | string | |
other_name | string | Trading or display name. |
phone_no | string | |
reg_no | string | Registration number. Required for MALAYSIAN_COMPANY (with reg_no_type); individuals need it or tax_id_no. |
reg_no_type | string | Registration number type; send together with reg_no. |
remarks | string | |
tax_id_no | string | Malaysian TIN / tax id (11-14 characters). Required for MALAYSIAN_COMPANY; individuals need it or reg_no. |
bukku_set_contact_archived Archive or unarchive contact
WRITE: archive (is_archived true) or restore (false) a contact. Archiving hides it from active lists; nothing is deleted. PATCH /contacts/{id}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Bukku contact id. |
is_archived * | boolean | true to archive, false to unarchive. |
bukku_create_sales_invoice Create sales invoice
WRITE: create a sales invoice for a customer. status defaults to draft (nothing posted to the ledger), status ready finalizes it and affects the books. payment_mode credit needs term_items, cash needs deposit_items. Companies with MyInvois submission switched on must pass myinvois_action when status is ready: NORMAL (not sent), EXTERNAL (already validated elsewhere) or VALIDATE (submits the invoice to LHDN MyInvois, which cannot be taken back). Look up contact, account, term and tax code ids first. POST /sales/invoices.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Customer contact id (bukku_list_contacts type customer). |
currency_code * | string | Invoice currency, for example MYR. Use the company's home currency unless invoicing in another one. |
date * | string | Invoice date, yyyy-mm-dd. |
exchange_rate * | number | Home-currency units per 1 unit of currency_code (Bukku: US$ 1,000 at 4.5 = RM 4,500, so send 4.5). Use 1 when currency_code is the home currency. |
items * | array | Invoice lines. |
tax_mode * | string | Whether unit prices include tax. |
deposit_items | array | Payment received, for payment_mode cash. |
description | string | |
myinvois_action | string | MyInvois handling, only with status ready. |
number | string | Invoice number, blank uses the default number format. |
number2 | string | Reference number. |
payment_mode | string | credit (needs term_items) or cash (needs deposit_items). |
remarks | string | |
status | string | draft (default) or ready. |
term_items | array | Payment terms, for payment_mode credit. |
title | string |
bukku_create_sales_document Create sales document
WRITE: create a sales quote, order, delivery order or credit note for a customer. status defaults to draft (nothing posted); ready finalizes it. A credit_note previews until confirm is true: ask the user before confirm true. term_items apply to quote and order only; link_items (invoices the credit applies to) to credit_note only; myinvois_action to a credit_note with status ready only. Look up contact, account and tax code ids first. POST /sales/quotes, /sales/orders, /sales/delivery_orders or /sales/credit_notes.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Customer contact id (bukku_list_contacts type customer). |
currency_code * | string | Currency, for example MYR. |
date * | string | Document date, yyyy-mm-dd. |
exchange_rate * | number | Home-currency units per 1 unit of currency_code (Bukku: US$ 1,000 at 4.5 = RM 4,500, so send 4.5). Use 1 when currency_code is the home currency. |
items * | array | Document lines. |
tax_mode * | string | Whether unit prices include tax. |
type * | string | quote, order, delivery_order or credit_note. |
billing_party | string | Attention to and address for billing, one text value. |
confirm | boolean | Credit note, payment, refund, money in and money out: false (default) previews without sending; true sends after the user approves the preview. |
description | string | |
link_items | array | Invoices the credit note applies to, credit_note only. |
myinvois_action | string | MyInvois handling, credit_note with status ready only. Required by Bukku when the company submits e-invoices to MyInvois (Malaysia); Bukku rejects the confirm otherwise. |
number | string | Document number, blank uses the default number format. |
number2 | string | Reference number. |
remarks | string | |
shipping_info | string | Shipping instructions, tracking number and so on (up to 100 characters). |
shipping_party | string | Attention to and address for shipping. |
show_shipping | boolean | Show the shipping party and information on the document. |
status | string | draft (default), pending_approval or ready. |
tag_ids | array | Tag ids (Bukku Lists API tag_groups), up to 6. |
term_items | array | Payment terms, quote and order only. |
title | string |
bukku_create_purchase_document Create purchase document
WRITE: create a purchase order, bill, goods received note, payment or refund for a supplier, or for an employee on a payment or claim bill. A bill needs payment_mode: cash (needs deposit_items), credit (term_id or due_date) or claim (employee contact_id, supplier contact2_id). A payment needs amount and deposit_items; a refund needs deposit_items and records cash received, never money paid out. payment and refund preview until confirm is true; a bill with deposit_items or myinvois_action VALIDATE previews too: ask the user before confirm true. link_items apply a payment or refund to the transa…
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Contact id: the supplier (bukku_list_contacts type supplier), or the employee (type employee) for a claim bill or a payment to an employee. |
currency_code * | string | Currency, for example MYR. |
date * | string | Document date, yyyy-mm-dd. |
exchange_rate * | number | Home-currency units per 1 unit of currency_code (Bukku: US$ 1,000 at 4.5 = RM 4,500, so send 4.5). Use 1 when currency_code is the home currency. |
type * | string | order, bill, goods_received_note, payment or refund. |
amount | number | Amount paid, payment only. |
billing_party | string | Attention to and address for billing, one text value. |
confirm | boolean | Credit note, payment, refund, money in and money out: false (default) previews without sending; true sends after the user approves the preview. |
contact2_id | integer | Supplier id for a claim bill. Only with payment_mode claim. |
deposit_items | array | Payment breakdown: cash bill, payment, refund. |
description | string | |
due_date | string | Due date, credit bill only. |
items | array | Document lines: order, bill, goods_received_note. |
link_items | array | Transactions the payment or refund applies to, as Bukku accepts for that type. |
myinvois_action | string | MyInvois handling, bill with status ready only. Required by Bukku when the company submits e-invoices to MyInvois (Malaysia); Bukku rejects the confirm otherwise. |
number | string | Document number, blank uses the default number format. |
number2 | string | Reference number. |
payment_mode | string | Bill only: cash (needs deposit_items), credit, or claim (employee expense: contact_id is the employee). |
remarks | string | |
shipping_info | string | Shipping instructions, tracking number and so on (up to 100 characters). |
shipping_party | string | Attention to and address for shipping. |
show_shipping | boolean | Show the shipping party and information on the document. |
status | string | draft (default), pending_approval or ready. |
tag_ids | array | Tag ids (Bukku Lists API tag_groups), up to 6. |
tax_mode | string | Whether unit prices include tax: order, bill, goods_received_note. |
term_id | integer | Payment term id: order, or a credit bill. |
title | string | Title: order and goods_received_note only. |
bukku_create_bank_transaction Create bank transaction
WRITE: create a money in (receipt, POST /banking/incomes) or money out (payment, POST /banking/expenses) bank transaction. bank_items give the accounts and amounts; deposit_items give the payment method breakdown. Previews until confirm is true: ask the user before confirm true. status defaults to draft; ready posts it to the ledger. Look up account, payment method and tax code ids first.
| Parameter | Type | Description |
|---|---|---|
bank_items * | array | Bank items: account and amount per line. |
currency_code * | string | Currency, for example MYR. |
date * | string | Transaction date, yyyy-mm-dd. |
deposit_items * | array | Payment breakdown: account, amount, payment method. |
exchange_rate * | number | Home-currency units per 1 unit of currency_code (Bukku: US$ 1,000 at 4.5 = RM 4,500, so send 4.5). Use 1 when currency_code is the home currency. |
rounding_on * | boolean | Apply rounding to the final total. |
type * | string | money_in (receipt) or money_out (payment). |
billing_party | string | Attention to and address for billing, one text value. |
confirm | boolean | Credit note, payment, refund, money in and money out: false (default) previews without sending; true sends after the user approves the preview. |
contact_id | integer | Contact id (bukku_list_contacts). |
description | string | |
number | string | Transaction number or a number format such as MI-[5DIGIT]. Blank or omitted uses the default number format. |
number2 | string | Reference number. |
remarks | string | |
status | string | draft (default), pending_approval or ready. |
tag_ids | array | Tag ids (Bukku Lists API tag_groups), up to 6. |
tax_mode | string |