Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHTTP bind address.0.0.0.0
PORTNoHTTP listen port.8765
MCP_HTTP_PATHNoPath the MCP endpoint is served on./mcp
MCP_TRANSPORTNostdio or http. Docker sets http.stdio
WAFEQ_API_KEYNoPrivate organization API key. Sent as Api-Key <key>. One credential is required.
MCP_SHARED_TOKENNoBearer token required on /mcp. Empty = no auth. Set it if the port is reachable beyond localhost.
WAFEQ_TIMEOUT_MSNoPer-attempt request timeout.30000
WAFEQ_AUTH_SCHEMENoForce api-key or bearer. Normally leave unset.auto
WAFEQ_MAX_RETRIESNoRetries on 429 / 5xx / network errors.3
WAFEQ_TOOL_GROUPSNoComma-separated resource groups to expose, e.g. invoices,bills,reports. Empty = all 251.
WAFEQ_ACCESS_TOKENNoOAuth2 access token. Sent as Bearer <token>. Takes precedence over WAFEQ_API_KEY.
WAFEQ_API_BASE_URLNoWafeq API base URL.https://api.wafeq.com/v1
WAFEQ_MAX_REQUESTSNoClient-side rate limit: requests per window. 0 disables throttling.20
WAFEQ_OPENAPI_PATHNoUse a different OpenAPI document (JSON or YAML). Defaults to the bundled spec.bundled spec
WAFEQ_RATE_WINDOW_MSNoRate-limit window in milliseconds.10000
WAFEQ_MAX_UPLOAD_BYTESNoMaximum decoded upload size (25 MiB).26214400
WAFEQ_ALLOW_LOCAL_FILE_UPLOADNoAllow upload tools to read this machine's filesystem via file_path. See Security.false

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
wafeq_accounts_listC

🟢 READ-ONLY · Accounts · GET /accounts/

List accounts

Endpoint for retrieving a list of accounts.

wafeq_accounts_createA

🟡 WRITE · creates data · Accounts · POST /accounts/

Create account

Endpoint for creating a new account.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_accounts_retrieveB

🟢 READ-ONLY · Accounts · GET /accounts/{id}/

Retrieve account

Endpoint for retrieving a single account.

wafeq_accounts_updateB

🟡 WRITE · updates data · Accounts · PUT /accounts/{id}/

Update account

Endpoint for updating an existing account.

wafeq_accounts_destroyB

🔴 DESTRUCTIVE · deletes · Accounts · DELETE /accounts/{id}/

Delete account

Endpoint for deleting an existing account.

Permanently removes the record.

wafeq_accounts_partial_updateA

🟡 WRITE · updates data · Accounts · PATCH /accounts/{id}/

Partial update account

Endpoint for partially updating an existing account.

wafeq_amortizations_listB

🟢 READ-ONLY · Amortizations · GET /amortizations/

List amortizations

Endpoint for retrieving a list of amortizations.

wafeq_amortizations_preview_createA

🟢 READ-ONLY · preview / simulation · Amortizations · POST /amortizations/preview/

Preview amortization schedule

Endpoint for previewing the amortization events that would be generated for the given schedule, without creating an amortization.

This is a POST, but Wafeq documents it as a simulation: it returns the events that WOULD be generated and writes nothing to the ledger.

wafeq_amortizations_retrieveB

🟢 READ-ONLY · Amortizations · GET /amortizations/{id}/

Retrieve amortization

Endpoint for retrieving a single amortization.

wafeq_amortizations_destroyA

🔴 DESTRUCTIVE · deletes · Amortizations · DELETE /amortizations/{id}/

Delete amortization

Endpoint for deleting an existing amortization.

Permanently removes the record.

wafeq_amortizations_end_early_createA

🔴 IRREVERSIBLE · posts the remaining balance to the ledger · Amortizations · POST /amortizations/{id}/end-early/

End amortization early

Endpoint for terminating an amortization early, recognizing the remaining balance against the provided account.

Terminates a schedule early and recognizes its whole remaining balance immediately. There is no API undo. Run the matching preview_... tool first to see exactly what would be posted.

wafeq_amortizations_preview_end_early_createA

🟢 READ-ONLY · preview / simulation · Amortizations · POST /amortizations/{id}/preview-end-early/

Preview early termination

Endpoint for previewing the remaining balance and the posted events that would be reversed by terminating the amortization early at the given date.

This is a POST, but Wafeq documents it as a simulation: it returns the events that WOULD be generated and writes nothing to the ledger.

wafeq_bank_accounts_listB

🟢 READ-ONLY · Bank Accounts · GET /bank-accounts/

List bank accounts

Endpoint for retrieving a list of bank accounts.

wafeq_bank_accounts_createA

🟡 WRITE · creates data · Bank Accounts · POST /bank-accounts/

Create bank account

Endpoint for creating a new bank account.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_bank_accounts_ledger_transactions_listC

🟢 READ-ONLY · Bank Ledger Transactions · GET /bank-accounts/{bank_account_id}/ledger-transactions/

List bank ledger transactions

Endpoint for retrieving a list of bank ledger transactions.

wafeq_bank_accounts_ledger_transactions_createA

🟡 WRITE · creates data · Bank Ledger Transactions · POST /bank-accounts/{bank_account_id}/ledger-transactions/

Create bank ledger transaction

Endpoint for creating a new bank ledger transaction.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_bank_accounts_ledger_transactions_retrieveC

🟢 READ-ONLY · Bank Ledger Transactions · GET /bank-accounts/{bank_account_id}/ledger-transactions/{id}/

Retrieve bank ledger transaction

Endpoint for retrieving a single bank ledger transaction.

wafeq_bank_accounts_ledger_transactions_updateB

🟡 WRITE · updates data · Bank Ledger Transactions · PUT /bank-accounts/{bank_account_id}/ledger-transactions/{id}/

Update bank ledger transaction

Endpoint for updating an existing bank ledger transaction.

wafeq_bank_accounts_ledger_transactions_destroyA

🔴 DESTRUCTIVE · deletes · Bank Ledger Transactions · DELETE /bank-accounts/{bank_account_id}/ledger-transactions/{id}/

Delete bank ledger transaction

Endpoint for deleting an existing bank ledger transaction.

Permanently removes the record.

wafeq_bank_accounts_ledger_transactions_partial_updateC

🟡 WRITE · updates data · Bank Ledger Transactions · PATCH /bank-accounts/{bank_account_id}/ledger-transactions/{id}/

Partial update bank ledger transaction

Endpoint for partially updating an existing bank ledger transaction.

wafeq_bank_accounts_statement_transactions_listC

🟢 READ-ONLY · Bank Statement Transactions · GET /bank-accounts/{bank_account_id}/statement-transactions/

List bank statement transactions

Endpoint for retrieving a list of bank statement transactions.

wafeq_bank_accounts_statement_transactions_createA

🟡 WRITE · creates data · Bank Statement Transactions · POST /bank-accounts/{bank_account_id}/statement-transactions/

Create bank statement transaction

Endpoint for creating a new bank statement transaction.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_bank_accounts_statement_transactions_retrieveA

🟢 READ-ONLY · Bank Statement Transactions · GET /bank-accounts/{bank_account_id}/statement-transactions/{id}/

Retrieve bank statement transaction

Endpoint for retrieving a single bank statement transaction.

