Fairhaul EDI Files

v0.1.0
io.github.fpavia111-creator/fairhaul-edi-files Checked 2 days ago Published 5 days ago

Fairhaul EDI Files: reads X12 transport files (204 load tenders, 210 invoices, 214 status, 990…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fairhaul_info

Show this pack: pinned model, mode, caps, Auto opt-ins, and the allow/ask/block decision for every tool.

fairhaul_inspect_input

Show how a CSV, TSV, Excel, JSON or JSONL file under the root would be read: its format, which export it looks like, which of its columns map to this pack's columns, and what each column holds. Returns column names and shapes only, never cell values. Use it before a tool when a file comes straight from another system.

ParameterTypeDescription
path *stringA CSV, TSV, Excel .xlsx, JSON or JSONL file under the root
asstringSource kind to read it as (default: every kind this agent declares, best match first)
sheetstring | integerExcel sheet name or 0-based index (default: first visible sheet)

edi_inspect Check X12 structure

[ALLOW] Detect delimiters and check ISA/IEA, GS/GE and ST/SE pairs, control numbers and counts for each file. Lists transaction sets found and every problem with its segment number.

ParameterTypeDescription
files *arrayX12 files under --root (.edi, .x12, .txt): any mix of 204, 210, 214, 990, 997 and 999

edi_reconcile Reconcile tenders, invoices, status and acknowledgements

[ALLOW] Match 210 invoices to 204 tenders and 990 acceptances, compare amounts, look for 214 delivery events, and list transactions a 997/999 rejected. Each finding names the document and what to do.

ParameterTypeDescription
files *arrayX12 files under --root (.edi, .x12, .txt): any mix of 204, 210, 214, 990, 997 and 999
tolerancenumberAmount difference ignored between an invoice and its tender, in currency units (default 1.00)

edi_tender_stats Tender acceptance by carrier

[ALLOW] Accepted and declined 990 responses per carrier SCAC, lowest acceptance first.

ParameterTypeDescription
files *arrayX12 files under --root (.edi, .x12, .txt): any mix of 204, 210, 214, 990, 997 and 999

edi_convert Convert EDI to spreadsheets

[ALLOW] Write one CSV per kind (tenders, invoices, invoice lines, status events, responses, acknowledgements) plus edi-reconcile.csv and .html into out_dir (default fairhaul-out/edi).

ParameterTypeDescription
files *arrayX12 files under --root (.edi, .x12, .txt): any mix of 204, 210, 214, 990, 997 and 999
out_dirstringFolder under --root for the files this writes (default fairhaul-out/edi).

edi_transmit Edi transmit

[BLOCK · binding_send] Listed so agents can see it is refused. Fairhaul EDI Files never sends EDI to a trading partner or VAN; your EDI provider does.

van_upload Van upload

[BLOCK · binding_send] Listed so agents can see it is refused. Fairhaul EDI Files never uploads to a VAN, AS2 endpoint or SFTP mailbox.