Vorhandene Kostenbelege prüfen
get_sales_cost_sourcesInspect existing supplier-invoice originals before attributing their net expense. Use get_sales_costs instead to read allocations already recorded for a learning opportunity or channel; this tool discovers and qualifies the original invoice.
Choose one mode: omit documentId to list up to 20 stored candidates, following nextCursor as after; or pass one returned documentId alone to inspect its current fingerprint, allocatedNetAmountMinor and availableNetAmountMinor. documentId and after are mutually exclusive. A listed candidate is not automatically qualified: unavailable originals or incoherent net/tax/gross amounts remain unavailable.
List results contain items, nextCursor and explicit coverage. An exact read returns state/reason, or state=ready with source and the currently available net allocation. Amounts use minor currency units. Availability reserves no money and proves neither payment, original byte verification nor complete costs. Current CRM, Operations and Accounting read consent and owner access are rechecked. No attribution, invoice mutation, provider refresh or tenant selector.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_sales_cost_sources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Continuation: copy nextCursor from the preceding candidate page unchanged. Omit documentId and stop when nextCursor is null. | |
| documentId | No | Exact documentId from this tool’s current candidate page. Select one invoice for current qualification and net availability; omit after. |