A Smart Contract is a set of rules specified by the buyer on an Open Account Program. Kanexa checks all the rules in a Smart Contract for each invoice submitted and can automatically approve an invoice that satisfies all the rules. When one or more rule is not satisfied the invoice is marked as discrepant.