Automatic receipts and invoices for online orders: how to set them up
In short: To issue receipts automatically for online orders, connect your website's checkout to an invoicing service through its API, so that every confirmed payment creates one numbered document that is emailed to the customer. In Israel the document depends on your tax status: an osek patur issues a receipt, an osek murshe a tax invoice-receipt; services such as Morning (Green Invoice), iCount and EZcount can issue both. Test the whole flow in a test account before you take real payments.
Why does every online payment need a receipt or invoice?
A document per payment is how you, your accountant and the tax authority match the money in your bank account to real sales. In Israel, a business must document every payment it receives, and online payments are no exception. Customers also expect one: they need it for their own expenses, for warranty claims and for returns.
In the United States there is no single federal rule that every sale needs a receipt, but you still have to keep records that support your income, and customers expect an emailed receipt after paying online. Payment companies such as Stripe and PayPal can email a basic payment receipt; a business that needs numbered invoices usually adds accounting or invoicing software.
Doing this by hand works for a few orders a week. After that, documents get forgotten, numbers are skipped and the books stop matching the bank. Automation makes the document part of the payment itself.
What is the difference between a receipt, a tax invoice and an invoice-receipt?
The names differ by country, but the idea is the same: an invoice says what was sold and for how much, a receipt says the money was received. When the customer pays at the moment of purchase, as in an online store, one combined document often covers both.
In Israel the choice follows your registration with the Tax Authority. An osek patur (exempt dealer) does not charge VAT and issues a receipt (kabala). An osek murshe (licensed dealer) charges VAT and issues a tax invoice (cheshbonit mas); for an online sale paid on the spot, the usual document is a tax invoice-receipt (cheshbonit mas kabala). Ask your accountant which applies to you, and check whether business customers above a certain amount need an allocation number from the Tax Authority on their tax invoice; the threshold has been lowered in steps, so check the current amount.
| Document | Who issues it | When | Shows VAT |
|---|---|---|---|
| Receipt (kabala) | Osek patur, or any business confirming a payment | When money is received | No |
| Tax invoice (cheshbonit mas) | Osek murshe | When the sale or service happens | Yes |
| Tax invoice-receipt (cheshbonit mas kabala) | Osek murshe | Sale and payment at the same time, typical online | Yes |
| Credit document (cheshbonit zikui) | Osek murshe | After a refund or a cancelled sale | Yes |
| Invoice or receipt (US) | Any business | Invoice before payment, receipt after | Sales tax where it applies |
Which invoicing services can issue documents automatically?
Israeli businesses mostly use an online invoicing service approved for issuing digital documents. Morning (formerly Green Invoice), iCount and EZcount all offer an API, which is what lets a website or store create documents without you. Their plans and prices change, so compare them on their own sites as of December 2026, and check that API access is included in the plan you pick.
In the US, small businesses often rely on the receipt email from Stripe, Square or PayPal, and use QuickBooks, Xero or similar software when they need numbered invoices and bookkeeping.
| What to check | Why it matters |
|---|---|
| API access on your plan | Without it, nothing can be issued automatically |
| A test (sandbox) environment | You can try the whole flow without creating real tax documents |
| Document types you need | Receipt for osek patur, tax invoice-receipt for osek murshe |
| Email to the customer | The service sends the document so you don't have to |
| Language and currency | English documents and foreign currencies for customers abroad |
| Protection against duplicates | A retry after a network error must not create a second document |
How does automatic issuing work behind the scenes?
The safe order is: the customer pays on the payment company's page, your system confirms with the payment company that the money really arrived, and only then asks the invoicing service for a document. The request includes the customer's name and email, what was bought, the amount, the currency and how it was paid. The service returns a document number and a link, and emails the document to the customer.
Most problems happen at the edges. If the invoicing service is down for a minute, the document must be retried later rather than lost. If the same payment is reported twice, it must still produce one document. And a test payment must never create a real tax document, or your numbering and books will be wrong.
How do I set it up and test it?
Plan an hour for this, and do it before your first real sale.
- Confirm with your accountant which document you issue (receipt or tax invoice-receipt) and whether prices include VAT
- Open an account at the invoicing service and fill in your business details, logo and numbering
- Create an API key in the service's settings, usually under a developer or API section, and paste it into your store's invoicing settings
- If the service has a test environment, connect that first and run a test payment from start to finish
- Check the test document: your business details, the customer's name, the item, the amount, VAT and the email the customer received
- Switch to the live account and make one small real purchase yourself, then cancel or refund it the way your accountant prefers
- Decide who handles refunds: a refund usually needs a credit document or a cancellation in the invoicing service, which you may have to issue yourself
How does HaiPip issue receipts for orders and bookings?
In HaiPip, you connect your own Morning (Green Invoice), iCount or EZcount account once, and say whether you are a licensed business or an exempt one. After that, every paid store order, paid booking and paid payment link gets one document: a tax invoice-receipt for a licensed business, a receipt for an exempt one. The invoicing service emails it to the customer when the customer left an email address.
An order counts as paid only after HaiPip checks the payment with your payment company itself. Each payment gets one document, even if the payment is reported twice. If the invoicing service is unavailable, HaiPip tries again a few times and then shows the failure in your dashboard so you can issue it by hand. Morning and EZcount can be connected in test mode first; test payments never create real tax documents. Your API keys are stored encrypted and are never shown again after you save them. Refunds and credit documents stay in your invoicing service.
What are the most common mistakes with automatic receipts?
These are the problems accountants see most often when a store starts issuing documents on its own.
- Issuing a tax invoice as an osek patur, or a plain receipt as an osek murshe
- Testing with real payments in the live invoicing account, which leaves real documents to cancel
- Issuing the document when the order is placed instead of when the payment is confirmed
- Forgetting refunds: the document stays valid until you issue a credit document or cancel it
- Letting the API key expire or be deleted without noticing that documents stopped
- Not checking the first few documents by hand after launch
Questions and answers
Does an osek patur need to issue a receipt for online sales?
Yes. An osek patur documents every payment with a receipt (kabala). It does not issue tax invoices and does not add VAT. Your accountant can confirm the details for your business.
What is a tax invoice-receipt?
A tax invoice-receipt (cheshbonit mas kabala) is one Israeli document that serves as both a tax invoice and a receipt. An osek murshe uses it when the sale and the payment happen at the same time, as in most online orders.
Can my website issue invoices automatically?
Yes, if your store or booking system connects to an invoicing service through its API. Morning, iCount and EZcount in Israel, and accounting software such as QuickBooks or Xero in the US, all support this in some form; check which plan includes API access.
Do I need to send a receipt for every online order in the US?
There is no single federal rule requiring it, but you must keep records of your income, and customers expect a receipt. Stripe and PayPal can email one automatically; add invoicing software if you need numbered invoices.
What happens to the receipt when I refund an order?
The original document stays. You record the refund with a credit document or a cancellation in your invoicing service, as your accountant prefers. Most store integrations, including HaiPip's, leave this step to you.
Does HaiPip issue receipts for bookings too?
Yes. When a customer pays online for a booking, a payment link or a store order, HaiPip issues one document through your connected Morning, iCount or EZcount account.
More guides
How to build a website for a small business (2026)
A plain, step-by-step guide to building a small business website in 2026: the pages you need, a domain and SSL, Google, AI assistants and launch.
How to choose an AI website builder: what to check
A neutral checklist for choosing an AI website builder: crawlable HTML, speed, your own domain, SEO and AI search, languages, editing, data ownership and price.
How to move a website without losing Google rankings
Moving from Wix, WordPress, Squarespace or another builder? Map every old URL, use 301 redirects, keep your content, submit a sitemap and watch for 404 errors.
How to get your business recommended by ChatGPT and AI assistants
How a small business gets recommended by ChatGPT, Claude, Perplexity and Gemini: answers, structured data, consistent details, listings, reviews and access.
HaiPip vs Wix: an honest comparison for small businesses (2026)
Looking for a Wix alternative? A fair, dated comparison of HaiPip and Wix: how you build, Hebrew, SEO and AI search, payments, invoices, CRM and moving.
HaiPip vs Base44: websites, CRMs and apps compared (2026)
Looking for a Base44 alternative? A fair, dated comparison: what each is built for, Google and AI search, Hebrew, Israeli payments, CRM, domains and moving.
The best AI website builder in Hebrew? How to choose (2026)
Which AI website builder works best in Hebrew? Six tests for right-to-left layout, Hebrew text, Google, AI assistants, Israeli payments, invoices and accessibility.
How to build a CRM with AI, without code (2026)
Build a simple CRM for a small business by describing it to AI: clients, leads, appointments and payments, with automations, a team and your website's forms.
How to accept payments on your website: a plain guide for small businesses
How a small business accepts card payments on its website: payment providers vs merchant accounts, what they ask for, PCI, fees, refunds and chargebacks.
Online appointment scheduling for small businesses: what it must do
What online appointment scheduling software must do for a small business: availability, buffers, time zones, reminders, deposits, cancellations and Google.
What is vibe coding? Where it works and where it fails for a business
What vibe coding is, which tools people use for it, where it shines, and where it fails for a business website: security, upkeep, SEO and ownership.
How to get your small business on Google: a do-it-yourself guide
A practical DIY guide to getting a small business on Google: Business Profile, Search Console, titles, local pages, reviews, speed and structured data.
Best AI website builders in 2026
The best AI website builders in 2026, ranked for small businesses: prices checked in December 2026, free plans, what each is best for and when to pick another.
Base44 vs Lovable (2026): which AI builder fits you
Base44 vs Lovable compared fairly: prices and free plans checked in December 2026, publishing, code export, backend, and when each one is the better choice.
Lovable alternatives in 2026
Looking for a Lovable alternative? Six options ranked by what you are building, with prices and free plans checked in December 2026 and when to stay with Lovable.
Free AI website builders: what you really get for free (2026)
Which AI website builders are really free? Free plans checked in December 2026: which ones go live, on whose address, with what branding, and what a domain costs.
Shopify alternatives for small businesses (2026)
Shopify alternatives for a small shop, compared fairly: plan prices and fees on sales checked in December 2026, and when Shopify is still the better choice.