Bukku MCP by usefulapi

v1.18.1
io.usefulapi/bukku Checked 2 days ago Published 23 hours ago

Read 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.

ParameterTypeDescription
group_idintegerOnly contacts in this contact group (see bukku_list_contact_groups).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 30).
searchstringKeywords in the name, receivable, payable or created date (max 100 characters).
sort_bystring
sort_dirstringSort direction.
statusstringACTIVE (default), INACTIVE (archived) or ALL contacts.
typestringOnly 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}.

ParameterTypeDescription
contact_id *integerBukku 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.

ParameterTypeDescription
categorystring
is_archivedbooleantrue to show deactivated accounts instead of active ones (default false).
searchstringKeywords to search for in the accounts (max 100 characters).
sort_dirstringSort direction.

bukku_get_account Get account

One ledger account by id. GET /accounts/{id}.

ParameterTypeDescription
account_id *integerBukku account id.

bukku_list_products List products

List products and bundles (sales and purchase details, SKU, stock). GET /products.

ParameterTypeDescription
include_archivedbooleantrue to include archived products.
modestringOnly products sold or only products purchased.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 30).
searchstringKeywords in the name, SKU, sale or purchase description or remarks (max 60 characters).
sort_dirstringSort direction.
typestring

bukku_get_product Get product

One product with its units, prices, accounts and tax settings. GET /products/{id}.

ParameterTypeDescription
product_id *integerBukku 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.

ParameterTypeDescription
contact_idintegerOnly invoices of this customer.
date_fromstringInvoices dated on or after this day, yyyy-mm-dd.
date_tostringInvoices dated on or before this day, yyyy-mm-dd.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 30).
payment_modestring
payment_statusstring
searchstringKeywords in the number, reference, title, remarks, description, contact or billing/shipping party.
sort_bystring
sort_dirstringSort direction.
statusstringOnly 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}.

ParameterTypeDescription
type *stringWhich sales document to list.
contact_idintegerOnly documents of this customer.
date_fromstringA date, yyyy-mm-dd.
date_tostringA date, yyyy-mm-dd.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 30).
payment_statusstringCredit notes (PAID, OUTSTANDING, OVERDUE), payments and refunds (PAID, OUTSTANDING). Not for the other types.
searchstring
sort_dirstringSort direction.
statusstringOnly 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}.

ParameterTypeDescription
transaction_id *integerBukku transaction id.
type *stringDocument 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.

ParameterTypeDescription
contact_idintegerOnly bills of this supplier.
date_fromstringBills dated on or after this day, yyyy-mm-dd.
date_tostringBills dated on or before this day, yyyy-mm-dd.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 30).
payment_modestring
payment_statusstring
searchstring
sort_dirstringSort direction.
statusstringOnly 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}.

ParameterTypeDescription
type *stringWhich purchase document to list.
contact_idintegerOnly documents of this supplier.
date_fromstringA date, yyyy-mm-dd.
date_tostringA date, yyyy-mm-dd.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 30).
payment_statusstringCredit notes (PAID, OUTSTANDING, OVERDUE), payments and refunds (PAID, OUTSTANDING). Not for the other types.
searchstring
sort_dirstringSort direction.
statusstringOnly 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}.

ParameterTypeDescription
transaction_id *integerBukku transaction id.
type *stringDocument type.

bukku_list_journal_entries List journal entries

List manual journal entries by date, status or keywords. GET /journal_entries.

ParameterTypeDescription
date_fromstringA date, yyyy-mm-dd.
date_tostringA date, yyyy-mm-dd.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 30).
searchstringKeywords in the number, reference, title, remarks or description.
sort_dirstringSort direction.
statusstringOnly 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}.

ParameterTypeDescription
transaction_id *integerBukku 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}.

ParameterTypeDescription
type *stringWhich banking transactions to list.
account_idintegerOnly transactions on this bank/cash account (see bukku_list_accounts).
contact_idintegerOnly this contact (money in / money out).
date_fromstringA date, yyyy-mm-dd.
date_tostringA date, yyyy-mm-dd.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerResults per page, 1-100 (default 30).
searchstringKeywords in the number, reference, title, remarks, description or contact.
sort_bystringMoney in / money out only.
sort_dirstringSort direction.
statusstringOnly 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}.

ParameterTypeDescription
transaction_id *integerBukku transaction id.
type *stringTransaction 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).

ParameterTypeDescription
lists *arrayWhich 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.

ParameterTypeDescription
contact_code *stringUnique code, for example C-A0001.
entity_type *stringEntity type (used for MyInvois).
legal_name *stringLegal name of the contact.
types *arrayContact types; a contact can be several.
emailstring
other_namestringTrading or display name.
phone_nostring
reg_nostringRegistration number. Required for MALAYSIAN_COMPANY (with reg_no_type); individuals need it or tax_id_no.
reg_no_typestringRegistration number type; send together with reg_no.
remarksstring
tax_id_nostringMalaysian 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}.

