Accounts Receivable Follow-up Writer
This skill generates an escalating sequence of 4 invoice reminder messages — from gentle to final notice — calibrated to the relationship context and days overdue. It operates bilingually (EN/RU) on data provided by the user; no accounting software required.
Input:
- Invoice details: amount, currency, due date (or days overdue), client name
- Relationship context: new / long-term / valuable / difficult / other
- Optional: prior contact history, formality preference
Output:
- 4 numbered messages (subject line + body + send-date recommendation + tone note)
- Relationship risk flag if applicable
- Human-review reminder footer
Language Detection
Detect the user's language from their message:
- If Russian (or contains Cyrillic): respond in Russian
- If English (or other Latin-script language): respond in English
- If ambiguous: respond in the language of the trigger phrase used
Instructions
Step 1: Parse and Validate Input
Extract required fields from user input:
- Invoice amount and currency
- Due date or days overdue
- Client name or company
- Relationship context (new / long-term / valuable / difficult / other)
Check for required fields:
- If invoice amount OR client name is missing: stop and return error message (see Negative Cases)
- If due date is missing: proceed but flag in output ("Due date not provided — add before sending")
Extract optional fields if provided:
- Prior contact history (e.g., "already sent one email", "called twice, no answer")
- Formality override (formal / neutral / casual)
- Single-message request (e.g., "just give me the final notice")
Step 2: Determine Escalation Starting Level
- Calculate days overdue (from due date to today, or use user-stated value)
- Map to starting tone:
- 1–14 days overdue → start at Gentle (Message 1)
- 15–30 days overdue → start at Neutral (Message 2)
- 31–60 days overdue → start at Firm (Message 3)
- 60+ days overdue → start at Final (Message 4); include legal note
- Note: If prior contact history is provided, advance starting level by one step (e.g., "already sent a reminder" → start at Neutral, not Gentle)
Step 3: Apply Relationship Context Modifier
- Read relationship context:
- New client / unknown: Standard escalation; professional but impersonal
- Long-term / valued partner: Warm tone throughout; add explicit relationship-preservation note in Messages 3 and 4
- Difficult history: Formal from Message 1; reference any prior agreements in Message 3
- Close / friend-level: Maximum warmth; avoid implying distrust; recommend direct call after Message 2
- If context suggests high-stakes relationship: add
⚠️ Relationship risk note before Message 3 and 4
Step 4: Generate Message 1 — Gentle Reminder
- Tone: friendly, assumes the invoice was overlooked; no accusation
- Structure:
- Subject line: warm, non-confrontational ("Quick note about Invoice #___")
- Opening: acknowledge the relationship; reference invoice briefly
- Body: simple reminder with invoice details; offer to resend if needed
- Closing: friendly, leaves door open
- Include send-date: "Send immediately" or "Day 1"
- Add tone note: 1 sentence explaining why this tone was chosen
Step 5: Generate Message 2 — Neutral Follow-up
- Tone: professional, matter-of-fact; no emotional charge
- Structure:
- Subject line: direct but not alarming ("Following up: Invoice #___ — [Amount] due")
- Opening: reference that Message 1 went unanswered (if applicable)
- Body: restate invoice details; offer payment options or clarification
- Closing: clear ask with soft deadline ("by end of this week")
- Include send-date: "5–7 days after Message 1"
- Add tone note
Step 6: Generate Message 3 — Firm Notice
- Tone: direct, professional; references prior outreach; sets firm deadline
- Structure:
- Subject line: urgent ("Action Required: Invoice #___ — [Amount] [X days] Overdue")
- Opening: note that previous reminders went unanswered
- Body: state invoice details, total owed, exact deadline (specific date); request confirmation of payment or communication
- Closing: firm but professional; no threats
- If valued/long-term relationship: add note "I value our working relationship and want to resolve this directly"
- Include send-date: "7–10 days after Message 2"
- Add tone note + relationship risk flag if applicable
Step 7: Generate Message 4 — Final Notice
- Tone: formal; references consequences; requests immediate action
- Structure:
- Subject line: formal ("Final Notice: Invoice #___ — Payment Required by [Date]")
- Opening: formal notice; reference all prior outreach
- Body: final deadline (specific date); state consequences (late fees, collections, legal referral — only include what user has authority over); offer one last opportunity to resolve
- Closing: formal sign-off; no further reminders implied
- If 60+ days: add note "Consider consulting a collections specialist or legal counsel before proceeding further"
- Include send-date: "10–14 days after Message 3"
- Add tone note
Step 8: Format and Output
- Assemble all generated messages in sequence
- Add sequence header with summary (client name, amount, days overdue, relationship context, escalation starting level)
- Add relationship risk flag(s) if applicable (before Messages 3 and 4)
- Add human-review footer
- If user requested only one specific message: output that message only with a note indicating its escalation stage
Output Format
## Invoice Reminder Sequence: [Client Name] — [Amount] [Currency] overdue [X days]
**Relationship context:** [stated context]
**Escalation starting level:** Message [N] ([Tone])
**Prior contact:** [yes/no — summary if yes]
---
### Message 1 — Gentle Reminder
**Subject:** [subject line]
**Send:** Day 1 / immediately
**Tone note:** [1 sentence]
[Message body]
---
### Message 2 — Neutral Follow-up
**Subject:** [subject line]
**Send:** 5–7 days after Message 1
**Tone note:** [1 sentence]
[Message body]
---
⚠️ Relationship risk: [note if applicable]
### Message 3 — Firm Notice
**Subject:** [subject line]
**Send:** 7–10 days after Message 2
**Tone note:** [1 sentence]
[Message body]
---
⚠️ Relationship risk: [note if applicable]
### Message 4 — Final Notice
**Subject:** [subject line]
**Send:** 10–14 days after Message 3
**Tone note:** [1 sentence]
[Message body]
---
⚠️ Review before sending. Add your invoice reference number, company name, and contact details. If the relationship is high-stakes, have a colleague review Messages 3 and 4 before sending.
Edge Cases
- Missing due date: Generate sequence; add note "Due date not provided — insert before sending." Use "overdue" framing without a specific number of days.
- Very close relationship ("we're friends"): Apply maximum warmth across all 4; recommend a direct phone call after Message 2; add explicit risk note before Message 4.
- 60+ days overdue: Start sequence at Message 3 or 4 (user's choice); always add the legal/collections note to Message 4.
- Single message requested: Output only the requested message with its escalation context; skip the full sequence.
- Prior contact stated: Advance starting tone level by one step; reference prior outreach in the first generated message.
- Mixed-language input: Detect user interface language; output in that language; offer the other-language version on request.
Negative Cases
All error and decline messages must be delivered in the detected language (EN or RU), following the Language Detection rule above.
- Missing amount or client name: Stop. Return in the detected language:
- EN: "Invoice amount and client name are required. Please provide: amount, client name, and ideally the due date."
- RU: "Необходимо указать сумму счёта и имя клиента. Пожалуйста, предоставьте: сумму, имя клиента и желательно срок оплаты."
- Aggressive or threatening language requested: Decline in the detected language. Note that threatening language may create legal liability and damage the relationship. Offer firm Message 4 as the strongest professional alternative.
- Payment dispute described (not simple non-payment): Flag in the detected language that this sounds like a payment dispute rather than a simple overdue invoice, and that a reminder sequence may not be appropriate — recommend dispute resolution communication instead.
1---2name: accounts-receivable-followup-writer3description: Draft escalating invoice reminder sequences (gentle→neutral→firm→final) from invoice details and client relationship context. Preserves relationships while collecting payment. Use when client hasn't paid, need professional follow-up, overdue invoice. Triggers: 'write invoice reminder', 'overdue invoice follow-up', 'клиент не платит', 'просроченный счёт', 'напиши напоминание об оплате'.4---56# Accounts Receivable Follow-up Writer78This skill generates an escalating sequence of 4 invoice reminder messages — from gentle to final notice — calibrated to the relationship context and days overdue. It operates bilingually (EN/RU) on data provided by the user; no accounting software required.910**Input:**11- Invoice details: amount, currency, due date (or days overdue), client name12- Relationship context: new / long-term / valuable / difficult / other13- Optional: prior contact history, formality preference1415**Output:**16- 4 numbered messages (subject line + body + send-date recommendation + tone note)17- Relationship risk flag if applicable18- Human-review reminder footer1920---2122## Language Detection2324Detect the user's language from their message:25- If Russian (or contains Cyrillic): respond in Russian26- If English (or other Latin-script language): respond in English27- If ambiguous: respond in the language of the trigger phrase used2829---3031## Instructions3233### Step 1: Parse and Validate Input34351. Extract required fields from user input:36 - Invoice amount and currency37 - Due date or days overdue38 - Client name or company39 - Relationship context (new / long-term / valuable / difficult / other)40412. Check for required fields:42 - If invoice amount OR client name is missing: stop and return error message (see Negative Cases)43 - If due date is missing: proceed but flag in output ("Due date not provided — add before sending")44453. Extract optional fields if provided:46 - Prior contact history (e.g., "already sent one email", "called twice, no answer")47 - Formality override (formal / neutral / casual)48 - Single-message request (e.g., "just give me the final notice")4950### Step 2: Determine Escalation Starting Level51521. Calculate days overdue (from due date to today, or use user-stated value)532. Map to starting tone:54 - 1–14 days overdue → start at **Gentle** (Message 1)55 - 15–30 days overdue → start at **Neutral** (Message 2)56 - 31–60 days overdue → start at **Firm** (Message 3)57 - 60+ days overdue → start at **Final** (Message 4); include legal note583. Note: If prior contact history is provided, advance starting level by one step (e.g., "already sent a reminder" → start at Neutral, not Gentle)5960### Step 3: Apply Relationship Context Modifier61621. Read relationship context:63 - **New client / unknown:** Standard escalation; professional but impersonal64 - **Long-term / valued partner:** Warm tone throughout; add explicit relationship-preservation note in Messages 3 and 465 - **Difficult history:** Formal from Message 1; reference any prior agreements in Message 366 - **Close / friend-level:** Maximum warmth; avoid implying distrust; recommend direct call after Message 2672. If context suggests high-stakes relationship: add `⚠️ Relationship risk note` before Message 3 and 46869### Step 4: Generate Message 1 — Gentle Reminder70711. Tone: friendly, assumes the invoice was overlooked; no accusation722. Structure:73 - Subject line: warm, non-confrontational ("Quick note about Invoice #___")74 - Opening: acknowledge the relationship; reference invoice briefly75 - Body: simple reminder with invoice details; offer to resend if needed76 - Closing: friendly, leaves door open773. Include send-date: "Send immediately" or "Day 1"784. Add tone note: 1 sentence explaining why this tone was chosen7980### Step 5: Generate Message 2 — Neutral Follow-up81821. Tone: professional, matter-of-fact; no emotional charge832. Structure:84 - Subject line: direct but not alarming ("Following up: Invoice #___ — [Amount] due")85 - Opening: reference that Message 1 went unanswered (if applicable)86 - Body: restate invoice details; offer payment options or clarification87 - Closing: clear ask with soft deadline ("by end of this week")883. Include send-date: "5–7 days after Message 1"894. Add tone note9091### Step 6: Generate Message 3 — Firm Notice92931. Tone: direct, professional; references prior outreach; sets firm deadline942. Structure:95 - Subject line: urgent ("Action Required: Invoice #___ — [Amount] [X days] Overdue")96 - Opening: note that previous reminders went unanswered97 - Body: state invoice details, total owed, exact deadline (specific date); request confirmation of payment or communication98 - Closing: firm but professional; no threats993. If valued/long-term relationship: add note "I value our working relationship and want to resolve this directly"1004. Include send-date: "7–10 days after Message 2"1015. Add tone note + relationship risk flag if applicable102103### Step 7: Generate Message 4 — Final Notice1041051. Tone: formal; references consequences; requests immediate action1062. Structure:107 - Subject line: formal ("Final Notice: Invoice #___ — Payment Required by [Date]")108 - Opening: formal notice; reference all prior outreach109 - Body: final deadline (specific date); state consequences (late fees, collections, legal referral — only include what user has authority over); offer one last opportunity to resolve110 - Closing: formal sign-off; no further reminders implied1113. If 60+ days: add note "Consider consulting a collections specialist or legal counsel before proceeding further"1124. Include send-date: "10–14 days after Message 3"1135. Add tone note114115### Step 8: Format and Output1161171. Assemble all generated messages in sequence1182. Add sequence header with summary (client name, amount, days overdue, relationship context, escalation starting level)1193. Add relationship risk flag(s) if applicable (before Messages 3 and 4)1204. Add human-review footer1215. If user requested only one specific message: output that message only with a note indicating its escalation stage122123---124125## Output Format126127```128## Invoice Reminder Sequence: [Client Name] — [Amount] [Currency] overdue [X days]129130**Relationship context:** [stated context]131**Escalation starting level:** Message [N] ([Tone])132**Prior contact:** [yes/no — summary if yes]133134---135136### Message 1 — Gentle Reminder137**Subject:** [subject line]138**Send:** Day 1 / immediately139**Tone note:** [1 sentence]140141[Message body]142143---144145### Message 2 — Neutral Follow-up146**Subject:** [subject line]147**Send:** 5–7 days after Message 1148**Tone note:** [1 sentence]149150[Message body]151152---153154⚠️ Relationship risk: [note if applicable]155156### Message 3 — Firm Notice157**Subject:** [subject line]158**Send:** 7–10 days after Message 2159**Tone note:** [1 sentence]160161[Message body]162163---164165⚠️ Relationship risk: [note if applicable]166167### Message 4 — Final Notice168**Subject:** [subject line]169**Send:** 10–14 days after Message 3170**Tone note:** [1 sentence]171172[Message body]173174---175176⚠️ Review before sending. Add your invoice reference number, company name, and contact details. If the relationship is high-stakes, have a colleague review Messages 3 and 4 before sending.177```178179---180181## Edge Cases1821831. **Missing due date:** Generate sequence; add note "Due date not provided — insert before sending." Use "overdue" framing without a specific number of days.1842. **Very close relationship ("we're friends"):** Apply maximum warmth across all 4; recommend a direct phone call after Message 2; add explicit risk note before Message 4.1853. **60+ days overdue:** Start sequence at Message 3 or 4 (user's choice); always add the legal/collections note to Message 4.1864. **Single message requested:** Output only the requested message with its escalation context; skip the full sequence.1875. **Prior contact stated:** Advance starting tone level by one step; reference prior outreach in the first generated message.1886. **Mixed-language input:** Detect user interface language; output in that language; offer the other-language version on request.189190---191192## Negative Cases193194All error and decline messages must be delivered in the detected language (EN or RU), following the Language Detection rule above.195196- **Missing amount or client name:** Stop. Return in the detected language:197 - EN: "Invoice amount and client name are required. Please provide: amount, client name, and ideally the due date."198 - RU: "Необходимо указать сумму счёта и имя клиента. Пожалуйста, предоставьте: сумму, имя клиента и желательно срок оплаты."199- **Aggressive or threatening language requested:** Decline in the detected language. Note that threatening language may create legal liability and damage the relationship. Offer firm Message 4 as the strongest professional alternative.200- **Payment dispute described (not simple non-payment):** Flag in the detected language that this sounds like a payment dispute rather than a simple overdue invoice, and that a reminder sequence may not be appropriate — recommend dispute resolution communication instead.