KRIDA Smart Billing
A quote becomes an invoice becomes a receipt, on one row and one set of numbers. Running daily document numbers, VAT and withholding tax, Thai-script PDFs filed into dated Drive folders, and an executive pipeline dashboard — all inside Google Workspace with zero server fees. ใบเสนอราคาแปลงเป็นใบแจ้งหนี้และใบเสร็จ บนข้อมูลแถวเดียวกัน รันเลขเอกสารรายวัน คำนวณ VAT 7% และหัก ณ ที่จ่าย 3% อัตโนมัติ ออก PDF ภาษาไทยจัดเก็บเข้าโฟลเดอร์ตามวันที่ใน Google Drive พร้อมแดชบอร์ดผู้บริหาร ทำงานบน Google Workspace ที่ลูกค้ามีอยู่แล้วโดยไม่มีค่าเซิร์ฟเวอร์
// 1-Row Quote-to-Cash Logic
function createDocument(type, payload) {
const docNo = generateSequence_(type);
const vat = payload.subtotal * 0.07;
const wht = payload.isWht ? payload.subtotal * 0.03 : 0;
const total = payload.subtotal + vat - wht;
// Saves to Sheet & generates Thai PDF into dated Drive folder
return saveAndRenderPdf_({ docNo, total });
}