Skip to documentation
SumBookDevelopers
Integration reference
Documentation / Introduction
SUMBOOK DEVELOPER PLATFORM

Build connected accounting experiences.

Connect invoicing, inventory and workforce systems to the books that bring them together.

View as Markdown

One ledger. Connected systems.

Build around authorised company access and clear accounting contracts. Start with an implemented interface, or prepare a partner adapter using the integration guides.

Make your first connection
Production interfacesSumBook originhttps://sumbook.wcreatesdigital.com

HTTPS · JSON · Owner-authorised access


PeopleBook receiver and MCP available. General REST API and InvoiceNow provider connections are not live.

Start with the interface that matches your integration. The PeopleBook payroll receiver and authorised MCP connections are implemented today. InvoiceNow adapters and a general REST API for inventory, payroll and HRM need further implementation and partner testing.

IntegrationCurrent availabilityStart here
PeopleBook payrollImplemented receiver; owner authorisation requiredAccounting & payroll guide
AI & MCPImplemented; capabilities depend on connection permissionAI & MCP guide
InvoiceNow access pointsAdapter framework only; provider connection pendingSingapore InvoiceNow guide
Malaysia MyInvois / access pointMarket settings and accounting groundwork; no live submission adapterMalaysia e-Invoice guide
Inventory / other payroll / HRMIntegration design prepared; no general public REST API yetInventory & HRM guides

Public reference. Private records. These docs require no login. Company records always require an authorised connection. A documentation page does not enable a provider, certify SumBook or grant access to accounting data.

GET STARTED

Make your first connection

Choose a supported interface, obtain company consent and start with a read request.

  • Choose PeopleBook payroll, an MCP client or an InvoiceNow partner implementation. The contracts are separate; keys are not interchangeable.
  • The company owner signs in and authorises the connection for the correct company. Confirm the UEN and company identifiers before mapping data.
  • For PeopleBook, open the PeopleBook authorisation page linked below, enter the matching PeopleBook company ID and authorise access. Copy the connection key once and store it in your server secret manager.
  • Use GET below to inspect the authorised company and eligible ledger accounts. Never paste a real key into public documentation, browser JavaScript or an AI prompt.
  • Map accounts, verify a synthetic journal in a dedicated test company, and reconcile the accounting result before sending live payroll. Do not test writes on real company books.
bash
curl --request GET \
  "https://sumbook.wcreatesdigital.com/api/integrations/peoplebook" \
  --header "Authorization: Bearer ${SUMBOOK_PEOPLEBOOK_KEY}" \
  --header "X-PeopleBook-Company: ${PEOPLEBOOK_COMPANY_ID}" \
  --header "X-PeopleBook-UEN: ${COMPANY_UEN}"

This command reads company details and eligible accounts; it does not post a journal. There is no separate hosted developer sandbox. Use synthetic records in a dedicated test company. The receiver being available does not mean the source HR system has completed payroll finalisation.

SECURITY

Authentication & company access

Every connection has an explicit owner, a company boundary and a revocation path.

InterfaceAuthenticationCompany boundary
PeopleBook receiverBearer sb_pb_… key issued by SumBookBound to the owner, PeopleBook company ID and matching UEN
Key-based MCPBearer key from Settings → AI connectionsOnly explicitly authorised SumBook workspaces
Sites-managed MCPManaged identity plus a single-use linking codeCompany owner links the AI connection in Settings
InvoiceNow providerProvider-specific server credentials; pending adapter implementationExact legal entity / participant matching required
  • PeopleBook keys are hashed in storage. An owner may choose an expiry date or no expiry until revocation. Revoking or replacing the connection invalidates the old key.
  • The PeopleBook headers must match the stored company ID and uppercase UEN exactly. A SumBook workspace UUID and a PeopleBook company UUID are different identifiers.
  • MCP keys currently expire after 90 days. PeopleBook’s optional no-expiry setting does not apply to MCP keys.
  • Keep every key in server-side secrets and send it only to its intended HTTPS endpoint. Never use a Supabase service key, a login password or browser session cookies as an integration key.
  • The current browser APIs are private application interfaces. They require owner session and origin validation and are not a supported general API for external software.
  • No general OAuth app registration or arbitrary third-party scoped REST keys are available yet. Those are release requirements for the proposed general API.