wafeq_bank_accounts_statement_transactions_updateC

🟡 WRITE · updates data · Bank Statement Transactions · PUT /bank-accounts/{bank_account_id}/statement-transactions/{id}/

Update bank statement transaction

Endpoint for updating an existing bank statement transaction.

wafeq_bank_accounts_statement_transactions_destroyA

🔴 DESTRUCTIVE · deletes · Bank Statement Transactions · DELETE /bank-accounts/{bank_account_id}/statement-transactions/{id}/

Delete bank statement transaction

Endpoint for deleting an existing bank statement transaction.

Permanently removes the record.

wafeq_bank_accounts_statement_transactions_partial_updateB

🟡 WRITE · updates data · Bank Statement Transactions · PATCH /bank-accounts/{bank_account_id}/statement-transactions/{id}/

Partial update bank statement transaction

Endpoint for partially updating an existing bank statement transaction.

wafeq_bank_accounts_retrieveB

🟢 READ-ONLY · Bank Accounts · GET /bank-accounts/{id}/

Retrieve bank account

Endpoint for retrieving a single bank account.

wafeq_bank_accounts_updateB

🟡 WRITE · updates data · Bank Accounts · PUT /bank-accounts/{id}/

Update bank account

Endpoint for updating an existing bank account.

wafeq_bank_accounts_destroyB

🔴 DESTRUCTIVE · deletes · Bank Accounts · DELETE /bank-accounts/{id}/

Delete bank account

Endpoint for deleting an existing bank account.

Permanently removes the record.

wafeq_bank_accounts_partial_updateB

🟡 WRITE · updates data · Bank Accounts · PATCH /bank-accounts/{id}/

Partial update bank account

Endpoint for partially updating an existing bank account.

wafeq_beneficiaries_listC

🟢 READ-ONLY · Beneficiaries · GET /beneficiaries/

List beneficiaries

Endpoint for retrieving a list of beneficiaries.

wafeq_beneficiaries_createA

🟡 WRITE · creates data · Beneficiaries · POST /beneficiaries/

Create beneficiary

Endpoint for creating a new beneficiary.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_beneficiaries_retrieveB

🟢 READ-ONLY · Beneficiaries · GET /beneficiaries/{id}/

Retrieve beneficiary

Endpoint for retrieving a single beneficiary.

wafeq_beneficiaries_updateC

🟡 WRITE · updates data · Beneficiaries · PUT /beneficiaries/{id}/

Update beneficiary

Endpoint for updating an existing beneficiary.

wafeq_beneficiaries_destroyB

🔴 DESTRUCTIVE · deletes · Beneficiaries · DELETE /beneficiaries/{id}/

Delete beneficiary

Endpoint for deleting an existing beneficiary.

Permanently removes the record.

wafeq_beneficiaries_partial_updateA

🟡 WRITE · updates data · Beneficiaries · PATCH /beneficiaries/{id}/

Partial update beneficiary

Endpoint for partially updating an existing beneficiary.

wafeq_bills_listC

🟢 READ-ONLY · Bills · GET /bills/

List bills

Endpoint for retrieving a list of bills.

wafeq_bills_createA

🟡 WRITE · creates data · Bills · POST /bills/

Create bill

Endpoint for creating a new bill.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_bills_line_items_listC

🟢 READ-ONLY · Bill Line Items · GET /bills/{bill_id}/line-items/

List bill line items

Endpoint for retrieving a list of bill line items.

wafeq_bills_line_items_createA

🟡 WRITE · creates data · Bill Line Items · POST /bills/{bill_id}/line-items/

Create bill line item

Endpoint for creating a new bill line item.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_bills_line_items_retrieveB

🟢 READ-ONLY · Bill Line Items · GET /bills/{bill_id}/line-items/{id}/

Retrieve bill line item

Endpoint for retrieving a single bill line item.

wafeq_bills_line_items_updateC

🟡 WRITE · updates data · Bill Line Items · PUT /bills/{bill_id}/line-items/{id}/

Update bill line item

Endpoint for updating an existing bill line item.

wafeq_bills_line_items_destroyA

🔴 DESTRUCTIVE · deletes · Bill Line Items · DELETE /bills/{bill_id}/line-items/{id}/

Delete bill line item

Endpoint for deleting an existing bill line item.

Permanently removes the record.

wafeq_bills_line_items_partial_updateC

🟡 WRITE · updates data · Bill Line Items · PATCH /bills/{bill_id}/line-items/{id}/

Partial update bill line item

Endpoint for partially updating an existing bill line item.

wafeq_bills_retrieveB

🟢 READ-ONLY · Bills · GET /bills/{id}/

Retrieve bill

Endpoint for retrieving a single bill.

wafeq_bills_updateC

🟡 WRITE · updates data · Bills · PUT /bills/{id}/

Update bill

Endpoint for updating an existing bill.

wafeq_bills_destroyB

🔴 DESTRUCTIVE · deletes · Bills · DELETE /bills/{id}/

Delete bill

Endpoint for deleting an existing bill.

Permanently removes the record.

wafeq_bills_partial_updateC

🟡 WRITE · updates data · Bills · PATCH /bills/{id}/

Partial update bill

Endpoint for partially updating an existing bill.

wafeq_bills_download_retrieveA

🟢 READ-ONLY · returns a PDF · Bills · GET /bills/{id}/download/

Download bill PDF

Endpoint for downloading a PDF of the bill.

Returns the document as base64-encoded PDF bytes plus its size and content type. Nothing is modified.

wafeq_branches_listB

🟢 READ-ONLY · Branches · GET /branches/

List branches

Endpoint for retrieving a list of branches.

wafeq_branches_createA

🟡 WRITE · creates data · Branches · POST /branches/

Create branch

Endpoint for creating a new branch.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_branches_retrieveA

🟢 READ-ONLY · Branches · GET /branches/{id}/

Retrieve branch

Endpoint for retrieving a single branch.

wafeq_branches_updateC

🟡 WRITE · updates data · Branches · PUT /branches/{id}/

Update branch

Endpoint for updating an existing branch.

wafeq_branches_destroyB

🔴 DESTRUCTIVE · deletes · Branches · DELETE /branches/{id}/

Delete branch

Endpoint for deleting an existing branch.

Permanently removes the record.

wafeq_branches_partial_updateA

🟡 WRITE · updates data · Branches · PATCH /branches/{id}/

Partial update branch

Endpoint for partially updating an existing branch.

wafeq_contacts_listC

🟢 READ-ONLY · Contacts · GET /contacts/

List contacts

Endpoint for retrieving a list of contacts.

wafeq_contacts_createA

🟡 WRITE · creates data · Contacts · POST /contacts/

Create contact

Endpoint for creating a new contact.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_contacts_retrieveC

🟢 READ-ONLY · Contacts · GET /contacts/{id}/

Retrieve contact

Endpoint for retrieving a single contact.

wafeq_contacts_updateC

🟡 WRITE · updates data · Contacts · PUT /contacts/{id}/

Update contact

Endpoint for updating an existing contact.

wafeq_contacts_destroyA

🔴 DESTRUCTIVE · deletes · Contacts · DELETE /contacts/{id}/

Delete contact

Endpoint for deleting an existing contact.

Permanently removes the record.

wafeq_contacts_partial_updateC

🟡 WRITE · updates data · Contacts · PATCH /contacts/{id}/

Partial update contact

