Skip to main content

Preview what a bank rule would do

POST 

/api/v1/bank_rules/:id/preview

Simulates the rule against real operations AND WRITES NOTHING - no allocation, no payment, no accounting entry. That is why it requires only read: forcing you to hold write in order to inspect a rule would be backwards. Each row says whether the rule would determine that operation's projection, the lines it would produce, and - through overridden_by - whether a higher-precedence source already wins it.

Request​

Responses​

One row per operation examined, newest operation date first.