pdf-agent

Generate Thai-supported PDF documents for ERP quotations, invoices, receipts, and tax invoices.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/akkpol/crafe-flow-nextjs --skill pdf-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-agent
Source: https://github.com/akkpol/crafe-flow-nextjs/tree/main/.codex/skills/pdf-agent
Command: npx skills add https://github.com/akkpol/crafe-flow-nextjs --skill pdf-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate professional, print-ready PDF documents (quotations, invoices, receipts, and tax invoices) with robust Thai language support, helping teams produce consistent paperwork in CraftFlow ERP.

Core Features & Use Cases

  • Template-driven PDF generation for Quotation, Invoice, Receipt, and Tax Invoice using React-PDF with print-ready layouts.
  • Thai font embedding and Baht text conversion to meet Thai business and accounting requirements.
  • A4 document layout with browser print CSS and reusable document templates (QuotationTemplate.tsx, InvoiceTemplate.tsx, ReceiptTemplate.tsx, TaxInvoiceTemplate.tsx).

Quick Start

Generate a sample PDF for a Thai customer using the built-in templates.

Frequently Asked Questions about pdf-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate PDF invoices and receipts with Thai language support?

To generate PDF invoices and receipts with Thai language support, you use template-driven React-PDF rendering. This approach embeds Thai fonts and applies an A4 layout with print CSS to produce professional, print-ready documents.

How do I convert numbers to Thai Baht text for tax invoices?

Converting numbers to Thai Baht text for tax invoices is handled automatically during PDF generation. The document templates apply Baht text conversion to meet Thai business and accounting requirements directly in the output.

Can I use React-PDF templates for browser printing in ERP workflows?

Yes, you can use React-PDF templates for browser printing in ERP workflows. The system provides reusable templates for quotations and receipts that render in the frontend and support direct browser printing with A4 layout CSS.

What's the best way to create print-ready A4 documents for Thai business requirements?

The best way to create print-ready A4 documents for Thai business requirements is using pre-built document templates. These templates handle Thai font embedding and Baht text conversion, ensuring your printed quotations and tax invoices are compliant.

Does this PDF generation approach work with CraftFlow ERP document workflows?

Yes, this PDF generation approach works directly with CraftFlow ERP document workflows. It enables template-driven PDF output within the frontend rendering, allowing you to generate quotations, invoices, and receipts seamlessly.