Adding real exported energy

I have placed a SDM630 meter in my installation that can measure imported and exported data. I also have the inverter measuring generation. I can upload the imported power (from the net) to pvoutput but cannot find how to upload the real exported energy.

Since my real consumption is:
generation - export (when export >0) ir
import
the current values are incorrect since consumption is measured through v4, in my installation v4 = 0 when power is exported.

much obliged, ralph

Add n=1 to indicate upload data is Net to the Add Status request, then -

v4 = Import
v2 = Export

See Net Data section from the below -

https://pvoutput.org/help.html#api-addstatus