All articles
POS & Billing7 min read

Connecting SUMIT (סאמיט) to AI and Automations via Its API

SUMIT — the Israeli invoicing, billing and CRM platform formerly known as חשבונית ירוקה — has a genuinely usable REST API. That means you can connect it to AI and automations without leaving the system or migrating your books. Here's how it actually works, and where a developer earns their fee.

If you run your invoicing, payments and customer data in SUMIT, you don't need a new platform to add AI — you need a thin, reliable layer between SUMIT and the tools you want to plug in. The good news: SUMIT exposes a documented REST API (with a Swagger reference and a dedicated test organization), so almost everything you do by hand in the dashboard can also be done by code. That's the foundation every automation sits on.

How SUMIT's API actually works

SUMIT's API is REST over HTTPS: you send JSON POST requests to endpoints grouped by module — Accounting/Income for documents (invoices, receipts, invoice-receipts), Billing for credit-card charging and recurring payments, and Website/CRM for customers and products. Authentication is not OAuth gymnastics; you pass a Credentials object containing your CompanyID and an APIKey you generate in the account settings. Keep that key server-side — it can issue real tax documents and charge real cards.

  • Issue documents: create invoices, receipts and invoice-receipts programmatically and get back a PDF link and document ID.
  • Charge and tokenize: run one-off or recurring credit-card charges and store payment tokens for future billing.
  • Manage CRM data: create and update customers and products, and pull lists for reconciliation or reporting.
  • React to events: SUMIT can call your server back (callback/IPN) when a payment or document event happens, so you don't have to poll.
Treat the API key like a credit card terminal, because that's effectively what it is. It belongs on your server, never in a browser or a no-code step that logs payloads.

What you can actually build with AI on top

  1. Auto-invoicing from messages: a customer confirms an order over WhatsApp or email, an AI model extracts the line items and amount, and your code issues the matching SUMIT invoice-receipt and sends back the PDF — no manual typing.
  2. Smart reconciliation: pull SUMIT documents and match them against bank or payment-gateway records, with AI flagging the mismatches a rule-based script would miss (typos, partial payments, duplicate charges).
  3. Dunning that sounds human: detect overdue or failed recurring charges via the callback, then have AI draft a polite, context-aware reminder in Hebrew or English before re-attempting the charge.
  4. A business-data chatbot: let staff (or you) ask 'how much did client X invoice this quarter?' and have an AI agent answer from live SUMIT data instead of exporting spreadsheets.
  5. Lead-to-customer handoff: when a lead converts, AI summarizes the deal and your code creates the SUMIT customer and first document in one step.

No-code vs. custom code — the honest tradeoff

For a low-volume flow — say, creating a customer in SUMIT when a form is submitted — a no-code tool like Make or Zapier calling the API directly is perfectly reasonable, and I'll happily tell you to do that. Custom code becomes worth it when the stakes rise: high charge volume where rate limits and retries matter, payment data and API keys that must never pass through a third-party platform, AI logic too nuanced for a visual flow, or callbacks/webhooks that need real error handling so a failed charge never silently disappears. That's the difference between an automation that demos well and one you can actually run your business on.

Where these projects go wrong

The AI is rarely the hard part — those models are excellent and cheap now. The risk lives in the plumbing: an expired or leaked API key, a charge that succeeds in SUMIT but fails to record in your system (or vice versa), a callback you didn't handle so a customer never gets their receipt, or a malformed amount that issues a wrong tax document. Issuing fiscal documents and moving money demands idempotency, logging and careful edge-case handling. That's ordinary, unglamorous engineering — and exactly what protects you when something inevitably misbehaves at 2am.

If you're looking to connect SUMIT to AI and automations and want it done properly — API key handled safely, charges and documents reconciled, callbacks that never drop a payment — that's precisely the kind of integration I build for Israeli businesses. I'll work directly against the SUMIT API, test against the sandbox organization first, and hand you something reliable end to end. If that's what you need, reach out via the contact section below and tell me what you're running today.

Looking for a developer to connect your systems to AI?

I'm Ariel Gelberg — a senior software engineer and technical partner. I build the integrations and automations that connect your business to AI, end to end.

Let's talk