Use least privilege. An unrelated inventory or HRM product must not reuse a PeopleBook credential or pretend to be the connected PeopleBook company. A dedicated connector and permission model must be implemented for that product.

IMPLEMENTED CONTRACT

API reference

The downloadable OpenAPI describes only the implemented PeopleBook receiver—not proposed endpoints.

MethodPathBehaviour
GET/api/integrations/peoplebookRead company identity, expiry, eligible expense/liability accounts and capabilities
POST/api/integrations/peoplebookPost a finalised, balanced SGD payroll accrual for the connected company
DELETE/api/integrations/peoplebookRevoke this connection; the current key stops working immediately

All three methods use the same Bearer key and company/UEN headers. Requests and responses use JSON. POST accepts up to 20,000 text characters and 2–32 lines. The response is private and not cached. Do not put credentials in URLs.

json
{
  "workspaceId": "<authorised SumBook workspace UUID>",
  "companyName": "Example Company",
  "uen": "<matching uppercase UEN>",
  "expiresAt": null,
  "accounts": [{"code": "5200", "name": "Staff costs", "type": "EXPENSE"}],
  "capabilities": ["accounts.read", "payroll.accrual.write"]
}

Illustrative GET response. Read actual account codes from your own company; do not assume the example code exists. The receiver returns one account list, so it has no pagination. MCP list_contacts and list_documents use offset pages of 50 and return nextOffset.

PARTNER GUIDE · FRAMEWORK ONLY

InvoiceNow access-point integration

One accounting model. Provider-specific adapters. Explicit readiness before network transmission.

SumBook has a provider-neutral document model and an adapter registry. Advintek and Storecove are scaffold entries with capabilities disabled; neither is a live connection. SumBook is not currently an IMDA-accredited Access Point or InvoiceNow-Ready Solution Provider (IRSP). This page does not claim accreditation.

The intended route is SumBook → an IMDA-accredited access point → the InvoiceNow network, with invoice-data submission to IRAS through the access point where applicable. Peppol delivery and IRAS submission have separate acknowledgements; an accepted API request is not proof of either.

Singapore file / payloadUse
PINT SG Billing XML (UBL)Structured Peppol invoice or credit-note payload exchanged through the selected Access Point. Pin the current Singapore specification and validation rules.
Provider API JSON / XMLTransport contract defined by the selected Access Point. It may accept structured fields, a document, or a provider-specific envelope; obtain the exact sandbox schema and authentication contract.
CSVUseful for SumBook reports, migration or a provider-specific bulk-import workflow only when that provider documents it. CSV is not the Singapore Peppol invoice payload.

Singapore’s Peppol exchange format is PINT SG UBL XML. SumBook’s CSV exports are accounting/report files and must not be presented as a compliant Peppol invoice. The Access Point may offer a separate CSV upload, but that is provider-specific and still needs its own field mapping and validation.

