explain_edi_error
Explains EDI validation or functional-ack errors using a local X12 dictionary, providing meaning, typical cause, fix, and cross-references. Works offline in demo mode.
Instructions
Explain an EDI validation or functional-ack error using the local X12 dictionary (meaning, typical cause, fix, lookup_x12 cross-refs). Never calls the network; works in demo mode. Read-only or local operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Ack or validation code (e.g. R, 4, 7). | |
| segment | No | Segment id near the error (e.g. SE, PO1). | |
| rawError | No | Optional raw error text from validate_edi or a 997/999. |