ParameterTypeDescription
contact_id *integerBukku contact id.
is_archived *booleantrue 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.

ParameterTypeDescription
contact_id *integerCustomer contact id (bukku_list_contacts type customer).
currency_code *stringInvoice currency, for example MYR. Use the company's home currency unless invoicing in another one.
date *stringInvoice date, yyyy-mm-dd.
exchange_rate *numberHome-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 *arrayInvoice lines.
tax_mode *stringWhether unit prices include tax.
deposit_itemsarrayPayment received, for payment_mode cash.
descriptionstring
myinvois_actionstringMyInvois handling, only with status ready.
numberstringInvoice number, blank uses the default number format.
number2stringReference number.
payment_modestringcredit (needs term_items) or cash (needs deposit_items).
remarksstring
statusstringdraft (default) or ready.
term_itemsarrayPayment terms, for payment_mode credit.
titlestring

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.

ParameterTypeDescription
contact_id *integerCustomer contact id (bukku_list_contacts type customer).
currency_code *stringCurrency, for example MYR.
date *stringDocument date, yyyy-mm-dd.
exchange_rate *numberHome-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 *arrayDocument lines.
tax_mode *stringWhether unit prices include tax.
type *stringquote, order, delivery_order or credit_note.
billing_partystringAttention to and address for billing, one text value.
confirmbooleanCredit note, payment, refund, money in and money out: false (default) previews without sending; true sends after the user approves the preview.
descriptionstring
link_itemsarrayInvoices the credit note applies to, credit_note only.
myinvois_actionstringMyInvois handling, credit_note with status ready only. Required by Bukku when the company submits e-invoices to MyInvois (Malaysia); Bukku rejects the confirm otherwise.
numberstringDocument number, blank uses the default number format.
number2stringReference number.
remarksstring
shipping_infostringShipping instructions, tracking number and so on (up to 100 characters).
shipping_partystringAttention to and address for shipping.
show_shippingbooleanShow the shipping party and information on the document.
statusstringdraft (default), pending_approval or ready.
tag_idsarrayTag ids (Bukku Lists API tag_groups), up to 6.
term_itemsarrayPayment terms, quote and order only.
titlestring

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…

ParameterTypeDescription
contact_id *integerContact 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 *stringCurrency, for example MYR.
date *stringDocument date, yyyy-mm-dd.
exchange_rate *numberHome-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 *stringorder, bill, goods_received_note, payment or refund.
amountnumberAmount paid, payment only.
billing_partystringAttention to and address for billing, one text value.
confirmbooleanCredit note, payment, refund, money in and money out: false (default) previews without sending; true sends after the user approves the preview.
contact2_idintegerSupplier id for a claim bill. Only with payment_mode claim.
deposit_itemsarrayPayment breakdown: cash bill, payment, refund.
descriptionstring
due_datestringDue date, credit bill only.
itemsarrayDocument lines: order, bill, goods_received_note.
link_itemsarrayTransactions the payment or refund applies to, as Bukku accepts for that type.
myinvois_actionstringMyInvois handling, bill with status ready only. Required by Bukku when the company submits e-invoices to MyInvois (Malaysia); Bukku rejects the confirm otherwise.
numberstringDocument number, blank uses the default number format.
number2stringReference number.
payment_modestringBill only: cash (needs deposit_items), credit, or claim (employee expense: contact_id is the employee).
remarksstring
shipping_infostringShipping instructions, tracking number and so on (up to 100 characters).
shipping_partystringAttention to and address for shipping.
show_shippingbooleanShow the shipping party and information on the document.
statusstringdraft (default), pending_approval or ready.
tag_idsarrayTag ids (Bukku Lists API tag_groups), up to 6.
tax_modestringWhether unit prices include tax: order, bill, goods_received_note.
term_idintegerPayment term id: order, or a credit bill.
titlestringTitle: 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.

ParameterTypeDescription
bank_items *arrayBank items: account and amount per line.
currency_code *stringCurrency, for example MYR.
date *stringTransaction date, yyyy-mm-dd.
deposit_items *arrayPayment breakdown: account, amount, payment method.
exchange_rate *numberHome-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 *booleanApply rounding to the final total.
type *stringmoney_in (receipt) or money_out (payment).
billing_partystringAttention to and address for billing, one text value.
confirmbooleanCredit note, payment, refund, money in and money out: false (default) previews without sending; true sends after the user approves the preview.
contact_idintegerContact id (bukku_list_contacts).
descriptionstring
numberstringTransaction number or a number format such as MI-[5DIGIT]. Blank or omitted uses the default number format.
number2stringReference number.
remarksstring
statusstringdraft (default), pending_approval or ready.
tag_idsarrayTag ids (Bukku Lists API tag_groups), up to 6.
tax_modestring