Merchant Invoice

Description

Detailed listing of fees for services provided by CheckCommerce for a specific month

Report Parameters

Report Name: Merchant_Invoice

Name

Type

Max. Length

Required

Description

CoNo

string

10

The merchant number provided by CheckCommerce that uniquely identifies the merchant.

Month

int

2

Two digit month

Year

int

4

Four digit year

Example Request

/EpnAPI/ActiveReports/GetReport.aspx?&Token=YOURTOKEN&Action=Report&OutputType=HTML&ReportPermDesc=Merchant_Invoice&Parameter_Month=02&Parameter_Year=2017-07-27&Parameter_Cono={MerchantNumber}&ReportXSLTPermDesc=Merchant_Invoice

SDK Example

//Get token
string token = Token.GetToken("{MerchantNumber}", "{MerchantPassword}");
Console.WriteLine(token);

//View available reports
D.ReportDefinition[] reports = Manage.ReportList(token,
D.ReportDefinition.OutputType.JSON.ToString());
foreach (D.ReportDefinition report in reports)
{
    Console.WriteLine(report.ToString());
}

//Set parameters for report
D.ReportDefinition.Parameter[] reportParams = new D.ReportDefinition.Parameter[]{
new D.ReportDefinition.Parameter { PermDesc = "CoNo", ParamValue = "{MerchantNumber}" },
new D.ReportDefinition.Parameter { PermDesc = "Month", ParamValue = "02" },
new D.ReportDefinition.Parameter { PermDesc = "Year", ParamValue = "2017" }};

//Run report
Response resp = GetReport.RunReport(token, "Merchant_Invoice", reportParams,
D.ReportDefinition.OutputType.HTML);
Console.WriteLine(resp.I.SData);