Endpoint for partially updating an existing contact.

wafeq_cost_centers_listC

🟢 READ-ONLY · Cost Centers · GET /cost-centers/

List cost centers

Endpoint for retrieving a list of cost centers.

wafeq_cost_centers_createA

🟡 WRITE · creates data · Cost Centers · POST /cost-centers/

Create cost center

Endpoint for creating a new cost center.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_cost_centers_retrieveB

🟢 READ-ONLY · Cost Centers · GET /cost-centers/{id}/

Retrieve cost center

Endpoint for retrieving a single cost center.

wafeq_cost_centers_updateC

🟡 WRITE · updates data · Cost Centers · PUT /cost-centers/{id}/

Update cost center

Endpoint for updating an existing cost center.

wafeq_cost_centers_destroyA

🔴 DESTRUCTIVE · deletes · Cost Centers · DELETE /cost-centers/{id}/

Delete cost center

Endpoint for deleting an existing cost center.

Permanently removes the record.

wafeq_cost_centers_partial_updateB

🟡 WRITE · updates data · Cost Centers · PATCH /cost-centers/{id}/

Partial update cost center

Endpoint for partially updating an existing cost center.

wafeq_credit_notes_listB

🟢 READ-ONLY · Credit Notes · GET /credit-notes/

List credit notes

Endpoint for retrieving a list of credit notes.

wafeq_credit_notes_createA

🟡 WRITE · creates data · Credit Notes · POST /credit-notes/

Create credit note

Endpoint for creating a new credit note.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_credit_notes_line_items_listC

🟢 READ-ONLY · Credit Note Line Items · GET /credit-notes/{credit_note_id}/line-items/

List credit note line items

Endpoint for retrieving a list of credit note line items.

wafeq_credit_notes_line_items_createA

🟡 WRITE · creates data · Credit Note Line Items · POST /credit-notes/{credit_note_id}/line-items/

Create credit note line item

Endpoint for creating a new credit note line item.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_credit_notes_line_items_retrieveA

🟢 READ-ONLY · Credit Note Line Items · GET /credit-notes/{credit_note_id}/line-items/{id}/

Retrieve credit note line item

Endpoint for retrieving a single credit note line item.

wafeq_credit_notes_line_items_updateB

🟡 WRITE · updates data · Credit Note Line Items · PUT /credit-notes/{credit_note_id}/line-items/{id}/

Update credit note line item

Endpoint for updating an existing credit note line item.

wafeq_credit_notes_line_items_destroyA

🔴 DESTRUCTIVE · deletes · Credit Note Line Items · DELETE /credit-notes/{credit_note_id}/line-items/{id}/

Delete credit note line item

Endpoint for deleting an existing credit note line item.

Permanently removes the record.

wafeq_credit_notes_line_items_partial_updateB

🟡 WRITE · updates data · Credit Note Line Items · PATCH /credit-notes/{credit_note_id}/line-items/{id}/

Partial update credit note line item

Endpoint for partially updating an existing credit note line item.

wafeq_credit_notes_retrieveB

🟢 READ-ONLY · Credit Notes · GET /credit-notes/{id}/

Retrieve credit note

Endpoint for retrieving a single credit note.

wafeq_credit_notes_updateC

🟡 WRITE · updates data · Credit Notes · PUT /credit-notes/{id}/

Update credit note

Endpoint for updating an existing credit note.

wafeq_credit_notes_destroyB

🔴 DESTRUCTIVE · deletes · Credit Notes · DELETE /credit-notes/{id}/

Delete credit note

Endpoint for deleting an existing credit note.

Permanently removes the record.

wafeq_credit_notes_partial_updateC

🟡 WRITE · updates data · Credit Notes · PATCH /credit-notes/{id}/

Partial update credit note

Endpoint for partially updating an existing credit note.

wafeq_credit_notes_download_retrieveA

🟢 READ-ONLY · returns a PDF · Credit Notes · GET /credit-notes/{id}/download/

Download credit note PDF

Endpoint for downloading a PDF of the credit note.

Returns the document as base64-encoded PDF bytes plus its size and content type. Nothing is modified.

wafeq_credit_notes_tax_authority_report_createA

🔴 IRREVERSIBLE · files the document with an external tax authority · Credit Notes · POST /credit-notes/{id}/tax-authority/report/

Report credit note to tax authority

Report the credit note to the tax authority for processing and validation.

Submits the document outside your organization for clearance/reporting. It CANNOT be recalled or undone through this API. Confirm with the user before calling, and check the document's contents first.

wafeq_custom_fields_listB

🟢 READ-ONLY · Custom Fields · GET /custom-fields/

List custom fields

Endpoint for retrieving a list of custom fields.

wafeq_custom_fields_createA

🟡 WRITE · creates data · Custom Fields · POST /custom-fields/

Create custom field

Endpoint for creating a new custom field.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_custom_fields_retrieveA

🟢 READ-ONLY · Custom Fields · GET /custom-fields/{id}/

Retrieve custom field

Endpoint for retrieving a single custom field.

wafeq_custom_fields_updateC

🟡 WRITE · updates data · Custom Fields · PUT /custom-fields/{id}/

Update custom field

Endpoint for updating an existing custom field.

wafeq_custom_fields_destroyA

🔴 DESTRUCTIVE · deletes · Custom Fields · DELETE /custom-fields/{id}/

Delete custom field

Endpoint for deleting an existing custom field. The custom field must not be in use on any documents.

Permanently removes the record.

wafeq_custom_fields_partial_updateB

🟡 WRITE · updates data · Custom Fields · PATCH /custom-fields/{id}/

Partial update custom field

Endpoint for partially updating an existing custom field.

wafeq_debit_notes_listC

🟢 READ-ONLY · Debit Notes · GET /debit-notes/

List debit notes

Endpoint for retrieving a list of debit notes.

wafeq_debit_notes_createA

🟡 WRITE · creates data · Debit Notes · POST /debit-notes/

Create debit note

Endpoint for creating a new debit note.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_debit_notes_line_items_listB

🟢 READ-ONLY · Debit Note Line Items · GET /debit-notes/{debit_note_id}/line-items/

List debit note line items

Endpoint for retrieving a list of debit note line items.

wafeq_debit_notes_line_items_createA

🟡 WRITE · creates data · Debit Note Line Items · POST /debit-notes/{debit_note_id}/line-items/

Create debit note line item

Endpoint for creating a new debit note line item.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_debit_notes_line_items_retrieveA

🟢 READ-ONLY · Debit Note Line Items · GET /debit-notes/{debit_note_id}/line-items/{id}/

Retrieve debit note line item

Endpoint for retrieving a single debit note line item.

wafeq_debit_notes_line_items_updateB

🟡 WRITE · updates data · Debit Note Line Items · PUT /debit-notes/{debit_note_id}/line-items/{id}/

Update debit note line item

Endpoint for updating an existing debit note line item.

wafeq_debit_notes_line_items_destroyA

🔴 DESTRUCTIVE · deletes · Debit Note Line Items · DELETE /debit-notes/{debit_note_id}/line-items/{id}/

Delete debit note line item

Endpoint for deleting an existing debit note line item.

Permanently removes the record.

wafeq_debit_notes_line_items_partial_updateB

🟡 WRITE · updates data · Debit Note Line Items · PATCH /debit-notes/{debit_note_id}/line-items/{id}/

