GetInvoiceDetails


 

Overview

Quick Links

The GetInvoiceDetails method retrieves Invoice results from the system based on an Invoice Id. The Invoice Id can be found by searching for the invoice using the GetInvoiceHeaders call.

Resource Information



Request FormatXML
Response FormatXML

Request Header

NameTypeDescription
StringStringAuthentication Token

Request Body

NameTypeDescription
invoiceIdStringSelect the Invoice with the specified Id.

Response

NameTypeDescription
ResultInvoiceResultsThe actual result. A list of Invoice Details for the specified invoice.
ResultCodeStringString indicating the result. Either "Success" or "Error".
ResultMessageStringEmpty when call successful, error message otherwise.

In the case of an internal unmanaged fault, a Fault object is returned instead, providing details on the issue..


Examples

Request

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
 <Header xmlns:s="System"><s:String>22ac143a-6993-42de-95ba-adc2f0a8a38d</s:String></Header>
 <Body>
 <GetInvoiceDetails xmlns="http://tempuri.org/">
 <invoiceId>5454069f5f568a02741a4890</invoiceId>
 </GetInvoiceDetails>
 </Body>
</Envelope>

Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
 <s:Body>
 <GetInvoiceDetailsResponse xmlns="http://tempuri.org/">
 <GetInvoiceDetailsResult xmlns:a="http://schemas.datacontract.org/2004/07/Kolonel.Public.Service.API.Contracts.V1_0" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
 <a:Result>
 <a:BillingPeriodEnd>2014-11-30T23:59:59.999+01:00</a:BillingPeriodEnd>
 <a:BillingPeriodStart>2014-11-01T00:00:00.000+01:00</a:BillingPeriodStart>
 <a:CustomerCode>1</a:CustomerCode>
 <a:CustomerName>Roelof Spijker</a:CustomerName>
 <a:DateValues/>
 <a:Id>5454069f5f568a02741a4890</a:Id>
 <a:InvoiceCalculationDate>2014-12-17T23:08:21.547+01:00</a:InvoiceCalculationDate>
 <a:InvoiceDate i:nil="true"/>
 <a:InvoiceExportDate>2014-12-23T11:38:21.309+01:00</a:InvoiceExportDate>
 <a:InvoiceItems>
 <a:InvoiceDetailItem>
 <a:BillingOutputTags xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
 <b:string>Specification</b:string>
 <b:string>SpecCat:International SMS</b:string>
 <b:string>type:SNumber</b:string>
 </a:BillingOutputTags>
 <a:CalculationDate>2014-12-17T23:07:29.063+01:00</a:CalculationDate>
 <a:CalculationOrder>1</a:CalculationOrder>
 <a:Cost>0.18</a:Cost>
 <a:CostRuleValueUsed>0.18</a:CostRuleValueUsed>
 <a:DateValues/>
 <a:FromDate>2014-11-01T02:51:15.000+01:00</a:FromDate>
 <a:Id>5491fea15f568a007046ab33</a:Id>
 <a:InvoiceLabel>1 SMS International SMS Z7</a:InvoiceLabel>
 <a:IsIntermediateResult>false</a:IsIntermediateResult>
 <a:MeasuredQuantity>1</a:MeasuredQuantity>
 <a:NumericValues/>
 <a:OperatorUsed>PRICE</a:OperatorUsed>
 <a:OperatorValueUsed>0.25</a:OperatorValueUsed>
 <a:ProductTagName>International SMS Z7</a:ProductTagName>
 <a:Quantity>1</a:Quantity>
 <a:StringValues>
 <a:NameValuePair>
 <a:Name>MSISDNFrom</a:Name>
 <a:Value>31617500402</a:Value>
 </a:NameValuePair>
 <a:NameValuePair>
 <a:Name>MSISDNTo</a:Name>
 <a:Value>002253112707</a:Value>
 </a:NameValuePair>
 </a:StringValues>
 <a:ToDate>2014-11-01T02:51:15.000+01:00</a:ToDate>
 <a:Value>0.25</a:Value>
 </a:InvoiceDetailItem>
 <a:InvoiceDetailItem>
 <a:BillingOutputTags xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
 <b:string>Specification</b:string>
 <b:string>SpecCat:International SMS</b:string>
 <b:string>type:SNumber</b:string>
 </a:BillingOutputTags>
 <a:CalculationDate>2014-12-17T23:07:29.078+01:00</a:CalculationDate>
 <a:CalculationOrder>2</a:CalculationOrder>
 <a:Cost>0.18</a:Cost>
 <a:CostRuleValueUsed>0.18</a:CostRuleValueUsed>
 <a:DateValues/>
 <a:FromDate>2014-11-01T12:51:15.000+01:00</a:FromDate>
 <a:Id>5491fea15f568a007046ab34</a:Id>
 <a:InvoiceLabel>1 SMS International SMS Z7</a:InvoiceLabel>
 <a:IsIntermediateResult>false</a:IsIntermediateResult>
 <a:MeasuredQuantity>1</a:MeasuredQuantity>
 <a:NumericValues/>
 <a:OperatorUsed>PRICE</a:OperatorUsed>
 <a:OperatorValueUsed>0.25</a:OperatorValueUsed>
 <a:ProductTagName>International SMS Z7</a:ProductTagName>
 <a:Quantity>1</a:Quantity>
 <a:StringValues>
 <a:NameValuePair>
 <a:Name>MSISDNFrom</a:Name>
 <a:Value>31617500402</a:Value>
 </a:NameValuePair>
 <a:NameValuePair>
 <a:Name>MSISDNTo</a:Name>
 <a:Value>009123084826</a:Value>
 </a:NameValuePair>
 </a:StringValues>
 <a:ToDate>2014-11-01T12:51:15.000+01:00</a:ToDate>
 <a:Value>0.25</a:Value>
 </a:InvoiceDetailItem>
 <a:InvoiceDetailItem>
 <a:BillingOutputTags xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
 <b:string>Specification</b:string>
 <b:string>SpecCat:International SMS</b:string>
 <b:string>type:SNumber</b:string>
 </a:BillingOutputTags>
 <a:CalculationDate>2014-12-17T23:07:29.078+01:00</a:CalculationDate>
 <a:CalculationOrder>3</a:CalculationOrder>
 <a:Cost>0.18</a:Cost>
 <a:CostRuleValueUsed>0.18</a:CostRuleValueUsed>
 <a:DateValues/>
 <a:FromDate>2014-11-07T18:51:16.000+01:00</a:FromDate>
 <a:Id>5491fea15f568a007046ab35</a:Id>
 <a:InvoiceLabel>1 SMS International SMS Z7</a:InvoiceLabel>
 <a:IsIntermediateResult>false</a:IsIntermediateResult>
 <a:MeasuredQuantity>1</a:MeasuredQuantity>
 <a:NumericValues/>
 <a:OperatorUsed>PRICE</a:OperatorUsed>
 <a:OperatorValueUsed>0.25</a:OperatorValueUsed>
 <a:ProductTagName>International SMS Z7</a:ProductTagName>
 <a:Quantity>1</a:Quantity>
 <a:StringValues>
 <a:NameValuePair>
 <a:Name>MSISDNFrom</a:Name>
 <a:Value>31617500402</a:Value>
 </a:NameValuePair>
 <a:NameValuePair>
 <a:Name>MSISDNTo</a:Name>
 <a:Value>003634336045</a:Value>
 </a:NameValuePair>
 </a:StringValues>
 <a:ToDate>2014-11-07T18:51:16.000+01:00</a:ToDate>
 <a:Value>0.25</a:Value>
 </a:InvoiceDetailItem>
 ...
 <a:InvoiceDetailItem>
 <a:BillingOutputTags xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
 <b:string>Summary</b:string>
 <b:string>cat:Usage</b:string>
 <b:string>Specification</b:string>
 <b:string>SpecSubTotal</b:string>
 <b:string>SpecCat:Roaming Data</b:string>
 <b:string>Order:f</b:string>
 <b:string>unit:Mb</b:string>
 <b:string>subUnit:Mb</b:string>
 </a:BillingOutputTags>
 <a:CalculationDate>2014-12-17T23:07:57.031+01:00</a:CalculationDate>
 <a:CalculationOrder>1226</a:CalculationOrder>
 <a:Cost>22.02374</a:Cost>
 <a:CostRuleValueUsed>0</a:CostRuleValueUsed>
 <a:DateValues/>
 <a:FromDate>2014-11-01T02:51:15.000+01:00</a:FromDate>
 <a:Id>5491febd5f568a007046b150</a:Id>
 <a:InvoiceLabel>SubTotal(EUR) for 250.401367185 items</a:InvoiceLabel>
 <a:IsIntermediateResult>false</a:IsIntermediateResult>
 <a:MeasuredQuantity>250.40136718500003</a:MeasuredQuantity>
 <a:NumericValues/>
 <a:OperatorUsed>SUM</a:OperatorUsed>
 <a:OperatorValueUsed>0</a:OperatorValueUsed>
 <a:ProductTagName>Roaming Data</a:ProductTagName>
 <a:Quantity>250.4013671875</a:Quantity>
 <a:StringValues>
 <a:NameValuePair>
 <a:Name>MSISDNFrom</a:Name>
 <a:Value>31617500402</a:Value>
 </a:NameValuePair>
 </a:StringValues>
 <a:ToDate>2014-11-28T16:26:04.000+01:00</a:ToDate>
 <a:Value>38.19359</a:Value>
 </a:InvoiceDetailItem>
 <a:InvoiceDetailItem>
 <a:BillingOutputTags xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
 <b:string>Summary</b:string>
 <b:string>cat:Bundles</b:string>
 <b:string>SubTotal</b:string>
 <b:string>GL</b:string>
 <b:string>GL_Code:1</b:string>
 <b:string>GL_Debit</b:string>
 <b:string>Report</b:string>
 </a:BillingOutputTags>
 <a:CalculationDate>2014-12-17T23:07:58.375+01:00</a:CalculationDate>
 <a:CalculationOrder>1238</a:CalculationOrder>
 <a:Cost>0</a:Cost>
 <a:CostRuleValueUsed>0</a:CostRuleValueUsed>
 <a:DateValues/>
 <a:FromDate>2014-11-01T00:00:00.000+01:00</a:FromDate>
 <a:Id>5491febe5f568a007046b168</a:Id>
 <a:InvoiceLabel>SubTotal(EUR) for 2 items</a:InvoiceLabel>
 <a:IsIntermediateResult>false</a:IsIntermediateResult>
 <a:MeasuredQuantity>2</a:MeasuredQuantity>
 <a:NumericValues/>
 <a:OperatorUsed>SUM</a:OperatorUsed>
 <a:OperatorValueUsed>0</a:OperatorValueUsed>
 <a:ProductTagName>Bundles</a:ProductTagName>
 <a:Quantity>2</a:Quantity>
 <a:StringValues/>
 <a:ToDate>2014-11-30T23:59:59.999+01:00</a:ToDate>
 <a:Value>13.5</a:Value>
 </a:InvoiceDetailItem>
 <a:InvoiceDetailItem>
 <a:BillingOutputTags xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
 <b:string>Summary</b:string>
 <b:string>cat:Usage</b:string>
 <b:string>SubTotal</b:string>
 <b:string>GL</b:string>
 <b:string>GL_Code:2</b:string>
 <b:string>GL_Debit</b:string>
 <b:string>Report</b:string>
 </a:BillingOutputTags>
 <a:CalculationDate>2014-12-17T23:07:58.594+01:00</a:CalculationDate>
 <a:CalculationOrder>1240</a:CalculationOrder>
 <a:Cost>113.0666</a:Cost>
 <a:CostRuleValueUsed>0</a:CostRuleValueUsed>
 <a:DateValues/>
 <a:FromDate>2014-11-01T00:54:15.000+01:00</a:FromDate>
 <a:Id>5491febe5f568a007046b16c</a:Id>
 <a:InvoiceLabel>SubTotal(EUR) for 3574.515039063 items</a:InvoiceLabel>
 <a:IsIntermediateResult>false</a:IsIntermediateResult>
 <a:MeasuredQuantity>3574.5150390630006</a:MeasuredQuantity>
 <a:NumericValues/>
 <a:OperatorUsed>SUM</a:OperatorUsed>
 <a:OperatorValueUsed>0</a:OperatorValueUsed>
 <a:ProductTagName>Usage</a:ProductTagName>
 <a:Quantity>3574.5150390624995</a:Quantity>
 <a:StringValues>
 <a:NameValuePair>
 <a:Name>MSISDNFrom</a:Name>
 <a:Value>31617500402</a:Value>
 </a:NameValuePair>
 <a:NameValuePair>
 <a:Name>MaskDestination</a:Name>
 <a:Value>false</a:Value>
 </a:NameValuePair>
 </a:StringValues>
 <a:ToDate>2014-11-28T23:29:04.000+01:00</a:ToDate>
 <a:Value>201.89759</a:Value>
 </a:InvoiceDetailItem>
 <a:InvoiceDetailItem>
 <a:BillingOutputTags xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
 <b:string>Summary</b:string>
 <b:string>Total</b:string>
 <b:string>Report</b:string>
 <b:string>ReportExclVAT</b:string>
 </a:BillingOutputTags>
 <a:CalculationDate>2014-12-17T23:07:58.813+01:00</a:CalculationDate>
 <a:CalculationOrder>1242</a:CalculationOrder>
 <a:Cost>113.0666</a:Cost>
 <a:CostRuleValueUsed>0</a:CostRuleValueUsed>
 <a:DateValues/>
 <a:FromDate>2014-11-01T00:00:00.000+01:00</a:FromDate>
 <a:Id>5491febe5f568a007046b170</a:Id>
 <a:InvoiceLabel>Grand Total</a:InvoiceLabel>
 <a:IsIntermediateResult>false</a:IsIntermediateResult>
 <a:MeasuredQuantity>3576.515039062</a:MeasuredQuantity>
 <a:NumericValues/>
 <a:OperatorUsed>SUM</a:OperatorUsed>
 <a:OperatorValueUsed>0</a:OperatorValueUsed>
 <a:ProductTagName>All Products</a:ProductTagName>
 <a:Quantity>3576.5150390624995</a:Quantity>
 <a:StringValues>
 <a:NameValuePair>
 <a:Name>MSISDNFrom</a:Name>
 <a:Value>31617500402</a:Value>
 </a:NameValuePair>
 <a:NameValuePair>
 <a:Name>MaskDestination</a:Name>
 <a:Value>false</a:Value>
 </a:NameValuePair>
 </a:StringValues>
 <a:ToDate>2014-11-30T23:59:59.999+01:00</a:ToDate>
 <a:Value>215.39759</a:Value>
 </a:InvoiceDetailItem>
 <a:InvoiceDetailItem>
 <a:BillingOutputTags xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
 <b:string>VAT</b:string>
 <b:string>Summary</b:string>
 <b:string>GL</b:string>
 <b:string>GL_Code:3</b:string>
 <b:string>GL_Debit</b:string>
 <b:string>GL_Desc:VAT</b:string>
 <b:string>Report</b:string>
 <b:string>ReportVAT</b:string>
 </a:BillingOutputTags>
 <a:CalculationDate>2014-12-17T23:07:58.875+01:00</a:CalculationDate>
 <a:CalculationOrder>1245</a:CalculationOrder>
 <a:Cost>0</a:Cost>
 <a:CostRuleValueUsed>0</a:CostRuleValueUsed>
 <a:DateValues/>
 <a:FromDate>2014-11-01T00:00:00.000+01:00</a:FromDate>
 <a:Id>5491febe5f568a007046b173</a:Id>
 <a:InvoiceLabel>215.39759 EUR VAT by 21 %</a:InvoiceLabel>
 <a:IsIntermediateResult>false</a:IsIntermediateResult>
 <a:MeasuredQuantity>3576.515039062</a:MeasuredQuantity>
 <a:NumericValues/>
 <a:OperatorUsed>ADJUSTPERCENTAGE</a:OperatorUsed>
 <a:OperatorValueUsed>21</a:OperatorValueUsed>
 <a:ProductTagName>All Products</a:ProductTagName>
 <a:Quantity>3576.5150390624995</a:Quantity>
 <a:StringValues>
 <a:NameValuePair>
 <a:Name>MSISDNFrom</a:Name>
 <a:Value>31617500402</a:Value>
 </a:NameValuePair>
 <a:NameValuePair>
 <a:Name>MaskDestination</a:Name>
 <a:Value>false</a:Value>
 </a:NameValuePair>
 </a:StringValues>
 <a:ToDate>2014-11-30T23:59:59.999+01:00</a:ToDate>
 <a:Value>45.23349</a:Value>
 </a:InvoiceDetailItem>
 <a:InvoiceDetailItem>
 <a:BillingOutputTags xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
 <b:string>Summary</b:string>
 <b:string>TotalInclVAT</b:string>
 <b:string>GL</b:string>
 <b:string>GL_Code:9</b:string>
 <b:string>GL_Credit</b:string>
 <b:string>GL_Desc:Total</b:string>
 <b:string>Report</b:string>
 <b:string>ReportInclVAT</b:string>
 <b:string>overzicht</b:string>
 </a:BillingOutputTags>
 <a:CalculationDate>2014-12-17T23:07:58.875+01:00</a:CalculationDate>
 <a:CalculationOrder>1244</a:CalculationOrder>
 <a:Cost>113.0666</a:Cost>
 <a:CostRuleValueUsed>0</a:CostRuleValueUsed>
 <a:DateValues/>
 <a:FromDate>2014-11-01T00:00:00.000+01:00</a:FromDate>
 <a:Id>5491febe5f568a007046b172</a:Id>
 <a:InvoiceLabel/>
 <a:IsIntermediateResult>false</a:IsIntermediateResult>
 <a:MeasuredQuantity>3576.515039062</a:MeasuredQuantity>
 <a:NumericValues/>
 <a:OperatorUsed>ADJUSTPERCENTAGE</a:OperatorUsed>
 <a:OperatorValueUsed>21</a:OperatorValueUsed>
 <a:ProductTagName>All Products</a:ProductTagName>
 <a:Quantity>3576.5150390624995</a:Quantity>
 <a:StringValues>
 <a:NameValuePair>
 <a:Name>MSISDNFrom</a:Name>
 <a:Value>31617500402</a:Value>
 </a:NameValuePair>
 <a:NameValuePair>
 <a:Name>MaskDestination</a:Name>
 <a:Value>false</a:Value>
 </a:NameValuePair>
 </a:StringValues>
 <a:ToDate>2014-11-30T23:59:59.999+01:00</a:ToDate>
 <a:Value>260.63108</a:Value>
 </a:InvoiceDetailItem>
 </a:InvoiceItems>
 <a:InvoiceNumber i:nil="true"/>
 <a:InvoiceStatus>None</a:InvoiceStatus>
 <a:LastCalculatedCostTotal>0</a:LastCalculatedCostTotal>
 <a:LastCalculatedTotal>0</a:LastCalculatedTotal>
 <a:LastCalculationFinishDate i:nil="true"/>
 <a:LastInvoiceRunDate i:nil="true"/>
 <a:NumericValues/>
 <a:StringValues>
 <a:NameValuePair>
 <a:Name>MSISDN</a:Name>
 <a:Value>31617500402</a:Value>
 </a:NameValuePair>
 <a:NameValuePair>
 <a:Name>debNr</a:Name>
 <a:Value>10018</a:Value>
 </a:NameValuePair>
 </a:StringValues>
 </a:Result>
 <a:ResultCode>Success</a:ResultCode>
 <a:ResultMessage/>
 </GetInvoiceDetailsResult>
 </GetInvoiceDetailsResponse>
 </s:Body>
</s:Envelope>