Wenmar Pro Bank API
Bank statements, matching to the ledger, and reconciliation
Bank statements, matching to the ledger, and reconciliation
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/wenmarpro-com:wenmarpro-com-bank-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
description: Bank statements, matching to the ledger, and reconciliation
license:
name: ''
title: Wenmar Bank API
version: 0.1.0
tags:
- description: Bank statements, matching to the ledger, and reconciliation
name: Bank
paths:
/bank/lines:
get:
operationId: bank_lines_index
parameters:
- description: only this bank account
in: query
name: account
required: false
schema:
type: string
- description: 'true: only lines neither matched nor given an entry, each with suggested_ledger_line_id'
in: query
name: unmatched
required: false
schema:
type: boolean
responses:
'200':
content:
application/json:
schema:
type: object
description: '`{data}`: the statement lines, oldest first'
'401':
description: unauthenticated
'403':
description: forbidden (needs reports.view)
security:
- bearer: []
tags:
- Bank
summary: Bank lines index
x-summary-source: derived
/bank/lines/{id}/entry:
post:
operationId: bank_lines_entry
parameters:
- description: statement line id
in: path
name: id
required: true
schema:
format: int64
type: integer
requestBody:
content:
application/json:
schema:
properties:
memo:
default: ''
description: At most 120 characters; the line's description when blank
type: string
offset_account:
default: ''
description: The other side of the entry (chart of accounts), 1 to 10 characters, e.g. a bank fee account
type: string
type: object
required: false
responses:
'200':
content:
application/json:
schema:
type: object
description: the statement line, with created_entry_id
'401':
description: unauthenticated
'403':
description: forbidden (needs ledger.manage)
'404':
description: no such statement line
'409':
description: 'conflict: matched, reconciled or with an entry'
'422':
description: 'validation_failed: offset_account, memo; locked (the date is locked)'
security:
- bearer: []
tags:
- Bank
summary: Bank lines entry
x-summary-source: derived
/bank/lines/{id}/match:
post:
operationId: bank_lines_match
parameters:
- description: statement line id
in: path
name: id
required: true
schema:
format: int64
type: integer
requestBody:
content:
application/json:
schema:
properties:
ledger_line_id:
default: 0
description: The ledger line on the same bank account, with the same amount
format: int64
type: integer
type: object
required: false
responses:
'200':
content:
application/json:
schema:
type: object
description: the statement line, matched
'401':
description: unauthenticated
'403':
description: forbidden (needs ledger.manage)
'404':
description: no such statement line
'409':
description: 'conflict: matched, reconciled or with an entry; the ledger line is taken'
'422':
description: 'validation_failed: ledger_line_id (another account or amount)'
security:
- bearer: []
tags:
- Bank
summary: Bank lines match
x-summary-source: derived
/bank/lines/{id}/unmatch:
post:
operationId: bank_lines_unmatch
parameters:
- description: statement line id
in: path
name: id
required: true
schema:
format: int64
type: integer
responses:
'200':
content:
application/json:
schema:
type: object
description: the statement line, unmatched
'401':
description: unauthenticated
'403':
description: forbidden (needs ledger.manage)
'404':
description: no such statement line
'409':
description: 'conflict: not matched, or reconciled'
security:
- bearer: []
tags:
- Bank
summary: Bank lines unmatch
x-summary-source: derived
/bank/reconciliations:
get:
operationId: bank_reconciliations_index
parameters:
- description: only this bank account
in: query
name: account
required: false
schema:
type: string
responses:
'200':
content:
application/json:
schema:
type: object
description: '`{data}`: reconciliations, newest statement date first'
'401':
description: unauthenticated
'403':
description: forbidden (needs reports.view)
security:
- bearer: []
tags:
- Bank
summary: Bank reconciliations index
x-summary-source: derived
post:
operationId: bank_reconciliations_create
requestBody:
content:
application/json:
schema:
properties:
account_number:
default: ''
description: The bank account, 1 to 10 characters
type: string
statement_balance_cents:
default: 0
description: The statement's closing balance in cents
format: int64
type: integer
statement_date:
default: ''
description: The statement's date, YYYY-MM-DD
type: string
type: object
required: false
responses:
'200':
content:
application/json:
schema:
type: object
description: the reconciliation
'401':
description: unauthenticated
'403':
description: forbidden (needs ledger.manage)
'422':
description: 'validation_failed: statement_date (lines not handled), statement_balance_cents (the difference is in the message)'
security:
- bearer: []
tags:
- Bank
summary: Bank reconciliations create
x-summary-source: derived
/bank/statements:
post:
operationId: bank_statements_import
requestBody:
content:
application/json:
schema:
properties:
account_number:
default: ''
description: The bank account (chart of accounts, bank_account true), 1 to 10 characters
type: string
csv:
anyOf:
- description: 'The column layout of a CSV statement (0-based columns). Without any `*_column`, the date is
column 1, the amount column 2 and the description column 3, after the header.'
properties:
amount_column:
default: null
description: 'One signed amount column: deposits +, withdrawals -'
format: uint
minimum: 0
type:
- integer
- 'null'
credit_column:
default: null
description: 'With debit_column: money in (an unsigned column)'
format: uint
minimum: 0
type:
- integer
- 'null'
date_column:
default: null
description: The date column (default 0)
format: uint
minimum: 0
type:
- integer
- 'null'
date_format:
default: null
description: A date format such as %Y-%m-%d (default) or %m/%d/%Y
type:
- string
- 'null'
debit_column:
default: null
description: 'With credit_column: money out (an unsigned column)'
format: uint
minimum: 0
type:
- integer
- 'null'
description_column:
default: null
description: The description column (default 2)
format: uint
minimum: 0
type:
- integer
- 'null'
has_header:
default: null
description: The first row names the columns and is skipped (default true)
type:
- boolean
- 'null'
type: object
- type: 'null'
default: null
description: The CSV's columns; ignored for ofx and qfx
format:
default: ''
description: csv (default), ofx or qfx
type: string
text:
default: ''
description: The statement file's text
type: string
type: object
required: false
responses:
'200':
content:
application/json:
schema:
type: object
description: '`{account_number, format, imported, skipped}`: lines already imported are skipped'
'401':
description: unauthenticated
'403':
description: forbidden (needs ledger.manage)
'422':
description: 'validation_failed: account_number (not a bank account), format, text (the row that is wrong), csv; idempotency_key_reused'
security:
- bearer: []
tags:
- Bank
summary: Bank statements import
x-summary-source: derived
components:
securitySchemes:
bearer:
scheme: bearer
type: http