@property
    def subtotal(self):
        subtotal = Decimal(0)
        for item in self.items.all(): subtotal += item.amount
        return subtotal
Subtotal, the amount excluding the taxes
dataset/ETHPy150Open bread-and-pepper/django-brookie/brookie/models.py/Invoice.subtotal