Fairhaul Accessorial Charges
v0.1.0Fairhaul Accessorial Charges: finds where your accessorial charges come from (liftgate, residential…
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.
| Parameter | Type | Description |
|---|---|---|
path * | string | A CSV, TSV, Excel .xlsx, JSON or JSONL file under the root |
as | string | Source kind to read it as (default: every kind this agent declares, best match first) |
sheet | string | integer | Excel sheet name or 0-based index (default: first visible sheet) |
accessorials_analyse Find where accessorials come from
[ALLOW] Accessorial charges by type, location and carrier; charges a shipper could have ordered but did not; charges above the contract; and repeats at the same location with the address-book change that stops them.
| Parameter | Type | Description |
|---|---|---|
invoices * | string | Carrier invoices under --root (CSV, Excel, JSON or X12 210) with charge lines and destination |
contract | string | Optional freight contract JSON with accessorial rates, to find charges above the agreed amount |
repeat_at | integer | Same charge at the same location on this many invoices counts as a repeat (default 2) |
shipments | string | Optional shipments with the accessorials ordered on each (TMS or BOL export), matched by shipment id, PRO, BOL or PO |
accessorials_write_report Write the accessorial report
[ALLOW] Write accessorials.csv and .html (one row per accessorial charge; repeats to fix; totals by type, location and carrier) into out_dir (default fairhaul-out/accessorials).
| Parameter | Type | Description |
|---|---|---|
invoices * | string | Carrier invoices under --root (CSV, Excel, JSON or X12 210) with charge lines and destination |
contract | string | Optional freight contract JSON with accessorial rates, to find charges above the agreed amount |
out_dir | string | Folder under --root for the report (default fairhaul-out/accessorials) |
repeat_at | integer | Same charge at the same location on this many invoices counts as a repeat (default 2) |
shipments | string | Optional shipments with the accessorials ordered on each (TMS or BOL export), matched by shipment id, PRO, BOL or PO |
accessorials_draft_address_update Draft a address update
[ASK] Write drafts/address_update-<name>.md: the address-book changes (residential, liftgate, appointment and similar flags) for every location with repeat accessorials. Marked DRAFT. Applying it goes through accessorials_request_apply (one click); a person makes the change in the TMS.
| Parameter | Type | Description |
|---|---|---|
invoices * | string | Carrier invoices under --root (CSV, Excel, JSON or X12 210) with charge lines and destination |
contract | string | Optional freight contract JSON with accessorial rates, to find charges above the agreed amount |
from | string | Your name |
name | string | Name for this change list (default address-book) |
out_dir | string | Folder under --root for the files this writes (default fairhaul-out/accessorials). |
repeat_at | integer | Same charge at the same location on this many invoices counts as a repeat (default 2) |
shipments | string | Optional shipments with the accessorials ordered on each (TMS or BOL export), matched by shipment id, PRO, BOL or PO |
system | string | TMS or ERP whose address book this is |
accessorials_request_apply Approve the address update (one click)
[ASK · production_deploy] After one named human click (even in Auto), record that the reviewed address update draft is approved in address_update-requests.csv. Tied to draft_sha256; refuses while open markers remain unless accept_open_issues is true with a note. The person who maintains your TMS acts on it; the agent never does.
| Parameter | Type | Description |
|---|---|---|
draft * | string | Draft path returned by the draft tool |
draft_sha256 * | string | sha256 returned by the draft tool |
accept_open_issues | boolean | Set true, together with a note, to go ahead while open markers or issues remain. Default false (refused while any remain). |
note | string | Why it is fine to go ahead with open issues; required when accept_open_issues is true. Kept in the audit log. |
out_dir | string | Folder under --root for the files this writes (default fairhaul-out/accessorials). |
to | string | Who it goes to; must match the draft when the draft names someone |
tms_update_address Tms update address
[BLOCK · production_deploy] Listed so agents can see it is refused. Fairhaul Accessorial Charges never changes your TMS or ERP address book; a person does.
ap_pay_invoice Ap pay invoice
[BLOCK · move_money] Listed so agents can see it is refused. Fairhaul Accessorial Charges never pays or short-pays carriers.