OCTOBER 11, 2026

Israel Invoice Allocation Number API: How to Integrate It

Israel invoice allocation number API explained: the NIS 5,000 threshold, OAuth setup, 90-day tokens, refusals, outages and what to do with an older ERP.

Omer Shalom

Posted By Omer Shalom

9 Minutes read


Since June 1, 2026, a tax invoice between businesses needs an allocation number from the Israel Tax Authority whenever its amount before VAT is above NIS 5,000. Without that number the buyer cannot deduct the input VAT, so business customers send such invoices back. If invoices come out of an ERP, a billing engine or your own code, the number has to be requested through the Tax Authority's API, and most of the work lies in handling refusals, outages and expired authorizations without holding up sales. The current threshold is listed on the Tax Authority's service page.

This guide is written for finance managers, controllers and the developers who maintain billing systems. Accounting firms that issue invoices for clients face the same questions at a larger scale; software and AI for accounting firms covers that side.

What changed in 2025 and 2026?

The model, known as Israel Invoices (חשבוניות ישראל), started in May 2024 with a threshold of NIS 25,000. It fell to NIS 20,000 in 2025, to NIS 10,000 on January 1, 2026 and to NIS 5,000 on June 1, 2026, always measured before VAT. The two 2026 steps were set in a regulation the Tax Authority published on December 7, 2025, as summarized by KPMG and by Herzog Fox & Neeman.

Two practical effects follow. Far more invoices are now in scope: at NIS 5,000, an ordinary monthly retainer, a small equipment order or a single consulting day can cross the line. And the Tax Authority no longer approves every request automatically. Since 2025 each request has been checked against criteria meant to confirm a real transaction, as Morning's compliance page explains, and an irregular request can be refused.

Which invoices are in scope?

Which invoices need an allocation number?

The requirement applies to tax invoices (חשבונית מס) and tax invoice-receipts above the threshold. A transaction invoice (חשבון עסקה) does not need one. The test is the amount before VAT: an invoice of NIS 4,900 plus VAT needs no number even though the total with VAT is above NIS 5,000, per the same Morning guide. Exempt dealers (עוסק פטור) do not issue tax invoices, so the requirement does not reach them.

Do invoices to private customers need an allocation number?

The number exists so that a VAT-registered buyer can deduct input tax. A private consumer deducts nothing, so in practice the obligation concerns invoices to licensed dealers, companies and partnerships. The billing system still has to know who the buyer is. The request carries the buyer's company or dealer number, and a request made after the fact only works if that number appears on the original invoice.

How does the allocation number API work?

There is a one-time setup and then one call per invoice.

  1. An authorized officer registers the business for the Tax Authority's digital services. Companies and partnerships first register as a corporation.
  2. On the Tax Authority developer portal, the business creates an Organization and an App. The App issues an API key and a secret.
  3. The App is subscribed to the Invoice Approval API product, as described in Sovos's Israel implementation guide.
  4. The billing system authenticates with OAuth 2.0 and stores an access token and a refresh token.
  5. When an invoice is issued, the system sends its details and receives either an allocation number, which is printed on the document, or a refusal with a reason.

Two details catch teams out. The refresh token expires 90 days after it is issued, so an integration that worked on launch day stops working quietly three months later unless something renews it. And a number cannot be reserved in advance. It is requested for an issued invoice, never for a draft or a price quote.

How long does the API authorization last?

About three months. Sovos documents a 90-day refresh token, and Morning tells its users that the Tax Authority connection has to be renewed every three months, with a reminder ten days before it expires. A scheduled renewal job, plus an alert to a named person in finance, prevents the most common silent failure.

Let's Talk About Your Project

Where do allocation integrations break?

Few failures happen in the API call itself. Most happen around it.

