LedgerBee Developer
  • Getting started
  • Conventions
  • Products
  • Configuration
  • API Reference
Information
Accounts
    List accountsget
API Key
    Get current API keyget
Authority Extracts
    Submit authority extract datapost
Billing Groups
    Form a billing grouppostGet a billing groupgetAdd members to a billing grouppostRemove a member from a billing groupdeleteCheck billing group eligibilitypost
Budgets
    List budgetsgetGet a budgetgetGet the budget vs actuals comparisongetList a budget's frozen baselinesgetGet a frozen baseline with its snapshot cellsgetList a budget's re-baseline proposalsgetList a budget's scenariosgetResolve a budget's grid under a scenariogetGet the variance report vs a frozen baselinegetGet the runway headlineget
Checkout
    Confirm the checkoutpostQuote a first periodpostIntegration readinessgetMint a checkout sessionpostRehydrate a sessiongetRelease the card hold (edit-after-card)postPoll card statusgetOpen the card windowpostOpen a card-update window for a live subscriptionpost
Company
    Get company detailsget
Connected app OAuth
    JSON Web Key Set used to verify OAuth access-token signaturesgetRFC 8414 authorization-server metadata for the connected-app OAuth servergetRFC 9728 protected-resource metadata for an MCP resourcegetRFC 9728 protected-resource metadata for an MCP resourcegetOpenID Connect discovery document for the connected-app OAuth serverget
Credit Notes
    List credit notesgetCreate a credit notepostGet a credit notegetGet the delivery status of a credit notegetDownload the credit note PDFgetSend a credit note to the customerpostCredit a whole invoicepost
Customers
    List customersgetCreate a customerpostGet a customergetUpdate a customerpatchList a customer's contactsgetList a customer's departmentsgetList customer groupsget
Dimensions
    List all dimensionsgetCreate a new dimension categorypostGet a dimensiongetUpdate a dimension categoryputDelete a dimension categorydeleteList distribution keys (paginated)getCreate a distribution keypostGet a distribution keygetList dimension values (paginated)getCreate a new dimension valuepostUpdate a dimension valueputDelete a dimension valuedelete
Document Templates
    List document templatesget
Download Links
    Mint a download link for a document PDFgetDownload a minted linkget
Draft Journal Entries
    Create multiple draft journal entries in batchpostList draft journal entriesgetCreate a draft journal entrypostGet a draft journal entrygetDelete a draft journal entrydeleteBook a draft journal entrypost
Draft Journal Entries (v2)
    Create draft journal entries in batch (v2)postList draft journal entries (v2)getCreate a draft journal entry (v2)postGet a draft journal entry (v2)getDelete a draft journal entry (v2)deleteUpdate a draft journal entry (v2)patchBook a draft journal entry (v2)post
Entitlements
    List entitlementsgetCreate an entitlementpostGet an entitlementgetDelete an entitlementdeleteUpdate an entitlementpatch
Invoices
    List invoicesgetCreate a draft invoicepostGet an invoicegetGet the delivery status of an invoicegetDownload the invoice PDFgetSend an invoice to the customerpost
Journal Categories
    List journal categoriesgetCreate a journal categorypostUpdate a journal categoryputDelete a journal categorydelete
Journal Entries
    List journal entriesgetGet a journal entrygetUpdate a journal entry — correct the reference and/or set your external system idpatchGet attachments for a journal entrygetPreview a correction without posting itpostMove postings to different accounts, keeping the document intactpostReverse a posted entry and open a draft to re-enter itpostReverse posted journal entries in batchpostReverse a posted journal entrypost
Journal Entries (v2)
    Create a journal entry (v2)postCreate journal entries in batch (v2)post
MCP
    LedgerBee Developer MCP Serverpost
Meters
    List meter subscriptions by IDgetReport usagepostList meter subscriptions by nameget
Open Entries
    List a counterparty’s open entriesget
Order Confirmations
    List order confirmationsgetCreate a draft order confirmationpostGet an order confirmationgetUpdate a draft order confirmationpatchConvert an order confirmation into an invoicepostDownload an order confirmation as PDFgetSend an order confirmationpost
Payment Methods
    List saved payment methods for a customergetCancel a saved card on the payment providerdeleteUnassign a payment method from a customerdeleteGenerate a link for the customer to save a card for future paymentspostSet a saved payment method as the customer defaultput
Portal Plans
    List the full plan cataloguegetGet a plangetResolve the gated pricing catalogue for an identified buyer (partner display)post
Portal SSO
    Get a tenant's SSO signing keys (JWKS)getMint a checkout-vouch token (partner-vouched anonymous checkout)postMint a customer-portal SSO handoff referencepostProvision a customer + grant portal access (partner JIT provisioning)postRevoke (force-refresh) a user's customer-portal sessionspost
