def METHOD_NAME(self, field: FormField) -> None:
    balance = sum(split_form['amount'].data for split_form in field
                  if split_form['amount'].data is not None)
    if balance != 0:
        raise ValidationError("Buchung ist nicht ausgeglichen.")