Fairhaul Customs Entries
v0.1.0Checks your customs broker's entry lines against your commercial invoices
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) |
entries_check Check entries against invoices
[ALLOW] Every point found per entry line (value, quantity, origin, duty arithmetic, entered twice, invoice line not entered, missing data) and across entries (same SKU under different codes, same code and origin at different rates), with an estimated duty impact, plus each entry's totals and days left to ask for a correction.
| Parameter | Type | Description |
|---|---|---|
entries * | string | Entry lines under --root from your broker or customs portal export: entry number and date, line, invoice number, SKU, tariff code, origin, quantity, entered value, exchange rate, duty rate and duty |
invoices * | string | Commercial invoice lines: invoice number, SKU, quantity, value, currency, origin |
as_of | string | Date to count the days left from (default today) |
correction_window_days | integer | Days after the entry date during which you can still ask for a correction, as your broker advises; leave out to skip the countdown |
tolerance_pct | number | Percent difference in value to ignore (default 1) |
entries_write_report Write the entry review
[ALLOW] Write entries.csv and .html (one row per point found; entries by deadline) into out_dir (default fairhaul-out/entries).
| Parameter | Type | Description |
|---|---|---|
entries * | string | Entry lines under --root from your broker or customs portal export: entry number and date, line, invoice number, SKU, tariff code, origin, quantity, entered value, exchange rate, duty rate and duty |
invoices * | string | Commercial invoice lines: invoice number, SKU, quantity, value, currency, origin |
as_of | string | Date to count the days left from (default today) |
correction_window_days | integer | Days after the entry date during which you can still ask for a correction, as your broker advises; leave out to skip the countdown |
out_dir | string | Folder under --root for the report (default fairhaul-out/entries) |
tolerance_pct | number | Percent difference in value to ignore (default 1) |
entries_draft_correction_request Draft a correction request
[ASK] Write drafts/correction_request-<entry>.md: a note to your customs broker listing each point found on one entry and asking whether a correction is needed and by when. It asks the broker's view on differing codes and never proposes a classification. Marked DRAFT. Sending goes through entries_request_send (one click).
| Parameter | Type | Description |
|---|---|---|
entries * | string | Entry lines under --root from your broker or customs portal export: entry number and date, line, invoice number, SKU, tariff code, origin, quantity, entered value, exchange rate, duty rate and duty |
entry_number * | string | Entry to write about |
invoices * | string | Commercial invoice lines: invoice number, SKU, quantity, value, currency, origin |
as_of | string | Date to count the days left from (default today) |
broker | string | Broker contact name for the greeting |
correction_window_days | integer | Days after the entry date during which you can still ask for a correction, as your broker advises; leave out to skip the countdown |
from | string | Your name |
out_dir | string | Folder under --root for the files this writes (default fairhaul-out/entries). |
to | string | Broker contact email or name |
tolerance_pct | number | Percent difference in value to ignore (default 1) |
entries_request_send Approve the correction request (one click)
[ASK · binding_send] After one named human click (even in Auto), record that the reviewed correction request draft is approved in correction_request-requests.csv. Tied to draft_sha256; refuses while open markers remain unless accept_open_issues is true with a note. The person who deals with your broker 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/entries). |
to | string | Who it goes to; must match the draft when the draft names someone |
customs_file_correction Customs file correction
[BLOCK · binding_send] Listed so agents can see it is refused. Fairhaul Customs Entries never files anything with customs. Your broker files corrections.
customs_classify_item Customs classify item
[BLOCK · binding_send] Listed so agents can see it is refused. Fairhaul Customs Entries never classifies goods or picks a tariff code. Ask your broker or a licensed customs professional.
ap_pay_duty Ap pay duty
[BLOCK · move_money] Listed so agents can see it is refused. Fairhaul Customs Entries never pays duty or broker invoices.