Israeli price quote generator

From squadcodercom/squadcoder · View interactive version

Israeli price quote generator is an AI agent skill from the GitHub repository squadcodercom/squadcoder. Generate compliant Hebrew price quotes (hatzaat mechir / הצעת מחיר) for Israeli freelancers and small businesses. Use when user asks to create a price quote, quote a client, build a pre-sale proposal with VAT, send a hatzaat mechir, or draft a הצעת מחיר. Covers 18% VAT math (or VAT-exempt for oseik

How to use this skill

Skill file

Israeli Price Quote Generator

Problem

Israeli freelancers and small businesses send price quotes (הצעת מחיר) every week, but most copy an old quote and edit it: the validity date stays stale, the VAT rate stays at 17% three years after the increase, and the payment terms clause silently waives the protections of חוק מוסר תשלומים. A quote that looks fine on the surface costs the freelancer real money when the client pays in 90 days or argues over the VAT line two months later. This skill builds the quote from current data, the right VAT, the right oseik patur header, the legally-correct payment-terms clause, and an explicit validity date, so the freelancer's hand is strong before the work starts.

Instructions

Step 1: Identify the issuer's oseik status

Ask the user (or read from prior session memory) whether they are:

The oseik status drives whether the quote shows a VAT line, what the issuer header says, and what the issuer can label the future invoice.

Step 2: Collect the line items

For each line item, get:

Compute:

line_total = quantity × unit_price − discount
subtotal = sum(line_totals)
vat = subtotal × 0.18    # ONLY if issuer is oseik morshe or chevra
total = subtotal + vat

Round VAT and total to two decimals (agorot). Israeli convention is two-decimal display, not whole shekel.

Step 3: Set the validity period

Default to 14 days from issue date for project work, 30 days for product sales or longer-cycle B2B. Never leave the validity field blank, an open-ended quote that's accepted months later may still bind the issuer to outdated pricing: under section 8 of חוק החוזים (חלק כללי), התשל"ג-1973 (Contracts Law (General Part), 5733-1973), an offer with no stated validity must be accepted "within a reasonable time", and what counts as reasonable is decided after the fact by a court.

The quote must show: "תוקף ההצעה עד {date}" / "Quote valid until {date}".

Step 4: Set the payment terms clause

The legal anchor is חוק מוסר תשלומים לספקים, התשע"ז-2017 (Late Payment to Suppliers Law, 5777-2017). It caps how long a payer can delay paying a supplier:

| Payer | Statutory cap (per the law) | What it means in days |

|---|---|---|

| State authority (section 3(a)) | 45 days from invoice submission | up to ~45 days |

| Local authority (section 3(f)) | 45 days from month-end (80 for construction) | up to ~75 days |

| Business-to-business (section 3(g)) | 45 days from month-end ("shotef + 45") | up to ~75 days |

Critical terminology: "shotef + N" means end of the invoice's calendar month + N days, NOT N days from the invoice date. An invoice dated 5 March under shotef + 30 is due by 30 April, about 56 days post-invoice in the worst case. This is the #1 thing Israeli freelancers get wrong when copying the American "Net 30" wording.

Default the quote to "shotef + 30" as a freelancer-friendly term (better cash flow than the legal max of shotef + 45). Sections 4 and 4(a) of the law add statutory interest (per חוק פסיקת ריבית והצמדה, התשכ"א-1961) on amounts paid past the cap. Any contract clause that imposes longer than the statutory cap on a small-business supplier is void by force of the law, but you still want the clause IN the quote so the client doesn't propose worse later.

Suggested clause text (Hebrew):

תנאי תשלום: שוטף + 30 ימים מהנפקת החשבונית. חוק מוסר תשלומים לספקים, התשע"ז-2017 קובע תקרה חוקית של שוטף + 45 לעסקה בין עסקים. עיכוב מעבר לתקרה החוקית נושא ריבית פיגורים לפי חוק פסיקת ריבית והצמדה, התשכ"א-1961.

Important nuance on the late-interest clause: Sections 4 and 4(a) of the Late Payment Law trigger statutory interest from the day the statutory cap is breached (shotef + 45 for B2B), not from the day the contractual term in your quote is breached (shotef + 30). The contractual shotef + 30 is a payment expectation; the legal late-interest clock starts at shotef + 45. Don't draft a clause that promises interest "from day 31" because a court will not enforce that.

If the user picks something longer than the legal cap for their tier (e.g., shotef + 60 for an SMB-to-SMB quote), warn them: their client cannot legally enforce that term, but more importantly, accepting longer-than-cap terms can signal weakness.

Step 5: Build the header

| Issuer type | Header label | Required fields |

|---|---|---|

| Oseik morshe | "הצעת מחיר" + "עוסק מורשה" + 9-digit מספר עוסק | name, address, phone, email, oseik number |

| Oseik patur | "הצעת מחיר" + "עוסק פטור" + 9-digit מספר עוסק (usually the freelancer's תעודת זהות) | name, address, phone, email, oseik number |

| Chevra | "הצעת מחיר" + "חברה בע"מ" + 9-digit מספר חברה | name, address, phone, email, company number, optionally CEO name |

Oseik patur clarifier (optional but useful): adding "פטור ממע"מ" or the older phrasing "אינו רשום כעוסק מורשה" alongside the "עוסק פטור" label tells the client up front that they will not receive a tax invoice. The Tax Authority required label is just "עוסק פטור" + number; the clarifier is admin practice, not a regulatory mandate.

Step 6: Optional clauses (use sparingly)

Don't dump all four onto every quote. Pick what's load-bearing for the specific deal.

Step 7: Payment-method footer

Israeli SMB clients overwhelmingly expect at least one of:

Avoid asking for a wire transfer (SWIFT) from an Israeli client, it's slow and they'll resist.

Step 8: Emit the document

Default output is markdown (easy to paste into email, convert to PDF in Pages/Word, or render in a markdown-to-PDF tool). When the user wants a printable file, emit HTML with dir="rtl" on the body and inline CSS that prints to A4. See scripts/quote_builder.py for a working example.

After acceptance

Once the client accepts the quote (in writing, email reply is enough under contract law), the next step is the actual tax invoice. Use the green-invoice skill to issue a חשבונית מס (oseik morshe) or חשבונית עסקה / קבלה (oseik patur) via the Green Invoice / Morning API. The price quote itself is NOT a tax event, no VAT is reported, no entry in the books, but a written acceptance creates a binding contract under Contracts Law section 1 (offer + acceptance) and section 5 (acceptance via notice to the offeror).

Examples

Example 1: Hourly consulting quote (oseik morshe)

Input:

Expected output (markdown excerpt):

# הצעת מחיר 2026-042

**יעל כהן** | עוסק מורשה 311234567
טלפון 050-1234567 | אימייל yael@example.co.il
תל אביב

**לכבוד:** Rishon Tech Ltd (מספר חברה 514567890)
**תאריך הוצאה:** 19 במאי 2026
**תוקף ההצעה עד:** 2 ביוני 2026

| פריט | כמות | מחיר יחידה | סה"כ |
|---|---|---|---|
| ייעוץ אסטרטגי | 20 שעות | 450 ₪ | 9,000 ₪ |

**סה"כ לפני מע"מ:** 9,000 ₪
**מע"מ 18%:** 1,620 ₪
**סה"כ לתשלום:** 10,620 ₪

**תנאי תשלום:** שוטף + 30 ימים מהנפקת החשבונית, בהתאם לחוק מוסר תשלומים לספקים, התשע"ז-2017.

**אמצעי תשלום:** Bit 050-1234567 או העברה בנקאית: בנק לאומי (10), סניף 800, חשבון 12345/67.

Example 2: Fixed-scope project quote (oseik patur)

Input:

Expected header difference:

**דניאל לוי** | עוסק פטור 029876543, אינו רשום כעוסק מורשה

Total stays at 4,500 ₪ (no VAT line). Footer adds: "לאחר אישור ההצעה תופק חשבונית עסקה, ועם קבלת התשלום, קבלה. אינני רשום כעוסק מורשה ואינני חייב מע"מ."

Example 3: Hebrew + English bilingual (export client)

For an Israeli SaaS selling to a US customer, emit two columns: Hebrew on the right (RTL block), English on the left (LTR block). Currency is USD with the bank-of-Israel FX clause from Step 6. VAT is 0% if the customer is outside Israel (export of services is zero-rated under VAT Law section 30(a)(5)), but the issuer is still oseik morshe, note "VAT 0% (export of services per VAT Law §30(a)(5))" on the line.

Bundled Resources

references/

scripts/

Recommended MCP Servers

No MCP server is required to draft a quote. After acceptance, the natural next step is to issue the actual invoice via the green-invoice skill (Green Invoice / Morning API). Optionally, the boi-economic-data MCP can supply the daily שער יציג for the FX clause in Step 6.

Reference Links

| Source | URL | What to Check |

|---|---|---|

| Late Payment to Suppliers Law text | https://www.nevo.co.il/law_html/law00/144599.htm | Current payer tiers, payment caps, late-interest reference |

| Late Payment Law plain summary (Kol-Zchut) | https://www.kolzchut.org.il/he/המועד_האחרון_לתשלום_תמורה_לספקים_עבור_סחורה_או_שירות | Plain-language summary of the three payer tiers |

| Israeli VAT rate (PwC tax summary) | https://taxsummaries.pwc.com/israel/corporate/other-taxes | Current VAT rate (18% since 2025-01-01) |

| Oseik patur threshold (Kol-Zchut) | https://www.kolzchut.org.il/he/עוסק_פטור | Annual ceiling and reporting rules |

| Contracts Law (General Part) 5733-1973 | https://www.nevo.co.il/law_html/law00/71888.htm | Section 1 (offer/acceptance), section 3(b) (irrevocability), section 8 (reasonable time) |

| Price quote document guide (Green Invoice) | https://www.greeninvoice.co.il/magazine/hazat-mechir/ | Distinction between quote, חשבונית עסקה, חשבונית מס |

Gotchas

Troubleshooting

| Issue | Cause | Fix |

|---|---|---|

| VAT calculation off by one agorah | Floating-point rounding | Round subtotal × 0.18 to 2 decimals using banker's rounding (Python's round() or Decimal.quantize(Decimal('0.01'), ROUND_HALF_EVEN)) |

| Client says "I'll pay in 60 days" | Client is unaware of the Late Payment Law | Reference the law in the payment clause. For an SMB supplier to large business, shotef+45 is the legal max; longer terms in a contract are void. |

| Client is a foreign company, wants USD | Currency conversion exposure | Use the FX clause from Step 6, peg to Bank of Israel שער יציג at invoice date, not quote date. Spell out which date in the quote. |

| User crossed the 122,833 ₪ ceiling mid-year | Must upgrade to oseik morshe | The skill should flag this. Quotes after the upgrade date must show VAT; quotes before the upgrade date stay oseik-patur format. Don't backdate. |

| Quote was accepted by email, client now disputes the price | Email acceptance is binding | Under Contracts Law §7, written acceptance of a written offer creates a contract. The quote stands. |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.