Partial update debit note line item

Endpoint for partially updating an existing debit note line item.

wafeq_debit_notes_retrieveA

🟢 READ-ONLY · Debit Notes · GET /debit-notes/{id}/

Retrieve debit note

Endpoint for retrieving a single debit note.

wafeq_debit_notes_updateC

🟡 WRITE · updates data · Debit Notes · PUT /debit-notes/{id}/

Update debit note

Endpoint for updating an existing debit note.

wafeq_debit_notes_destroyA

🔴 DESTRUCTIVE · deletes · Debit Notes · DELETE /debit-notes/{id}/

Delete debit note

Endpoint for deleting an existing debit note.

Permanently removes the record.

wafeq_debit_notes_partial_updateA

🟡 WRITE · updates data · Debit Notes · PATCH /debit-notes/{id}/

Partial update debit note

Endpoint for partially updating an existing debit note.

wafeq_debit_notes_download_retrieveA

🟢 READ-ONLY · returns a PDF · Debit Notes · GET /debit-notes/{id}/download/

Download debit note PDF

Endpoint for downloading a PDF of the debit note.

Returns the document as base64-encoded PDF bytes plus its size and content type. Nothing is modified.

wafeq_employees_listB

🟢 READ-ONLY · Employees · GET /employees/

List employees

Endpoint for retrieving a list of employees.

wafeq_employees_createA

🟡 WRITE · creates data · Employees · POST /employees/

Create employee

Endpoint for creating a new employee.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_employees_retrieveA

🟢 READ-ONLY · Employees · GET /employees/{id}/

Retrieve employee

Endpoint for retrieving a single employee.

wafeq_employees_updateC

🟡 WRITE · updates data · Employees · PUT /employees/{id}/

Update employee

Endpoint for updating an existing employee.

wafeq_employees_destroyA

🔴 DESTRUCTIVE · deletes · Employees · DELETE /employees/{id}/

Delete employee

Endpoint for deleting an existing employee.

Permanently removes the record.

wafeq_employees_partial_updateC

🟡 WRITE · updates data · Employees · PATCH /employees/{id}/

Partial update employee

Endpoint for partially updating an existing employee.

wafeq_expenses_listB

🟢 READ-ONLY · Expenses · GET /expenses/

List expenses

Endpoint for retrieving a list of expenses.

wafeq_expenses_createB

🟡 WRITE · creates data · Expenses · POST /expenses/

Create expense

Endpoint for creating a new expense.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_expenses_retrieveA

🟢 READ-ONLY · Expenses · GET /expenses/{id}/

Retrieve expense

Endpoint for retrieving a single expense.

wafeq_expenses_updateC

🟡 WRITE · updates data · Expenses · PUT /expenses/{id}/

Update expense

Endpoint for updating an existing expense.

wafeq_expenses_destroyB

🔴 DESTRUCTIVE · deletes · Expenses · DELETE /expenses/{id}/

Delete expense

Endpoint for deleting an existing expense.

Permanently removes the record.

wafeq_expenses_partial_updateC

🟡 WRITE · updates data · Expenses · PATCH /expenses/{id}/

Partial update expense

Endpoint for partially updating an existing expense.

wafeq_expenses_mark_as_draft_createA

🟠 STATE CHANGE · moves a document in or out of the ledger · Expenses · POST /expenses/{id}/mark-as-draft/

Mark expense as draft

Moves a posted expense back to draft (removes its journal from the ledger).

Changes posted/draft status, which adds or removes the document's journal from the ledger. Reversible: the opposite tool undoes it.

Removes the expense's journal from the ledger and returns it to draft. Undo with mark expense as posted.

wafeq_expenses_mark_as_posted_createA

🟠 STATE CHANGE · moves a document in or out of the ledger · Expenses · POST /expenses/{id}/mark-as-posted/

Mark expense as posted

Posts a draft expense to the ledger (generates its journal).

Changes posted/draft status, which adds or removes the document's journal from the ledger. Reversible: the opposite tool undoes it.

Generates the expense's journal and posts it to the ledger. Undo with mark expense as draft.

wafeq_files_listC

🟢 READ-ONLY · Files · GET /files/

List files

Endpoint for retrieving a list of files.

wafeq_upload_fileA

🟡 WRITE · creates data · Files · POST /files/

Create file

Endpoint for creating a new file. Upload a file using multipart/form-data.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

Send the file with file_base64 plus filename (and optionally content_type); this server builds the multipart/form-data body for you. For a file already on the machine running this server, pass file_path instead.

wafeq_upload_file_rawA

🟡 WRITE · creates data · Files · POST /files/raw/

Create file (advance)

Create file in advance mode by sending raw binary file content directly in the request body. You must include a Content-Disposition header with the filename.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

Advanced upload: sends the bytes as the raw request body with a Content-Disposition header. Prefer upload_file unless you specifically need raw mode. Provide file_base64 + filename, or file_path.

wafeq_files_retrieveB

🟢 READ-ONLY · Files · GET /files/{id}/

Retrieve file

Endpoint for retrieving a single file.

wafeq_files_destroyB

🔴 DESTRUCTIVE · deletes · Files · DELETE /files/{id}/

Delete file

Endpoint for deleting an existing file.

Permanently removes the record.

wafeq_invoices_listB

🟢 READ-ONLY · Invoices · GET /invoices/

List invoices

Endpoint for retrieving a list of invoices.

wafeq_invoices_createA

🟡 WRITE · creates data · Invoices · POST /invoices/

Create invoice

Endpoint for creating a new invoice.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_invoices_retrieveB

🟢 READ-ONLY · Invoices · GET /invoices/{id}/

Retrieve invoice

Endpoint for retrieving a single invoice.

wafeq_invoices_updateC

🟡 WRITE · updates data · Invoices · PUT /invoices/{id}/

Update invoice

Endpoint for updating an existing invoice.

wafeq_invoices_destroyB

🔴 DESTRUCTIVE · deletes · Invoices · DELETE /invoices/{id}/

Delete invoice

Endpoint for deleting an existing invoice.

Permanently removes the record.

wafeq_invoices_partial_updateC

🟡 WRITE · updates data · Invoices · PATCH /invoices/{id}/

Partial update invoice

Endpoint for partially updating an existing invoice.

wafeq_invoices_download_retrieveA

🟢 READ-ONLY · returns a PDF · Invoices · GET /invoices/{id}/download/

Download invoice PDF

Endpoint for downloading a PDF of the invoice.

Returns the document as base64-encoded PDF bytes plus its size and content type. Nothing is modified.

wafeq_invoices_tax_authority_report_createA

🔴 IRREVERSIBLE · files the document with an external tax authority · Invoices · POST /invoices/{id}/tax-authority/report/

Report invoice to tax authority

Report the invoice to the tax authority for processing and validation.

Submits the document outside your organization for clearance/reporting. It CANNOT be recalled or undone through this API. Confirm with the user before calling, and check the document's contents first.

wafeq_invoices_line_items_listB

🟢 READ-ONLY · Invoice Line Items · GET /invoices/{invoice_id}/line-items/

List invoice line items

Endpoint for retrieving a list of invoice line items.

wafeq_invoices_line_items_createA

🟡 WRITE · creates data · Invoice Line Items · POST /invoices/{invoice_id}/line-items/

Create invoice line item

