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.