IMDA IRSP requirementSumBook implementation status
Explicit business consent; requested SMP registration completed within 3 working daysExplicit owner consent and request are saved with an audit event; external participant registration and completion tracking are pending the AP adapter
Automated sending and receiving of BIS/PINT invoicesCanonical mapping and fail-closed validation scaffold; no AP adapter
Store and maintain customer/supplier Peppol IDsExisting party IDs supported; discovery and directory checks pending
Receive orders and convert orders to invoices retaining order informationAdapter contract planned; workflow not implemented
Send and receive invoice responsesAdapter contract planned; workflow not implemented
Activate/deactivate C5, extract and package invoice data, submit through APNot implemented: AP contract and IRAS/C5 pipeline pending
Store IRAS acknowledgement/status, report and reconcile; retain logs at least 5 years and provide access within 3 working daysNot implemented: durable submission ledger, report and retention policy pending
  • Onboard as a product provider: email einvoice@imda.gov.sg to register interest, submit IMDA’s application form, demonstrate mandatory features, work with the AP to create the IRSP sub-organisation in the Singapore SMP, then accept the Letter of Offer. Accreditation is version-specific and valid for one year. Resellers do not apply as primary IRSPs.
  • Advintek’s Singapore API guide is available and documents JWT login (email, password and routeKey), organisation setup, participant checks and invoice/credit-note submission. Advintek must still provision UAT and production base URLs, API credentials, route key, organisation setup and test accounts. Confirm whether Advintek is the accredited AP for this route or uses a named accredited AP partner.
  • Agree UEN/legal-entity matching, participant registration and explicit consent, Singapore Peppol ID allocation, CorpPass/KYC responsibilities, disconnect and provider-migration behavior, callback routing and data retention. The guide describes API organisation creation and participant discovery; it does not define SumBook’s registration consent or production provisioning. Never register a business before recording its explicit request.
  • Pin Singapore PINT SG v1.4.1 and the provider’s corresponding XSD, Schematron and supported code lists. Current mapping includes both buyer reference and purchase-order reference; the Advintek guide requires at least one. Preserve the chosen release in every adapter test fixture.
  • Map legal names, postal addresses and country codes, GST identifiers, endpoint IDs, document references, currencies, line quantities/unit codes, net prices, discounts, tax categories, GST and SGD tax-accounting totals. Advintek accepts provider-specific JSON and generates PINT SG UBL XML; validate the payload and generated final XML with the official rule pack before transmission.
  • Implement automated sending and receiving, order reception and conversion, invoice responses, credit notes, C5 activation/submission, IRAS acknowledgements, retries, webhook verification, idempotency and reconciliation. The supplied guide documents outbound invoice/credit-note requests and outbound status/XML retrieval, but it does not by itself verify inbound workflows, C5, webhooks or IRAS acknowledgements. Keep Peppol delivery and IRAS submission results distinct.
  • Test with provider sandbox accounts and IMDA demo accounts: valid and rejected documents, duplicate/late events, wrong-company routing, rounding, unsupported codes, expired credentials, outages, non-Peppol C5 data, large attachments and consent revocation. Keep live capabilities disabled until each mandatory flow passes.

The existing /api/invoicenow browser route is not a public access-point API. The /api/invoicenow/webhooks/{provider} scaffold does not currently accept provider events. Do not configure an access point to send live documents or callbacks until the adapter and end-to-end tests are complete.

MARKET FOUNDATION · PROVIDER CONNECTION PENDING

Malaysia e-Invoice and MyInvois

Country-aware SST and MYR groundwork is present; MyInvois submission still requires a tested provider adapter.

Malaysia permits taxpayers to integrate directly with MyInvois, use a Peppol service provider, or use a non-Peppol technology provider. These are different connection contracts. The current SumBook workspace can store Malaysia company/TIN/MSIC and SST setup, but it does not yet submit or retrieve MyInvois documents.

Malaysia file / payloadUse
MyInvois XMLUBL 2.1 invoice/credit-note document structure. Digital signature, canonicalization, hash and certificate handling are part of the integration, not optional CSV formatting.
MyInvois JSONUBL 2.1 JSON representation supported by MyInvois. The REST request uses JSON and carries document content, format, hash and supplier code number.
CSVNot a MyInvois API document format. Use only for SumBook internal import/export or an access-point bulk-import contract explicitly documented by that provider.
  • The MyInvois taxpayer API uses OAuth 2.0 client-credentials authentication. Cache access tokens for their lifetime; do not request a new token for every API call.
  • The Submit Documents API accepts XML or JSON document content, groups documents into an asynchronous submission, and returns a submission UID. Persist the SumBook document ID, provider submission UID and document UID separately, then poll Get Submission with bounded delays and reconcile final validation results.
  • Avoid duplicate retransmission. Treat accepted HTTP responses as an in-progress result until the final per-document validation status is known; preserve the original code number and submission references.
  • For a route through Advintek, obtain their written Malaysia product/API scope, base URLs for sandbox and production, request schemas, auth model, certificate/signing responsibility, callback or polling procedure, status mapping and error/retry rules. Their API may wrap or mediate MyInvois; do not substitute MyInvois endpoints or credentials for Advintek’s contract.
  • Map Malaysian seller and buyer TIN, registration identifier type/value (BRN or other allowed ID), full structured address, MSIC/classification where applicable, invoice line classification, UOM, tax type/rate/amount, totals and currency. Validate against the current MyInvois SDK code lists and document-version rules.

