code: def cancel_global_ip(self, global_ip_id):
          
          service = self.client['Network_Subnet_IpAddress_Global']
          ip_address = service.getObject(id=global_ip_id, mask='billingItem')
          billing_id = ip_address['billingItem']['id']
  
          return self.client['Billing_Item'].cancelService(id=billing_id)
docs: Cancels the specified global IP address.
  
          :param int id: The ID of the global IP to be cancelled.