...

Command billing

Package main of billing provides an example of using a few of the high-level TwiceDB API methods to simulate managing contracts in their various stages of negotiation.