writing-outbound-jsonata

Official

Fix outbound EDI mapping with safe JSONata

AuthorOrderful
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you fix partner outbound EDI validation failures by authoring and iterating SuiteApp JSONata transforms so NetSuite emits the exact payload the trading partner expects.

Core Features & Use Cases

  • Partner-error driven JSON path mapping: turns validation errors into precise message.transactionSets paths you can override, including handling missing vs wrong values and schema/path mismatches.
  • Customer-safe, customer-specific overrides: writes JSONata onto the customer’s EDI Enabled Transaction (ECT) record for the relevant customer and document type, at the correct JSONata syntax/version level.
  • Production-ready reprocess loop: guides you through testing against NetSuite-saved outbound messages, pushing the JSONata to the ECT record, triggering reprocess, and verifying results via Orderful transaction state.
  • Guardrails and failure prevention: enforces prerequisite checks (customer enabled + netsuite-setup), requires real validation errors before changing mappings, and prioritizes data fixes over JSONata band-aids.

Quick Start

Run writing-outbound-jsonata when you see outbound 856/810/855 validation errors for a specific customer, then provide the failing transaction id and paste the partner’s Errors tab details so it can generate the JSONata override and drive the reprocess/verification loop.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: writing-outbound-jsonata
Download link: https://github.com/Orderful/orderful-netsuite-skills/archive/main.zip#writing-outbound-jsonata

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.