SumBook’s existing document and accounting CSV exports are not MyInvois submissions. The app does not yet generate a certified MyInvois XML/JSON payload, apply a Malaysian digital signature, connect to Advintek, or store live MyInvois acknowledgements. Keep sending disabled until the provider contract, signing model, required party fields and sandbox tests are complete.

DESIGN PREPARED · NOT A PUBLIC API

Inventory-system integration

Agree which system owns stock movements and which owns accounting before syncing.

AreaProposed data contractAccounting control
Product masterExternal product ID, SKU, description, unit, tax and account mappingStable IDs; no SKU-only tenant matching
Stock movementsMovement ID, warehouse, SKU, quantity, date and source referenceOne source of truth for quantity and costing
Sales & purchasingInvoice, bill, credit and purchase-order referencesA stock event must not duplicate an invoice posting
Costing & valuationCost layers, valuation date, currency and cost amountReconcile stock valuation to inventory control and cost of sales
Corrections & returnsOriginal movement reference and explicit reversalPreserve the audit trail; do not overwrite posted history

SumBook has an inventory module, but a supported external inventory REST API is not implemented. StockBook and other inventory products need a dedicated company-scoped connector. Do not automate the browser workspace-save endpoint or treat the MCP transaction tools as inventory posting tools.

  • Before implementation, agree SKU/UOM and warehouse mapping, opening balances, goods receipt and dispatch timing, returns, negative-stock policy and the system responsible for FIFO/costing.
  • Use immutable external IDs, deterministic idempotency keys, reconciliation totals and a quarantine queue for unknown products or accounts.
  • Proposed resources include products, stock-movements and valuation snapshots. These are design names, not callable API routes.
PEOPLEBOOK CONTRACT · IMPLEMENTED RECEIVER

Accounting & payroll

Transfer finalised payroll totals into the ledger without sending unnecessary staff data.

The PeopleBook receiver accepts an accrual journal: expense debits and payroll-liability credits. It records accounting entries, not a bank transfer, payslip or statutory submission. Source payroll calculations and finalisation remain the responsibility of the HR/payroll system.

json
{
  "schemaVersion": "peoplebook.journal.v1",
  "currency": "SGD",
  "status": "finalised",
  "externalReference": "PeopleBook:<company-id>:<unique-payrun-id>",
  "date": "2026-10-31",
  "description": "Payroll accrual — October 2026",
  "lines": [
    {"account": "<expense-account-code>", "debit": 100000, "credit": 0},
    {"account": "<payroll-liability-code>", "debit": 0, "credit": 100000}
  ]
}
  • Amounts in this payload are non-negative integer SGD cents: 100000 means SGD 1,000.00. Use 2–32 lines; each line has exactly one positive side, and debit/credit totals must balance.
  • Use eligible accounts returned by GET. Debits must be EXPENSE accounts; credits must be LIABILITY accounts. Trade payables and GST payable account codes 2000 and 2100 are excluded.
  • The reference must begin PeopleBook:<connected-company-id>: and be no longer than 160 characters. Reuse the same reference and identical payload on retries. An identical replay returns the existing journal; a changed payload returns 409.
  • Do not include employee names, bank details, identity numbers, salary breakdowns, GPS, selfies or biometric data. This contract needs aggregate accounting totals only.
  • This receiver stores up to 10,000 imported references per workspace. It is not a bulk payroll interface. Do not automatically create a new reference to work around a conflict or a connection limit.

Illustrative write payload only. Account placeholders must be mapped and payroll must actually be finalised. An external HRM or payroll product requires its own connector contract and permission model; the PeopleBook key is not a generic payroll credential.

DESIGN PREPARED · CONNECTOR REQUIRED

HRM-system integration

Keep employee operations in HRM and send approved accounting outcomes to SumBook.

  • Map the HRM organisation to one authorised SumBook workspace and UEN. Never route by employee email or a company name alone.
  • Agree supported outcomes: finalised payroll accruals, approved reimbursable claims and labour/project-cost summaries. Each needs an explicit event schema and release gate.
  • Use external run/claim IDs, accounting period, currency, effective date and account mappings. Define how corrections reverse the original entry and how closed periods are handled.
  • Avoid copying the employee directory, leave records, medical notes, identity numbers or attendance evidence into accounting when aggregate amounts are sufficient.
  • Agree who approves claims and payroll before export. Accounting sync must not silently change HR approval status or mark a staff payment as paid.

