Skip to Content
StarsellDocs
Apps

Morning

A tax invoice receipt or a receipt in Morning (Green Invoice) for every paid order, a credit invoice for full refunds, retries when Morning fails, and the document on the order and in webhooks.

The Morning app makes a document in Morning (formerly Green Invoice) for every paid order: a tax invoice receipt (חשבונית מס קבלה) for a licensed dealer, or a receipt (קבלה) for an exempt dealer. Morning numbers and signs it, and can email it to the buyer. A full refund of a tax invoice receipt gets a credit invoice (חשבונית זיכוי).

Set it up

Make an API key in Morning

In Morning: Settings, Developer tools, API keys. A key has an ID and a secret; the secret is shown once. API access needs a Morning plan that includes it. For tests, Morning's sandbox has its own account and keys.

Save the account in Connections

Organization settings > Connections, Connect an account, Morning. Fill in API key ID and API secret, turn on Sandbox for sandbox keys, and click Save and check. Starsell asks Morning for an access token with the key: "Morning accepted the key." or why it didn't. Owners and admins do this once for the organization; the secret is stored encrypted.

Install and connect

In the store: Apps, Morning, Install. Under Connect, pick the account and click Use this account.

Pick the document

Under Settings:

SettingChoices
Document for paid ordersTax invoice receipt (the default) or Receipt
Document languageHebrew (the default) or English
Email the document to the buyerOn by default: Morning sends its link to the email on the order
Orders without VAT at checkoutPrices include VAT (the default) or VAT free (abroad or exempt)

Save, even if the defaults are right: saving ticks Pick the document type.

First invoice made ticks itself when Morning makes the store's first document.

What a document holds

  • Client: the buyer's name, email (when emailing is on), phone and address from the order. The buyer isn't added to Morning's client list.
  • Rows: one per item after its discount, then shipping, a payment method's fee and the tip. A line whose discounted total doesn't split evenly over its units becomes one row, "Silk scarf × 3".
  • VAT: every row's price includes VAT, so the document's total is exactly what the buyer paid. VAT that checkout added on top of the prices is spread over the rows. The tip is outside VAT. When checkout added no VAT, Orders without VAT at checkout decides between VAT included and VAT free.
  • Payment: card (credit card, one payment), cash on delivery (cash), bank transfer, or the store's own manual methods (recorded as bank transfer). Store credit gets its own payment row, as a voucher.
  • Currency: the order's. For an order in another currency on a shekel store, the rate to shekels from the order goes with it.
  • Date: the day the order was paid, in Israel.
  • Description: "הזמנה #1042" or "Order #1042".

On the order

The order's Tax invoice step shows the document, for example "Tax invoice receipt 40034 made in Morning, emailed to [email protected]", with Open the document for Morning's copy. The same line is in the order's activity.

Webhooks, store events and the store API's order carry the documents too:

"documents": [
  {
    "provider": "morning",
    "kind": "invoice_receipt",
    "number": "40034",
    "url": "https://...",
    "test": false,
    "created_at": "2026-11-27T10:00:05.000Z"
  }
]

kind is invoice_receipt, receipt or credit_invoice; test is true for a sandbox account.

Refunds

When an order is refunded in full, a tax invoice receipt gets a credit invoice that cancels it, with the same rows. If the sale's document is still waiting, the credit waits for it. Partial refunds make no document: make one in Morning when you need it.

A receipt has no credit invoice. The order says "Receipt 40034 is not cancelled automatically: cancel it in Morning."

When Morning fails

Documents are made in the background, a few seconds after the payment. If Morning doesn't answer or says no, Starsell tries again after 1, 5 and 15 minutes, then 1, 3 and 12 hours. An answer that won't change by waiting (a refused key, data Morning rejects) stops at once.

  • The order's activity says what went wrong, on the first failure and when Starsell stops trying.
  • The app's page lists Waiting and failed documents with Morning's message. Retry tries one again now; Retry all failed does them all. Picking another account under Connect retries the failed ones too.

An order never gets two documents of the same kind. When a try got no answer at all, the next one first looks in Morning for a document with the order's description and total, and keeps that one instead of making another.

Test orders

Test orders (no card charged) get documents only on a Sandbox account. On a live account the order says "Test order: no Morning document on a live account."

Uninstall

Uninstalling stops new documents and clears the waiting ones. The Morning account stays in Connections for other stores; this store stops using it for tax invoices. Documents already made stay in Morning and on the orders.

On this page