How P&I Impacts the Data Structure
For more details on how the Proration and Inference feature works, please refer to this Guide.
In this illustrative example, the statement has charges and usages at the account level - two charges and two usages. It does not have any charges and usages at the meter level.
Data model before P&I
Before P&I, the placement of the data would be exactly as how it is presented on the bill.
![](https://files.readme.io/48026ff-Plug_API_-_Public_Guide_Diagrams2x.png)
Data model after P&I
After P&I, account level charges and usages will be represented at the meter level as well.
![](https://files.readme.io/1f9b4d5-Plug_API_-_Public_Guide_Diagrams2x_1.png)
Updated 4 months ago