Endpoint for creating a new invoice line item.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_invoices_line_items_retrieveB

🟢 READ-ONLY · Invoice Line Items · GET /invoices/{invoice_id}/line-items/{id}/

Retrieve invoice line item

Endpoint for retrieving a single invoice line item.

wafeq_invoices_line_items_updateC

🟡 WRITE · updates data · Invoice Line Items · PUT /invoices/{invoice_id}/line-items/{id}/

Update invoice line item

Endpoint for updating an existing invoice line item.

wafeq_invoices_line_items_destroyB

🔴 DESTRUCTIVE · deletes · Invoice Line Items · DELETE /invoices/{invoice_id}/line-items/{id}/

Delete invoice line item

Endpoint for deleting an existing invoice line item.

Permanently removes the record.

wafeq_invoices_line_items_partial_updateC

🟡 WRITE · updates data · Invoice Line Items · PATCH /invoices/{invoice_id}/line-items/{id}/

Partial update invoice line item

Endpoint for partially updating an existing invoice line item.

wafeq_item_units_of_measure_listB

🟢 READ-ONLY · Item Unit Of Measures · GET /item-units-of-measure/

List item unit of measures

Endpoint for retrieving a list of item unit of measures.

wafeq_item_units_of_measure_createA

🟡 WRITE · creates data · Item Unit Of Measures · POST /item-units-of-measure/

Create item unit of measure

Endpoint for creating a new item unit of measure.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_item_units_of_measure_retrieveB

🟢 READ-ONLY · Item Unit Of Measures · GET /item-units-of-measure/{id}/

Retrieve item unit of measure

Endpoint for retrieving a single item unit of measure.

wafeq_item_units_of_measure_updateC

🟡 WRITE · updates data · Item Unit Of Measures · PUT /item-units-of-measure/{id}/

Update item unit of measure

Endpoint for updating an existing item unit of measure.

wafeq_item_units_of_measure_destroyA

🔴 DESTRUCTIVE · deletes · Item Unit Of Measures · DELETE /item-units-of-measure/{id}/

Delete item unit of measure

Endpoint for deleting an existing item unit of measure.

Permanently removes the record.

wafeq_item_units_of_measure_partial_updateB

🟡 WRITE · updates data · Item Unit Of Measures · PATCH /item-units-of-measure/{id}/

Partial update item unit of measure

Endpoint for partially updating an existing item unit of measure.

wafeq_items_listB

🟢 READ-ONLY · Items · GET /items/

List items

Endpoint for retrieving a list of items.

wafeq_items_createA

🟡 WRITE · creates data · Items · POST /items/

Create item

Endpoint for creating a new item.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_items_retrieveB

🟢 READ-ONLY · Items · GET /items/{id}/

Retrieve item

Endpoint for retrieving a single item.

wafeq_items_updateC

🟡 WRITE · updates data · Items · PUT /items/{id}/

Update item

Endpoint for updating an existing item.

wafeq_items_destroyA

🔴 DESTRUCTIVE · deletes · Items · DELETE /items/{id}/

Delete item

Endpoint for deleting an existing item.

Permanently removes the record.

wafeq_items_partial_updateA

🟡 WRITE · updates data · Items · PATCH /items/{id}/

Partial update item

Endpoint for partially updating an existing item.

wafeq_journal_line_items_listA

🟢 READ-ONLY · Journal Line Items · GET /journal-line-items/

List journal line items

Endpoint for retrieving a list of journal line items.

NO DATE FIELD: rows carry created_ts (when the row was written to Wafeq) and modified_ts, but NOT the transaction date. created_ts is frequently a different month from the transaction — do not report it as the transaction date. To work by transaction date, filter with date_after/date_before, which DO operate on the real transaction date. For rows that come back already carrying their date, use the wafeq_account_ledger tool instead. Note this endpoint is cursor-paginated (cursor + page_size), unlike the rest of the API, which uses page.

wafeq_journal_line_items_retrieveA

🟢 READ-ONLY · Journal Line Items · GET /journal-line-items/{id}/

Retrieve journal line item

Endpoint for retrieving a single journal line item.

NO DATE FIELD: the row carries created_ts (when it was written to Wafeq), which is not the transaction date. The transaction date lives on the parent journal referenced by the journal field.

wafeq_manual_journals_listC

🟢 READ-ONLY · Manual Journals · GET /manual-journals/

List manual journals

Endpoint for retrieving a list of manual journals.

wafeq_manual_journals_createA

🟡 WRITE · creates data · Manual Journals · POST /manual-journals/

Create manual journal

Endpoint for creating a new manual journal.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_manual_journals_retrieveA

🟢 READ-ONLY · Manual Journals · GET /manual-journals/{id}/

Retrieve manual journal

Endpoint for retrieving a single manual journal.

wafeq_manual_journals_updateC

🟡 WRITE · updates data · Manual Journals · PUT /manual-journals/{id}/

Update manual journal

Endpoint for updating an existing manual journal.

wafeq_manual_journals_destroyA

🔴 DESTRUCTIVE · deletes · Manual Journals · DELETE /manual-journals/{id}/

Delete manual journal

Endpoint for deleting an existing manual journal.

Permanently removes the record.

wafeq_manual_journals_partial_updateB

🟡 WRITE · updates data · Manual Journals · PATCH /manual-journals/{id}/

Partial update manual journal

Endpoint for partially updating an existing manual journal.

wafeq_organization_retrieveA

🟢 READ-ONLY · Organizations · GET /organization/

Retrieve organization

Endpoint for retrieving a single organization.

wafeq_payment_requests_listB

🟢 READ-ONLY · Payment Requests · GET /payment_requests/

List payment requests

Endpoint for retrieving a list of payment requests.

wafeq_payment_requests_createA

🟡 WRITE · creates data · Payment Requests · POST /payment_requests/

Create payment request

Endpoint for creating a new payment request.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_payment_requests_retrieveB

🟢 READ-ONLY · Payment Requests · GET /payment_requests/{id}/

Retrieve payment request

Endpoint for retrieving a single payment request.

wafeq_payment_requests_updateC

🟡 WRITE · updates data · Payment Requests · PUT /payment_requests/{id}/

Update payment request

Endpoint for updating an existing payment request.

wafeq_payment_requests_destroyA

🔴 DESTRUCTIVE · deletes · Payment Requests · DELETE /payment_requests/{id}/

Delete payment request

Endpoint for deleting an existing payment request.

Permanently removes the record.

wafeq_payment_requests_partial_updateA

🟡 WRITE · updates data · Payment Requests · PATCH /payment_requests/{id}/

Partial update payment request

Endpoint for partially updating an existing payment request.

wafeq_payments_listC

🟢 READ-ONLY · Payments · GET /payments/

List payments

Endpoint for retrieving a list of payments.

wafeq_payments_createA

🟡 WRITE · creates data · Payments · POST /payments/

Create payment

Endpoint for creating a new payment.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_payments_retrieveC

🟢 READ-ONLY · Payments · GET /payments/{id}/

Retrieve payment

Endpoint for retrieving a single payment.

wafeq_payments_updateC

🟡 WRITE · updates data · Payments · PUT /payments/{id}/

Update payment

Endpoint for updating an existing payment.

wafeq_payments_destroyC

🔴 DESTRUCTIVE · deletes · Payments · DELETE /payments/{id}/

Delete payment

Endpoint for deleting an existing payment.