PeopleBook’s payroll receiver is documented separately. General employee, leave, attendance, claims and HRM synchronisation APIs are not exposed by SumBook today. Availability of a module in the app does not imply a public integration endpoint.

IMPLEMENTED · OWNER-CONTROLLED

AI & MCP

Connect compatible AI clients to the exact company and access mode authorised by the owner.

ConnectionEndpointSetup
Private-header MCP clienthttps://sumbook.wcreatesdigital.com/api/mcpSettings → AI connections → access key; Authorization: Bearer <key>

For the managed ChatGPT / Codex connection, open SumBook Settings → AI connections, generate a single-use linking code and link it with the installed SumBook connector. No manual server URL is needed for this flow.

Read tools include list_companies, get_accounts, list_contacts, list_documents, get_document and get_financial_summary. submit_transaction follows the owner’s access mode: Read only, Confirm before saving or Direct save. prepare_document_draft always requires confirmation. A pending transaction is not a posted ledger entry.

MCP is not a general REST API. Asset, inventory, payroll, refunds, arbitrary journals, deletion, email sending and statutory filing are excluded from the transaction tool. Third-party client compatibility depends on support for the transport and private headers; no universal client certification is implied.

OPERATIONS

Errors, retries & testing

Treat errors as accounting controls. Reconcile before replaying a write.

HTTP statusPeopleBook receiver meaningAction
400Malformed payload, invalid accounts/amounts, unbalanced journal or integration limitCorrect the source or mapping; preserve the reference
401Missing or malformed PeopleBook keyCheck Bearer format and the intended endpoint
403Expired/revoked connection, changed owner, or mismatched company/UENAsk the owner to review the connection
405Method not supportedUse GET, POST or DELETE only
409Different payload for an existing reference, or concurrent workspace changeReconcile; never generate a new payroll ID blindly
413POST text exceeds 20,000 charactersReduce payload; the journal is limited to 32 lines

Errors use {"error":"message"}. For a timeout or transient server failure, retry conservatively with the same externalReference and identical payload, then reconcile the returned journalId. Do not interpret an HTTP timeout as proof that nothing was posted. There is no published quota or 429 contract for this receiver yet; send sequentially, use bounded backoff and avoid polling loops.

  • In a dedicated test company, verify correct and wrong UEN/company headers, expired/revoked keys and isolated company data.
  • Test a balanced journal, invalid accounts, locked periods, invalid dates, negative/non-integer amounts, identical replay and changed-payload conflict.
  • Confirm that imported totals reconcile to the source run and accounting balances. Never test DELETE using a connection you intend to keep.
  • For access-point adapters, add signature, duplicate-event, exact routing, status ordering and acknowledgement tests before enabling callbacks.
  • There is no general outbound webhook subscription service today. Future webhooks must add signed events, delivery IDs, replay protection, retries, logs and reconciliation polling before release.
PREPARATION CHECKLIST

Integration readiness & next steps

Use this checklist to scope a partner implementation without confusing a proposal with an available API.

WorkstreamRequired before release
General REST APIVersioned /api/v1 contract, company-scoped hashed keys or OAuth, least-privilege scopes, revocation and audit logs
Data accessStable IDs, pagination, explicit tenant context, supported filters and data-minimisation rules
WritesInput validation, stable idempotency, transaction/concurrency handling, reversals and period locks
WebhooksSigned events, exact tenant routing, replay protection, retries and delivery logs
OperationsTest company/sandbox policy, quotas, monitoring, change log and deprecation policy
Access-point launchProvider specifications/credentials, participant onboarding, current rulesets and end-to-end acceptance tests

For a partner scoping discussion, prepare your product name, integration direction, organisation/UEN mapping, required resources, volume, authentication model, callback specification and sandbox access. Share credentials only through an agreed secure channel. A public API for a new partner must be implemented and tested before any production records are exchanged.

SumBook developer reference · Reviewed 19 October 2026Open API specification