One-click install
npx skills add https://github.com/Orderful/orderful-netsuite-skills --skill bill-test-invoice
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bill-test-invoice
Source: https://github.com/Orderful/orderful-netsuite-skills/tree/main/skills/bill-test-invoice
Command: npx skills add https://github.com/Orderful/orderful-netsuite-skills --skill bill-test-invoice

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you transform a NetSuite Sales Order into a sandbox test Invoice to validate the outbound 810 EDI flow without manual NetSuite UI clicks, automatically recovering from mandatory custom-field validation errors during the REST transform.

Core Features & Use Cases

  • Sales Order → Invoice transform loop: Calls the NetSuite REST transform endpoint, then iteratively discovers and fixes missing mandatory custom fields reported by the transform error (one field at a time) until the transform succeeds.
  • Invoice customform reset for production parity: Resets the newly created invoice’s customform to the correct customer “prod invoice” shape instead of inheriting the SO’s customform.
  • Optional 810 trigger workflow: Verifies the invoice and (when appropriate) flips the required invoice flags to allow the 810 outbound reprocess, while warning on common “810 won’t fire” gating preferences.
  • Use Case: When you need to test “bill the SO” / “test the 810” end-to-end from a specific sandbox SO that fails REST transform due to missing mandatory fields, this Skill patches the SO and produces the billable test invoice.

Quick Start

Run /bill-test-invoice and provide the Sales Order internal id or tranid to generate a sandbox test invoice and handle missing mandatory custom fields automatically.

Frequently Asked Questions about bill-test-invoice

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

FAQPage Schema
How do I transform a NetSuite Sales Order into an Invoice via REST when missing mandatory custom fields block the process?

To transform a NetSuite Sales Order into an Invoice via REST when mandatory custom fields are missing, use a discovery-and-fix loop that PATCHes the Sales Order one field at a time until the transform succeeds.

Why does my NetSuite Sales Order to Invoice REST transform fail with mandatory field validation errors?

Your NetSuite Sales Order to Invoice REST transform fails because the source Sales Order is missing required custom fields. The transform validates these fields and returns an error preventing invoice creation until they are populated.

How do I reset the customform on a NetSuite sandbox Invoice to match production parity?

To reset the customform on a NetSuite sandbox Invoice to match production parity, explicitly PATCH the created Invoice customForm so it inherits the correct customer prod invoice shape instead of the Sales Order form.

How do I trigger the outbound 810 EDI flow from a sandbox Invoice after transforming a Sales Order?

To trigger the outbound 810 EDI flow from a sandbox Invoice, flip the required invoice readiness flags to allow reprocessing while verifying that specific environment and customer gating conditions are met.

What are common reasons the 810 outbound EDI workflow fails to fire after creating a NetSuite sandbox Invoice?

The 810 outbound EDI workflow fails to fire when required invoice readiness flags are not set or when specific NetSuite environment and customer gating preferences block the reprocess trigger.

Can I automate end-to-end 810 transaction testing in a NetSuite sandbox without manual UI clicks?

Yes, you can automate end-to-end 810 transaction testing in a NetSuite sandbox by using a REST transform loop that patches missing Sales Order fields, creates the Invoice, and updates readiness flags automatically.