How to Generate Invoices and Purchase Orders from NetSuite
To generate invoices and purchase orders from NetSuite, connect NetSuite to a document generation tool, design Word templates with merge fields for transaction headers and line items, trigger generation when a transaction is created or approved, and deliver the PDF by email, signature or storage. The finished document is attached back to the NetSuite record automatically.
What you’ll build
Two connected workflows in Noca:
- Purchase orders: an employee submits a purchase request form; the request is approved; a purchase order is created in NetSuite; a branded PO PDF is generated, sent to the vendor for acknowledgment or signature, and attached to the PO record.
- Invoices: when an invoice is created in NetSuite, a branded invoice PDF is generated from your Word template, emailed to the customer’s billing contact, saved to storage and attached to the invoice record.
Prerequisites
- A NetSuite account with access to purchase orders, invoices, vendors, customers and items, and a dedicated integration role with only the permissions the workflow needs.
- A Noca account with the NetSuite integration.
- Your invoice and purchase order layouts as Word documents.
- Your PO approval rules and the people who approve at each level.
- Optional: storage such as Google Drive, SharePoint or Amazon S3 for archiving copies.
NetSuite can print transactions natively with Advanced PDF/HTML templates, which use HTML and FreeMarker markup. They work well, but changing them usually needs someone comfortable with code. Teams add a document generation workflow when they want finance to edit layouts in Word, combine NetSuite data with data from other systems, add approvals and signatures, or deliver and file documents automatically.
How to generate invoices and purchase orders from NetSuite, step by step
Step 1: Connect NetSuite
Add the NetSuite integration in Noca and authenticate with your integration role. Grant access to purchase orders, invoices, vendors, customers, items, subsidiaries and file cabinet folders. Noca’s integration logs show every record read and written, which helps during testing and audits.
Step 2: Build the purchase request form and invoice trigger
For purchase orders, describe the request form to the AI form builder: “A purchase request form where the employee picks a vendor and items from NetSuite, enters quantities, chooses a department and class, and uploads a quote. Require a business reason above $2,500.” Dropdowns load from NetSuite, so vendors and items always match.
For invoices, set the trigger to a new invoice record in NetSuite, or a scheduled run that picks up invoices created since the last run.
You can also describe the whole thing with Prompt to Flow: “When a purchase request is submitted, send it to the department head, and to finance if it is over $10,000; when approved, create the purchase order in NetSuite, generate the PO PDF from our template, email it to the vendor, attach it to the PO and notify the requester in Slack.”
Step 3: Map NetSuite fields into your templates
In Word, add merge fields for the header: document number, date, subsidiary name and address, vendor or customer name and address, payment terms, currency, due date and memo. Add a repeating table row for line items with item name, description, quantity, rate, tax and amount, followed by subtotal, tax total and total. Upload the templates to Noca Document Generation and map each field to the NetSuite record.
- Use conditional sections for bank details by currency, or tax wording by country.
- Show a logo and footer per subsidiary if you run more than one entity.
- Format currency and dates for the recipient’s region.
Step 4: Approve, generate and send
For purchase orders, add an approval step with thresholds, reminders and escalation. Once approved, create the PO in NetSuite, generate the PO as a PDF, and send it to the vendor. If your vendors must countersign, send it for e-signature instead of email; Noca tracks the status and stores the signed copy. Most POs only need a standard electronic signature; for documents that need certificate-based signing, read E-Signature vs Digital Signature.
For invoices, generate the PDF as soon as the trigger fires and email it to the customer’s billing contact with a short message and the due date.
Step 5: Update NetSuite and file the documents
After each document is generated or signed, the workflow attaches the PDF to the NetSuite transaction, saves a copy to your storage folder by year and customer or vendor, and updates a custom field such as Document Sent Date. For POs, it notifies the requester and, if the vendor signed, records the acknowledgment.
Step 6: Test
Test in a NetSuite sandbox if you have one. Generate a PO with many lines, one in a foreign currency, one that needs two approvals and one that is rejected. For invoices, test a customer without a billing email, a multi-subsidiary invoice and an invoice with discounts and tax. Compare every total against NetSuite.
Example scenario: branded POs and invoices for a multi-entity distributor
Illustrative scenario based on a typical setup, not a specific Noca customer.
A distributor running three subsidiaries in NetSuite printed POs and invoices from Advanced PDF templates that only one consultant could edit. Purchase requests arrived by email, and approvals were hard to trace. With Noca, employees submit purchase requests through a form, approvals happen in Slack, approved POs are created and sent to vendors automatically, and invoices go out with the correct logo and bank details for each subsidiary. Finance now edits layouts in Word. The same NetSuite connection also powers supplier setup; see how to automate NetSuite vendor onboarding.
Common mistakes to avoid
- Totals calculated in the template. Pull totals and tax from NetSuite so documents always match the ledger.
- Creating POs before approval. Approve the request first, then create the PO.
- Free-text vendors and items. Load them from NetSuite to avoid mapping failures.
- One template per subsidiary. Use conditional sections for logos, addresses and bank details.
- Missing billing contacts. Validate the recipient email before sending and alert finance if it is missing.
- No archive. Save copies to storage as well as NetSuite for easy retrieval and audits.
Next steps
Extend the same approach to sales orders, credit memos, customer statements and vendor bills. If you are comparing tools, see best NetSuite document generation tools. Sales teams on Salesforce can reuse the template approach, as covered in Best Document Generation Tools for Salesforce in 2027 and Best S-Docs Alternatives, and HR can apply it to hiring with how to automate employee offer letters.
Frequently asked questions
Can NetSuite generate invoice and PO PDFs natively?
Yes. NetSuite uses Advanced PDF/HTML templates, which combine HTML and FreeMarker markup, to print transactions. Teams add a document generation tool when they want Word-based templates, approvals, signatures, data from other systems or automatic delivery and filing.
Can I design NetSuite invoice templates in Word?
Yes, with a document generation tool such as Noca. You add merge fields for header and line item data in Word, upload the template and map fields to NetSuite.
How do NetSuite line items appear in the document?
Add a table row with merge fields for item, description, quantity, rate, tax and amount. The row repeats for every line on the transaction, followed by totals pulled from NetSuite.
Can purchase orders require approval before they are sent?
Yes. Noca routes purchase requests through approval rules with thresholds, reminders and escalation, and only creates and sends the PO after approval.
Can the generated PDF be attached to the NetSuite record?
Yes. The workflow attaches the PDF to the purchase order or invoice in NetSuite and can also save a copy to Google Drive, SharePoint or Amazon S3.
Does this work with multiple NetSuite subsidiaries?
Yes. Use conditional sections in one template to show the right logo, address, currency and bank details for each subsidiary.