FailureWhat finance seesFix in the system
Expired refresh tokenEvery request fails from one day to the nextScheduled renewal and an alert ten days ahead
Timeouts or rate limitsInvoices stuck as pendingQueue requests and retry with backoff; Sovos advises waiting at least 60 seconds after a 408 or 429 response
Refused requestNo number, so the customer cannot deduct VATRoute to a named person with the reason code; a refusal opens a review and hearing
Duplicate request after a retryTwo numbers for one invoiceKey every request to the internal invoice ID so a retry returns the existing result
Missing customer IDNo number can be requested at allMake the buyer's company or dealer number mandatory for business customers
Old ERP versionNo allocation support, or support that stops being approvedUpgrade, or route requests through a separate service

The rule that matters most: never mark a qualifying invoice as final and sent until it carries a number, and never let one stuck request block the other invoices in the queue.

What if an invoice was issued without a number?

Do not cancel it by reflex. Invoicing vendors document a route for requesting a number after the invoice was issued, and the Tax Authority also accepts a manual request on its site. Vendors quote different time limits for this, so confirm the current window with the Tax Authority before building a process around it.

What happens when the Tax Authority refuses a number?

The Authority reviews requests in real time and can refuse irregular ones, and a refusal leads to a formal hearing and review, according to KPMG's summary of the regulation. In the system, a refusal should open a task for a named person with the reason, the invoice and the customer. It should never trigger an automatic second attempt.

Built into the ERP, or a separate integration?

SituationTypical routeWatch out for
Cloud accounting or invoicing softwareBuilt-in connection, switched on per businessSomeone has to renew the authorization; decide who
Priority ERPBuilt in on supported versionsVersion, application server and Priority Connect setup
SAP or another international ERPLocal add-on or partner moduleWho updates it when the Tax Authority changes the specification
Home-grown billing, marketplace or SaaS backendA dedicated allocation service inside the codebaseRetries, duplicate prevention, audit log, token renewal

Priority, for example, tells on-premise customers on version 21.1 or older that they must upgrade, and states that versions 22.0 and 22.1 are no longer approved from 31/03/26, in its regulation FAQ. Companies still on an older Priority installation usually meet the allocation question together with other integration work, and connecting Priority ERP to modern services covers that wider picture.

For custom billing, the clean design is one internal allocation service that every invoicing path calls: the web store, the subscription engine and the manual invoice screen. One component handles tokens, retries and logging, and when the Tax Authority changes its specification only that component changes. Whether to keep patching an old billing system or replace it is a version of the build vs buy decision, and very old stacks may justify a broader modernization plan.

Worked example: what manual handling costs in hours

An illustrative distributor, with the assumptions stated so you can swap in your own:

  • 300 invoices a month above the threshold.
  • Requesting each number by hand on the Tax Authority site takes about 3 minutes, including copying it back into the invoice.
  • 5 invoices a month come back from customers because the number is missing or wrong, and each takes about 30 minutes to sort out and reissue.

Manual requests come to about 15 hours a month and rework adds about 2.5 hours, so close to 18 hours of finance time every month before anyone deals with refusals. An API integration removes most of that, along with the risk of sending an invoice the customer cannot use. If those 300 invoices still pass through spreadsheets on their way to the ERP, the allocation project is a good moment to replace the spreadsheet with a system.

Go-live checklist

  1. List every place that issues tax invoices, including manual invoices and credit notes.
  2. Confirm that the buyer's company or dealer number is stored for every business customer.
  3. Register for digital services and decide which employee holds the authorization.
  4. Keep the API key, secret and tokens in a secrets manager, not in code or a spreadsheet.
  5. Run token renewal as a scheduled job with an alert.
  6. Make requests idempotent, and log each request, response and error code against the invoice ID.
  7. Decide who handles refusals and how quickly.
  8. On the purchasing side, check incoming supplier invoices for a valid number before claiming input VAT; the Tax Authority offers a supplier invoice verification service for this.

A short written specification of these points, before anyone writes code, prevents most of the back-and-forth later; this guide to software specifications shows what to include. For accounting practices the requirement is one more reason to look at automation in accounting firms. If an existing invoicing flow needs the allocation step added, a short technical consultation is usually enough to scope the work.

More articles that may interest you

Tell us what you need

One of our engineers will get back to you within 24 hours.