Product Groups
    List product groupsgetCreate a product grouppostGet a product groupgetDelete a product groupdeleteUpdate a product grouppatch
Product Prices
    Create a product pricepostGet a product pricegetDelete a product pricedeleteUpdate a product pricepatchActivate a product pricepostArchive a product pricepostDisable a product pricepostSet a price as the product defaultpost
Products
    List productsgetCreate a productpostGet a productgetDelete a productdeleteUpdate a productpatchArchive a productpost
Projects
    List all projectsgetCreate or update a project by external referenceputCreate a projectpostGet a projectgetUpdate a projectputGet project profitgetAdd a subprojectpostUpdate a subprojectputDelete a subprojectdelete
Quotes
    List quotesgetCreate a draft quotepostGet a quotegetUpdate a draft quotepatchConvert a quotepostDownload a quote as PDFgetSend a quotepost
Settlements
    List a counterparty’s settlementsgetSettle open entries against each otherpostGet a settlementgetCheck what settling these entries would dopost
Subscriptions
    List customer subscriptionsgetAssign a subscription to a customerpostGet a customer subscription by its stable idgetUpdate a customer subscriptionpatchRetry a failed card paymentpostList a subscription's pending scheduled changesgetCancel a single pending scheduled changedeleteCancel a customer subscriptionpostList subscription plansgetCreate a subscription planpostArchive a subscription planpost
Suppliers
    List suppliersgetCreate a supplierpostList supplier contactsgetList supplier departmentsgetList supplier groupsget
VAT Codes
    List VAT codesget
Vendors
    List vendorsgetCreate a vendorpostList vendor contactsgetList vendor departmentsgetList vendor groupsget
Webhook Endpoints
    List webhook endpointsgetCreate a webhook endpointpostRetrieve a webhook endpointgetUpdate a webhook endpointputDelete a webhook endpointdeleteRoll the signing secretpostSend a test eventpost
Schemas
LedgerBee Public API
LedgerBee Public API

Open Entries

Download schema

List a counterparty’s open entries

GET
https://api.ledgerbee.com/api
/v1/open-entries
x-api-key (header)
or
OAuth 2.0

Every document and payment that has not been fully settled. For a customer that is the invoices and reminder fees they owe you, alongside credit notes, unallocated payments and prepayments you hold against them; for a supplier it is the same picture from the other side.

Name exactly one of customerId or supplierId. An entry belongs to one side of the books, so a request carrying both, or neither, is refused rather than resolved to a default.

Each row carries the kind, id and version that identify it, and remainingAmount is how much of it is still open.

Read totals.baseCurrencyOutstanding for the balance, and never sum the rows. The rows are the individual open documents; the total also includes the counterparty’s opening balance, which no row carries. Summing the rows gives a number that is wrong by exactly that balance.

Required Scope

  • journal-entries-read

List a counterparty’s open entries › query Parameters

customerId
​string

Read the customer’s entries. Mutually exclusive with supplierId; exactly one is required.

Example: 0197A943-2325-7829-B835-B6C71A293065
supplierId
​string

Read the supplier’s entries. Mutually exclusive with customerId; exactly one is required.

Example: 0197A943-2325-7829-B835-B6C71A293066
asOf
​string

Cut-off date (YYYY-MM-DD). Entries are reported as they stood at the end of this day, and daysOverdue is measured against it. Defaults to today.

Example: 2026-09-30

List a counterparty’s open entries › Responses

The counterparty’s open entries as of the requested date

PublicOpenEntriesResponse
baseCurrency
​string · required

The company’s base currency (3-letter ISO).

Example: DKK
asOf
​string · required

The date this response answers as of. Always present — it is the requested cut-off, or today when none was given, so it does not tell you which was asked for.

Example: 2026-09-30
​PublicOpenEntry[] · required

The counterparty’s open entries.

​PublicOpenEntriesTotals · required
GET/v1/open-entries
curl https://api.ledgerbee.com/api/v1/open-entries \ --header 'x-api-key: <api-key>'
Example Responses
{ "baseCurrency": "DKK", "asOf": "2026-09-30", "entries": [ { "kind": "ANCHOR", "id": "0197A943-2325-7829-B835-B6C71A293065", "type": "INVOICE", "prepaymentKind": "ADVANCE", "reference": "INV-1043", "date": "2026-08-14", "currency": "EUR", "originalAmount": 1250, "remainingAmount": 400, "baseRemainingAmount": 2980, "bookedExchangeRate": 7.45, "version": "2026-08-14T09:31:07.000Z", "dueDate": "2026-09-13", "daysOverdue": 17, "journalEntryId": "0197A943-2325-7829-B835-B6C71A293066" } ], "totals": { "perCurrency": [ { "currency": "EUR", "remainingTotal": 400 } ], "baseCurrencyOutstanding": 2980 } }
json
application/json

MetersOrder Confirmations