Permanently removes the record.

wafeq_payments_partial_updateC

🟡 WRITE · updates data · Payments · PATCH /payments/{id}/

Partial update payment

Endpoint for partially updating an existing payment.

wafeq_payments_download_retrieveA

🟢 READ-ONLY · returns a PDF · Payments · GET /payments/{id}/download/

Download payment PDF

Endpoint for downloading a PDF of the payment.

Returns the document as base64-encoded PDF bytes plus its size and content type. Nothing is modified.

wafeq_payslips_listB

🟢 READ-ONLY · Payslips · GET /payslips/

List payslips

Endpoint for retrieving a list of payslips.

wafeq_payslips_createA

🟡 WRITE · creates data · Payslips · POST /payslips/

Create payslip

Endpoint for creating a new payslip.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_payslips_retrieveA

🟢 READ-ONLY · Payslips · GET /payslips/{id}/

Retrieve payslip

Endpoint for retrieving a single payslip.

wafeq_payslips_updateC

🟡 WRITE · updates data · Payslips · PUT /payslips/{id}/

Update payslip

Endpoint for updating an existing payslip.

wafeq_payslips_destroyB

🔴 DESTRUCTIVE · deletes · Payslips · DELETE /payslips/{id}/

Delete payslip

Endpoint for deleting an existing payslip.

Permanently removes the record.

wafeq_payslips_partial_updateA

🟡 WRITE · updates data · Payslips · PATCH /payslips/{id}/

Partial update payslip

Endpoint for partially updating an existing payslip.

wafeq_payslips_download_retrieveA

🟢 READ-ONLY · returns a PDF · Payslips · GET /payslips/{id}/download/

Download payslip PDF

Endpoint for downloading a PDF of the payslip.

Returns the document as base64-encoded PDF bytes plus its size and content type. Nothing is modified.

wafeq_payslips_pay_items_listC

🟢 READ-ONLY · Pay Items · GET /payslips/{payslip_id}/pay-items/

List pay items

Endpoint for retrieving a list of pay items.

wafeq_payslips_pay_items_createB

🟡 WRITE · creates data · Pay Items · POST /payslips/{payslip_id}/pay-items/

Create pay item

Endpoint for creating a new pay item.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_payslips_pay_items_retrieveB

🟢 READ-ONLY · Pay Items · GET /payslips/{payslip_id}/pay-items/{id}/

Retrieve pay item

Endpoint for retrieving a single pay item.

wafeq_payslips_pay_items_updateB

🟡 WRITE · updates data · Pay Items · PUT /payslips/{payslip_id}/pay-items/{id}/

Update pay item

Endpoint for updating an existing pay item.

wafeq_payslips_pay_items_destroyA

🔴 DESTRUCTIVE · deletes · Pay Items · DELETE /payslips/{payslip_id}/pay-items/{id}/

Delete pay item

Endpoint for deleting an existing pay item.

Permanently removes the record.

wafeq_payslips_pay_items_partial_updateB

🟡 WRITE · updates data · Pay Items · PATCH /payslips/{payslip_id}/pay-items/{id}/

Partial update pay item

Endpoint for partially updating an existing pay item.

wafeq_projects_listA

🟢 READ-ONLY · Projects · GET /projects/

List projects

Endpoint for retrieving a list of projects.

wafeq_projects_createA

🟡 WRITE · creates data · Projects · POST /projects/

Create project

Endpoint for creating a new project.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_projects_retrieveB

🟢 READ-ONLY · Projects · GET /projects/{id}/

Retrieve project

Endpoint for retrieving a single project.

wafeq_projects_updateB

🟡 WRITE · updates data · Projects · PUT /projects/{id}/

Update project

Endpoint for updating an existing project.

wafeq_projects_destroyA

🔴 DESTRUCTIVE · deletes · Projects · DELETE /projects/{id}/

Delete project

Endpoint for deleting an existing project.

Permanently removes the record.

wafeq_projects_partial_updateC

🟡 WRITE · updates data · Projects · PATCH /projects/{id}/

Partial update project

Endpoint for partially updating an existing project.

wafeq_purchase_orders_listC

🟢 READ-ONLY · Purchase Orders · GET /purchase-orders/

List purchase orders

Endpoint for retrieving a list of purchase orders.

wafeq_purchase_orders_createA

🟡 WRITE · creates data · Purchase Orders · POST /purchase-orders/

Create purchase order

Endpoint for creating a new purchase order.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_purchase_orders_retrieveB

🟢 READ-ONLY · Purchase Orders · GET /purchase-orders/{id}/

Retrieve purchase order

Endpoint for retrieving a single purchase order.

wafeq_purchase_orders_updateC

🟡 WRITE · updates data · Purchase Orders · PUT /purchase-orders/{id}/

Update purchase order

Endpoint for updating an existing purchase order.

wafeq_purchase_orders_destroyA

🔴 DESTRUCTIVE · deletes · Purchase Orders · DELETE /purchase-orders/{id}/

Delete purchase order

Endpoint for deleting an existing purchase order.

Permanently removes the record.

wafeq_purchase_orders_partial_updateB

🟡 WRITE · updates data · Purchase Orders · PATCH /purchase-orders/{id}/

Partial update purchase order

Endpoint for partially updating an existing purchase order.

wafeq_purchase_orders_bill_createA

🟡 WRITE · creates data · Purchase Orders · POST /purchase-orders/{id}/bill/

Convert purchase order to bill

This endpoint can be used to convert a purchase order to a draft bill.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

Creates a NEW draft bill from the purchase order. Calling twice creates two bills — pass an idempotency_key if you may retry.

wafeq_purchase_orders_download_retrieveA

🟢 READ-ONLY · returns a PDF · Purchase Orders · GET /purchase-orders/{id}/download/

Download purchase order PDF

Endpoint for downloading a PDF of the purchase order.

Returns the document as base64-encoded PDF bytes plus its size and content type. Nothing is modified.

wafeq_purchase_orders_line_items_listB

🟢 READ-ONLY · Purchase Order Line Items · GET /purchase-orders/{purchase_order_id}/line-items/

List purchase order line items

Endpoint for retrieving a list of purchase order line items.

wafeq_purchase_orders_line_items_createA

🟡 WRITE · creates data · Purchase Order Line Items · POST /purchase-orders/{purchase_order_id}/line-items/

Create purchase order line item

Endpoint for creating a new purchase order line item.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_purchase_orders_line_items_retrieveA

🟢 READ-ONLY · Purchase Order Line Items · GET /purchase-orders/{purchase_order_id}/line-items/{id}/

Retrieve purchase order line item

Endpoint for retrieving a single purchase order line item.

wafeq_purchase_orders_line_items_updateC

🟡 WRITE · updates data · Purchase Order Line Items · PUT /purchase-orders/{purchase_order_id}/line-items/{id}/

Update purchase order line item

Endpoint for updating an existing purchase order line item.

wafeq_purchase_orders_line_items_destroyA

🔴 DESTRUCTIVE · deletes · Purchase Order Line Items · DELETE /purchase-orders/{purchase_order_id}/line-items/{id}/

Delete purchase order line item

Endpoint for deleting an existing purchase order line item.

Permanently removes the record.

wafeq_purchase_orders_line_items_partial_updateC

🟡 WRITE · updates data · Purchase Order Line Items · PATCH /purchase-orders/{purchase_order_id}/line-items/{id}/

