ingest
Hand Aurgus one of your three rebate files (CSV) to read into your tenant: 'pos' (your POS / sell-through extract — what was earned), 'claims' (the claims you submitted), or 'credits' (credit memos / vendor invoices you received). Give it the raw CSV, which kind of file it is, and a note of which of your columns maps to which Aurgus field. Rows with blank or bad amounts are held and reported back to you — never quietly booked as $0 — and nothing touches your numbers until a person certifies the mapping. Requires a connected Aurgus account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"csv": "<csv>",
"mapping": "<mapping>"
},
"name": "ingest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | The raw CSV content of your extract (header row + data rows). | |
| kind | No | Which file this is: 'pos' (sales/POS extract — earned), 'claims' (claims submitted), or 'credits' (credit memos / vendor invoices received). Defaults to 'pos'. | |
| mapping | Yes | Map each of your column headers to an Aurgus field. pos fields: source_transaction_id, transaction_at, end_customer_id, material_id, amount_usd, distributor_id, quantity. claims fields: source_claim_id, claim_type, amount_claimed_usd, claim_date, end_customer_id, material_id. credits fields: source_credit_id, amount_credited_usd, credit_date, end_customer_id, material_id. Example: {"Invoice #":"source_transaction_id","Net Sales":"amount_usd"}. | |
| filename | No | Optional original filename. |