FastPath- Prompt this to Claude
Works in Claude Code (myinvois skill) or any MCP client running mcp-myinvois. Copy, paste, done or do it manually with the steps below.
Send your first e-invoice
Easiest path: open Claude Code anywhere and drop an invoice PDF with the words “submit this to
MyInvois”. The myinvois skill extracts the buyer and line items, merges your
profile, shows you a summary to approve, submits, and returns the LHDN validation link.
Manual path:
MYINVOIS_ENV=prod. Nothing else changes.Use your own invoice PDF
Already generate invoices elsewhere? Drop the PDF on Claude and it becomes the e-invoice source. For that to work without back-and-forth, the PDF must contain:
- required Invoice number unique, never reused
- required Line items description, quantity, unit price
- required Buyer name plus TIN or BRN for business buyers (or keep them in your client book, step 09)
- required Totals and the SST amount/rate if you charge tax
- optional Buyer address, email, phone enriches the record
- optional Issue date submission is stamped at send time anyway
Your seller details never need to be in the PDF they come from the profile (step 08). Anything missing, Claude asks instead of guessing.
Prompt builder state your goal
Generates a paste-ready instruction for Claude Code (skill) or any MCP client. Attach your PDF along with it.
npx qrcode "<validation link>" -o invoice-qr.png