Invoice Aggregate Line Items Report
Description
Returns a List of Invoice Aggregate Line Items
Report Parameters
Name | Type | Max. Length | Required | Description |
---|---|---|---|---|
MID | String | 10 |
| Company Number |
Year | String | 4 |
| The year in YYYY format |
Month | String | 2 |
| The month in MM format |
Test | Bit | 1 |
| Is 1 if this request a test. |
Example Request
/EpnPublic/ActiveReports/GetReport.aspx?&Action=Report&Token={YourToken}&ReportPermDesc=InvoiceAggregateLineItems&OutputType=XML&Parameter_MID={MID}&Parameter_Year=2023&Parameter_Month=02
SDK Example
string token = Token.GetToken("{MerchantNumber}", "{MerchantPassword}"); Console.WriteLine(token); //Set parameters for report D.ReportDefinition.Parameter[] reportParams = new D.ReportDefinition.Parameter[] { new D.ReportDefinition.Parameter { PermDesc = "MID", ParamValue = "{MerchantNumber}" }, new D.ReportDefinition.Parameter { PermDesc = "Year", ParamValue = "2023" }, new D.ReportDefinition.Parameter { PermDesc = "Month", ParamValue = "02" } }; //Run report Response resp = GetReport.RunReport(token, "InvoiceAggregateLineItems", reportParams, D.ReportDefinition.OutputType.HTML); Console.WriteLine(resp.I.SData);