def receive_invoice(invoice: Invoice, *args, **kwargs):
    invoice.customer_received = True
    invoice.save()
def receive_invoice(invoice: Invoice, *args, **kwargs):
    invoice.customer_received = True
    invoice.save()