I am in the process of creating a python report writer that includes the information contained in "License Usage" page of the management portal. I think I have a handle on the local values contained in the report using the %SYSTEM.License class I have those defined using these methods:
Current License Units Used - -> LUConsumed
Maximum License Units Used --> LUMaxConsumed
License Units Enforced --> KeyEnforcedUnits
License Units Authorized --> KeyLicenseUnits