Partial update purchase order line item

Endpoint for partially updating an existing purchase order line item.

wafeq_quotes_listC

🟢 READ-ONLY · Quotes · GET /quotes/

List quotes

Endpoint for retrieving a list of quotes.

wafeq_quotes_createA

🟡 WRITE · creates data · Quotes · POST /quotes/

Create quote

Endpoint for creating a new quote.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_quotes_retrieveA

🟢 READ-ONLY · Quotes · GET /quotes/{id}/

Retrieve quote

Endpoint for retrieving a single quote.

wafeq_quotes_updateC

🟡 WRITE · updates data · Quotes · PUT /quotes/{id}/

Update quote

Endpoint for updating an existing quote.

wafeq_quotes_destroyA

🔴 DESTRUCTIVE · deletes · Quotes · DELETE /quotes/{id}/

Delete quote

Endpoint for deleting an existing quote.

Permanently removes the record.

wafeq_quotes_partial_updateA

🟡 WRITE · updates data · Quotes · PATCH /quotes/{id}/

Partial update quote

Endpoint for partially updating an existing quote.

wafeq_quotes_download_retrieveA

🟢 READ-ONLY · returns a PDF · Quotes · GET /quotes/{id}/download/

Download quote PDF

Endpoint for downloading a PDF of the quote.

Returns the document as base64-encoded PDF bytes plus its size and content type. Nothing is modified.

wafeq_quotes_invoice_createA

🟡 WRITE · creates data · Quotes · POST /quotes/{id}/invoice/

Convert quote to invoice

This endpoint can be used to convert a quote to an invoice.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

Creates a NEW invoice from the quote. Calling twice creates two invoices — pass an idempotency_key if you may retry.

wafeq_quotes_line_items_listA

🟢 READ-ONLY · Quote Line Items · GET /quotes/{quote_id}/line-items/

List quote line items

Endpoint for retrieving a list of quote line items.

wafeq_quotes_line_items_createB

🟡 WRITE · creates data · Quote Line Items · POST /quotes/{quote_id}/line-items/

Create quote line item

Endpoint for creating a new quote line item.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_quotes_line_items_retrieveA

🟢 READ-ONLY · Quote Line Items · GET /quotes/{quote_id}/line-items/{id}/

Retrieve quote line item

Endpoint for retrieving a single quote line item.

wafeq_quotes_line_items_updateC

🟡 WRITE · updates data · Quote Line Items · PUT /quotes/{quote_id}/line-items/{id}/

Update quote line item

Endpoint for updating an existing quote line item.

wafeq_quotes_line_items_destroyA

🔴 DESTRUCTIVE · deletes · Quote Line Items · DELETE /quotes/{quote_id}/line-items/{id}/

Delete quote line item

Endpoint for deleting an existing quote line item.

Permanently removes the record.

wafeq_quotes_line_items_partial_updateC

🟡 WRITE · updates data · Quote Line Items · PATCH /quotes/{quote_id}/line-items/{id}/

Partial update quote line item

Endpoint for partially updating an existing quote line item.

wafeq_reports_balance_sheet_listA

🟢 READ-ONLY · Reports · GET /reports/balance-sheet/

Balance Sheet

Generate balance sheet report in currency at date with period_count periods to compare and group it by group_by parameter.

PARAMETERS: this report takes date (the 'as of' date) and period_count (0-11 extra comparison periods) — both REQUIRED. It does NOT take a date range; there is no date_from/date_to/date_after/date_before. group_by (month|year) sets the size of the comparison periods.

wafeq_reports_cash_flow_listA

🟢 READ-ONLY · Reports · GET /reports/cash-flow/

Cash Flow

Generate cash flow report in currency from date_after to date_before range and group it by group_by parameter.

PARAMETERS: date_after and date_before are both REQUIRED and are the range bounds. There is no date_from/date_to. The same whole-period rule as profit-and-loss applies and is checked before sending.

wafeq_reports_profit_and_loss_listA

🟢 READ-ONLY · Reports · GET /reports/profit-and-loss/

Profit and Loss

Generate profit and loss report in currency from date_after to date_before range and group it by group_by parameter.

PARAMETERS: date_after and date_before are both REQUIRED and are the range bounds. There is no date_from/date_to. The range must cover whole periods: with group_by=month (the default) it must run from the first day of a month to the last day of a month; with group_by=year it must run 1 January to 31 December. A partial year with group_by=year is rejected — use group_by=month for a year-to-date figure. This server checks the range before sending and tells you the nearest valid one.

wafeq_reports_trial_balance_listA

🟢 READ-ONLY · Reports · GET /reports/trial-balance/

Trial Balance

Generate trial balance report from from_date to to_date optionally with PNL openings with_pnl_openings and accounts with zero balances include_zero_balances.

PARAMETERS: this report uses from_date and to_date (NOT date_after/date_before, and NOT date_from/date_to). Both are optional; omitting them returns the current financial year. Verified 2026-09-04: the dates ARE honoured when spelled correctly — a narrower range returns a smaller report. Wafeq silently ignores misspelled query parameters rather than erroring, so a wrong name looks like a working call that returns the default period.

wafeq_revenue_recognitions_listC

🟢 READ-ONLY · Revenue Recognitions · GET /revenue-recognitions/

List revenue recognitions

Endpoint for retrieving a list of revenue recognitions.

wafeq_revenue_recognitions_preview_createA

🟢 READ-ONLY · preview / simulation · Revenue Recognitions · POST /revenue-recognitions/preview/

Preview revenue recognition schedule

Endpoint for previewing the revenue recognition events that would be generated for the given schedule, without creating a revenue recognition.

This is a POST, but Wafeq documents it as a simulation: it returns the events that WOULD be generated and writes nothing to the ledger.

wafeq_revenue_recognitions_retrieveB

🟢 READ-ONLY · Revenue Recognitions · GET /revenue-recognitions/{id}/

Retrieve revenue recognition

Endpoint for retrieving a single revenue recognition.

wafeq_revenue_recognitions_destroyA

🔴 DESTRUCTIVE · deletes · Revenue Recognitions · DELETE /revenue-recognitions/{id}/

Delete revenue recognition

Endpoint for deleting an existing revenue recognition.

Permanently removes the record.

wafeq_revenue_recognitions_end_early_createA

🔴 IRREVERSIBLE · posts the remaining balance to the ledger · Revenue Recognitions · POST /revenue-recognitions/{id}/end-early/

End revenue recognition early

Endpoint for terminating a revenue recognition early, recognizing the remaining balance against the provided account.

Terminates a schedule early and recognizes its whole remaining balance immediately. There is no API undo. Run the matching preview_... tool first to see exactly what would be posted.

wafeq_revenue_recognitions_preview_end_early_createA

🟢 READ-ONLY · preview / simulation · Revenue Recognitions · POST /revenue-recognitions/{id}/preview-end-early/

Preview early termination

Endpoint for previewing the remaining balance and the posted events that would be reversed by terminating the revenue recognition early at the given date.

This is a POST, but Wafeq documents it as a simulation: it returns the events that WOULD be generated and writes nothing to the ledger.

wafeq_simplified_invoices_listB

🟢 READ-ONLY · Simplified Invoices · GET /simplified-invoices/

List simplified invoices

Endpoint for retrieving a list of simplified invoices.

