code: def update_invoice(self, invoice_id, invoice_dict):
          
          return self._create_put_request(resource=INVOICES, billomat_id=invoice_id, send_data=invoice_dict)
docs: Updates an invoice
  
          :param invoice_id: the invoice id
          :param invoice_dict: dict
          :return: dict