Contract

Invoice are created from Contracts. When an Invoice is generated, the status of a Contract is updated (just like on other Niagara components there's, 'Status', 'Last Ok Time' and 'Last Failure Time' Properties. A Contract also contains some of the following Properties...

A Contract can be disabled. Once a Contract is disabled, no more Invoices can be generated using that Contract.