Updates an invoice

        :param invoice_id: the invoice id
        :param invoice_dict: dict
        :return: dict

def update_invoice(self, invoice_id, invoice_dict):
        """
        Updates an invoice

        :param invoice_id: the invoice id
        :param invoice_dict: dict
        :return: dict
        """
        return self._create_put_request(resource=INVOICES, billomat_id=invoice_id, send_data=invoice_dict)