wafeq_simplified_invoices_createB

🟡 WRITE · creates data · Simplified Invoices · POST /simplified-invoices/

Create simplified invoice

Endpoint for creating a new simplified invoice.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_simplified_invoices_retrieveA

🟢 READ-ONLY · Simplified Invoices · GET /simplified-invoices/{id}/

Retrieve simplified invoice

Endpoint for retrieving a single simplified invoice.

wafeq_simplified_invoices_updateC

🟡 WRITE · updates data · Simplified Invoices · PUT /simplified-invoices/{id}/

Update simplified invoice

Endpoint for updating an existing simplified invoice.

wafeq_simplified_invoices_destroyB

🔴 DESTRUCTIVE · deletes · Simplified Invoices · DELETE /simplified-invoices/{id}/

Delete simplified invoice

Endpoint for deleting an existing simplified invoice.

Permanently removes the record.

wafeq_simplified_invoices_partial_updateC

🟡 WRITE · updates data · Simplified Invoices · PATCH /simplified-invoices/{id}/

Partial update simplified invoice

Endpoint for partially updating an existing simplified invoice.

wafeq_simplified_invoices_download_retrieveA

🟢 READ-ONLY · returns a PDF · Simplified Invoices · GET /simplified-invoices/{id}/download/

Download simplified invoice PDF

Endpoint for downloading a PDF of the simplified invoice.

Returns the document as base64-encoded PDF bytes plus its size and content type. Nothing is modified.

wafeq_simplified_invoices_tax_authority_report_createA

🔴 IRREVERSIBLE · files the document with an external tax authority · Simplified Invoices · POST /simplified-invoices/{id}/tax-authority/report/

Report simplified invoice to tax authority

Report the simplified invoice to the tax authority for processing and validation.

Submits the document outside your organization for clearance/reporting. It CANNOT be recalled or undone through this API. Confirm with the user before calling, and check the document's contents first.

wafeq_simplified_invoices_line_items_listB

🟢 READ-ONLY · Simplified Invoice Line Items · GET /simplified-invoices/{invoice_id}/line-items/

List simplified invoice line items

Endpoint for retrieving a list of simplified invoice line items.

wafeq_simplified_invoices_line_items_createA

🟡 WRITE · creates data · Simplified Invoice Line Items · POST /simplified-invoices/{invoice_id}/line-items/

Create simplified invoice line item

Endpoint for creating a new simplified invoice line item.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_simplified_invoices_line_items_retrieveB

🟢 READ-ONLY · Simplified Invoice Line Items · GET /simplified-invoices/{invoice_id}/line-items/{id}/

Retrieve simplified invoice line item

Endpoint for retrieving a single simplified invoice line item.

wafeq_simplified_invoices_line_items_updateC

🟡 WRITE · updates data · Simplified Invoice Line Items · PUT /simplified-invoices/{invoice_id}/line-items/{id}/

Update simplified invoice line item

Endpoint for updating an existing simplified invoice line item.

wafeq_simplified_invoices_line_items_destroyA

🔴 DESTRUCTIVE · deletes · Simplified Invoice Line Items · DELETE /simplified-invoices/{invoice_id}/line-items/{id}/

Delete simplified invoice line item

Endpoint for deleting an existing simplified invoice line item.

Permanently removes the record.

wafeq_simplified_invoices_line_items_partial_updateB

🟡 WRITE · updates data · Simplified Invoice Line Items · PATCH /simplified-invoices/{invoice_id}/line-items/{id}/

Partial update simplified invoice line item

Endpoint for partially updating an existing simplified invoice line item.

wafeq_tax_rates_listB

🟢 READ-ONLY · Tax Rates · GET /tax-rates/

List tax rates

Endpoint for retrieving a list of tax rates.

wafeq_units_of_measure_listB

🟢 READ-ONLY · Unit Of Measures · GET /units-of-measure/

List unit of measures

Endpoint for retrieving a list of unit of measures.

wafeq_units_of_measure_createB

🟡 WRITE · creates data · Unit Of Measures · POST /units-of-measure/

Create unit of measure

Endpoint for creating a new unit of measure.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_units_of_measure_retrieveA

🟢 READ-ONLY · Unit Of Measures · GET /units-of-measure/{id}/

Retrieve unit of measure

Endpoint for retrieving a single unit of measure.

wafeq_units_of_measure_updateB

🟡 WRITE · updates data · Unit Of Measures · PUT /units-of-measure/{id}/

Update unit of measure

Endpoint for updating an existing unit of measure.

wafeq_units_of_measure_destroyA

🔴 DESTRUCTIVE · deletes · Unit Of Measures · DELETE /units-of-measure/{id}/

Delete unit of measure

Endpoint for deleting an existing unit of measure.

Permanently removes the record.

wafeq_units_of_measure_partial_updateC

🟡 WRITE · updates data · Unit Of Measures · PATCH /units-of-measure/{id}/

Partial update unit of measure

Endpoint for partially updating an existing unit of measure.

wafeq_warehouses_listB

🟢 READ-ONLY · Warehouses · GET /warehouses/

List warehouses

Endpoint for retrieving a list of warehouses.

wafeq_warehouses_createA

🟡 WRITE · creates data · Warehouses · POST /warehouses/

Create warehouse

Endpoint for creating a new warehouse.

Not idempotent — calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

wafeq_warehouses_retrieveA

🟢 READ-ONLY · Warehouses · GET /warehouses/{id}/

Retrieve warehouse

Endpoint for retrieving a single warehouse.

wafeq_warehouses_updateC

🟡 WRITE · updates data · Warehouses · PUT /warehouses/{id}/

Update warehouse

Endpoint for updating an existing warehouse.

wafeq_warehouses_destroyA

🔴 DESTRUCTIVE · deletes · Warehouses · DELETE /warehouses/{id}/

Delete warehouse

Endpoint for deleting an existing warehouse.

Permanently removes the record.

wafeq_warehouses_partial_updateB

🟡 WRITE · updates data · Warehouses · PATCH /warehouses/{id}/

Partial update warehouse

Endpoint for partially updating an existing warehouse.

wafeq_account_ledgerA

🟢 READ-ONLY · Journal Line Items · convenience tool

List journal line items WITH their real transaction date attached as date.

Use this instead of the raw journal-line-items tool whenever the date matters — for tracing an account's history, reconciling a period, or explaining a balance. The raw endpoint returns created_ts (when the row reached Wafeq), which is regularly a different month from the transaction and must not be reported as the transaction date.

Both dates are required and the window must be 92 days or fewer for dates to be resolved; a wider range still returns rows, but without date. Costs one request per month plus one per day in months that contain rows, so quiet periods are cheap. The result reports requests_made.

wafeq_requestA

🔴 DESTRUCTIVE · arbitrary API call · Escape hatch · any method, any path

Call any Wafeq endpoint directly, with full control over method, path, query, body AND headers.

This is the FALLBACK, not the primary interface: every documented endpoint already has its own generated tool with a correct input schema and an accurate safety category. Reach for this only for something the bundled spec does not cover.

It is categorized destructive because the effect cannot be known in advance — the same tool can read a report or delete an invoice. Confirm with the user before any non-GET call.

Writes get an automatic X-Wafeq-Idempotency-Key unless you supply one in headers. Authorization is always set from the server's own credentials and cannot be overridden.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ohneben/Wafeq-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server