{"slug":"daten-halowerk-com-v1-discount-run-plan-f79d6e","title":"Plan a payment run","host":"daten.halowerk.com","method":"POST","resource":"https://daten.halowerk.com/v1/discount-run-plan","category":"other","description":"Plan a payment run: pay invoices whose cash discount would otherwise expire (best annualized return first), overdue and due invoices, defer the rest, within a budget. Each invoice carries terms as fields or as text (same parser as payment-terms-parse).","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1193,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"budget":"5000.00","invoices":[{"amount":"1000.00","id":"R-1","invoice_date":"2026-11-02","terms_text":"2 % Skonto innerhalb 10 Tagen, netto 30 Tage"}],"next_run_date":"2026-11-17","run_date":"2026-11-10"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"budget":{"pattern":"^\\d{1,12}(\\.\\d{1,2})?$","type":"string"},"invoices":{"items":{"additionalProperties":false,"properties":{"amount":{"pattern":"^\\d{1,12}(\\.\\d{1,2})?$","type":"string"},"discount_days":{"maximum":365,"minimum":0,"type":"integer"},"discount_percent":{"exclusiveMinimum":0,"maximum":50,"type":"number"},"due_date":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"id":{"maxLength":64,"minLength":1,"type":"string"},"invoice_date":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"net_days":{"maximum":365,"minimum":0,"type":"integer"},"terms_text":{"maxLength":500,"type":"string"}},"required":["id","amount","invoice_date"],"type":"object"},"maxItems":1000,"minItems":1,"type":"array"},"lead_days":{"default":1,"maximum":10,"minimum":0,"type":"integer"},"next_run_date":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"priority":{"default":"discount_first","enum":["discount_first","due_first"],"type":"string"},"run_date":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"}},"required":["run_date","invoices"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1193,"error":null},{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1313,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1303,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1190,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1196,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1187,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1186,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1188,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1168,"error":null}],"description_full":"Plan a payment run: pay invoices whose cash discount would otherwise expire (best annualized return first), overdue and due invoices, defer the rest, within a budget. Each invoice carries terms as fields or as text (same parser as payment-terms-parse).","last_updated":"2026-11-20T14:27:49.014Z","schemes":["exact"]}