Reconcile a contract's deferred origination fee
Reads the ledger lines of the contract’s own deferred-fee accounts, across every chart it lived under, into deferred, recognised, released and remaining, and holds the deferred figure against the fee the contract record says was retained. The contract is named by its loan account alone: product version, disbursement day, currency and retained fee come from the tenant’s contract record. A ledger that does not answer is status UNAVAILABLE, not an error.
Parâmetros de caminho
Resposta
OK
MATCH: the ledger deferred exactly the fee the contract retained. DIVERGENT: the two differ, or remaining is negative (the fee was earned more than once); figures.difference says by how much. UNAVAILABLE: the ledger did not answer, so figures is absent.
MATCH, DIVERGENT, UNAVAILABLE 
