Fairshop 3PL Invoices
v0.1.0Audits a 3PL invoice line by line against your rate card, shipped orders, receipts and pallet counts
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fairshop_info
Show this pack: pinned model, mode, caps, Auto opt-ins, and the allow/ask/block decision for every tool.
fairshop_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) |
fulfillment_audit Audit the 3PL invoice
[ALLOW] Check every invoice line against your rate card and your own counts; returns what to dispute and what to ask about, by fee type.
| Parameter | Type | Description |
|---|---|---|
invoice * | string | 3PL invoice detail under --root: invoice number, date, charge type, reference (order, ASN or period), quantity, rate, amount |
ratecard * | string | Rate card JSON from your 3PL agreement: rates per charge, wording aliases, tolerance |
pallets | string | Your own pallet counts under --root (optional): period, pallets |
receipts | string | Receipts under --root (optional): ASN or PO, units received |
shipped | string | Orders the 3PL shipped for you under --root (optional): order, units |
fulfillment_explain Explain one charge
[ALLOW] Show every invoice line for one reference and why it was flagged.
| Parameter | Type | Description |
|---|---|---|
invoice * | string | 3PL invoice detail under --root: invoice number, date, charge type, reference (order, ASN or period), quantity, rate, amount |
ratecard * | string | Rate card JSON from your 3PL agreement: rates per charge, wording aliases, tolerance |
reference * | string | Order, ASN or period on the invoice, or a line id from fulfillment_audit |
pallets | string | Your own pallet counts under --root (optional): period, pallets |
receipts | string | Receipts under --root (optional): ASN or PO, units received |
shipped | string | Orders the 3PL shipped for you under --root (optional): order, units |
fulfillment_write_report Write the 3pl-invoice worklist
[ALLOW] Write 3pl-invoice.csv and .html (by fee type, every line to dispute or ask about) into out_dir (default fairshop-out/fulfillment).
| Parameter | Type | Description |
|---|---|---|
invoice * | string | 3PL invoice detail under --root: invoice number, date, charge type, reference (order, ASN or period), quantity, rate, amount |
ratecard * | string | Rate card JSON from your 3PL agreement: rates per charge, wording aliases, tolerance |
out_dir | string | Folder under --root for the report files (default fairshop-out/fulfillment) |
pallets | string | Your own pallet counts under --root (optional): period, pallets |
receipts | string | Receipts under --root (optional): ASN or PO, units received |
shipped | string | Orders the 3PL shipped for you under --root (optional): order, units |
fulfillment_draft_invoice_dispute Draft a invoice dispute
[ASK] Write drafts/invoice_dispute-<provider>.md listing every line to credit or explain. Marked DRAFT. Sending goes through fulfillment_request_send (one click); a person sends it.
| Parameter | Type | Description |
|---|---|---|
invoice * | string | 3PL invoice detail under --root: invoice number, date, charge type, reference (order, ASN or period), quantity, rate, amount |
ratecard * | string | Rate card JSON from your 3PL agreement: rates per charge, wording aliases, tolerance |
from | string | Your name and company |
out_dir | string | Folder under --root for the files this writes (default fairshop-out/fulfillment). |
pallets | string | Your own pallet counts under --root (optional): period, pallets |
provider | string | 3PL name |
receipts | string | Receipts under --root (optional): ASN or PO, units received |
shipped | string | Orders the 3PL shipped for you under --root (optional): order, units |
fulfillment_request_send Approve the invoice dispute (one click)
[ASK · binding_send] After one named human click (even in Auto), record that the reviewed invoice dispute draft is approved in invoice_dispute-requests.csv. Tied to draft_sha256; refuses while open markers remain unless accept_open_issues is true with a note. A person on your team 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 fairshop-out/fulfillment). |
to | string | Who it goes to; must match the draft when the draft names someone |
invoice_pay Invoice pay
[BLOCK · move_money] Listed so agents can see it is refused. Fairshop 3PL Invoices never pays an invoice.
portal_dispute_submit Portal dispute submit
[BLOCK · binding_send] Listed so agents can see it is refused. Fairshop 3PL Invoices never files a dispute in a 3PL portal.