ECGridOS API v3


Click here for a complete list of operations.

InvoiceInfo

PENDING Get Invoice by InvoiceID

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
SessionID:
InvoiceID:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /v3.2/prod/ECGridOS.asmx HTTP/1.1
Host: ecgridos.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ecgridos.net/InvoiceInfo"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <InvoiceInfo xmlns="http://ecgridos.net/">
      <SessionID>string</SessionID>
      <InvoiceID>int</InvoiceID>
    </InvoiceInfo>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <InvoiceInfoResponse xmlns="http://ecgridos.net/">
      <InvoiceInfoResult>
        <InvoiceID>int</InvoiceID>
        <InvoiceNumber>string</InvoiceNumber>
        <Date>dateTime</Date>
        <ContractID>int</ContractID>
        <TotalAmount>decimal</TotalAmount>
        <PONumber>string</PONumber>
        <Notice>string</Notice>
        <SpecialNotice>string</SpecialNotice>
        <Message>string</Message>
        <Status>Pending or Sent or Paid or Canceled or AllUnpaid or All</Status>
        <StatusDate>dateTime</StatusDate>
        <DateDue>dateTime</DateDue>
        <PricelistDescription>string</PricelistDescription>
        <Terms>string</Terms>
        <BillTo>string</BillTo>
        <BillToAddress>string</BillToAddress>
        <SendTo>
          <UserID>int</UserID>
          <LoginName>string</LoginName>
          <RecoveryQuestion>string</RecoveryQuestion>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <Company>string</Company>
          <EMail>string</EMail>
          <Phone>string</Phone>
          <CellPhone>string</CellPhone>
          <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier>
          <TimeZoneOffset>short</TimeZoneOffset>
          <NetworkID>int</NetworkID>
          <MailboxID>int</MailboxID>
          <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
          <Created>dateTime</Created>
          <Modified>dateTime</Modified>
          <LastLogin>dateTime</LastLogin>
          <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
          <LockedOut>boolean</LockedOut>
          <OpenSessions>short</OpenSessions>
        </SendTo>
        <CopiesTo>
          <UserID>int</UserID>
          <LoginName>string</LoginName>
          <RecoveryQuestion>string</RecoveryQuestion>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <Company>string</Company>
          <EMail>string</EMail>
          <Phone>string</Phone>
          <CellPhone>string</CellPhone>
          <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier>
          <TimeZoneOffset>short</TimeZoneOffset>
          <NetworkID>int</NetworkID>
          <MailboxID>int</MailboxID>
          <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
          <Created>dateTime</Created>
          <Modified>dateTime</Modified>
          <LastLogin>dateTime</LastLogin>
          <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
          <LockedOut>boolean</LockedOut>
          <OpenSessions>short</OpenSessions>
        </CopiesTo>
        <Sender>
          <UserID>int</UserID>
          <LoginName>string</LoginName>
          <RecoveryQuestion>string</RecoveryQuestion>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <Company>string</Company>
          <EMail>string</EMail>
          <Phone>string</Phone>
          <CellPhone>string</CellPhone>
          <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier>
          <TimeZoneOffset>short</TimeZoneOffset>
          <NetworkID>int</NetworkID>
          <MailboxID>int</MailboxID>
          <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
          <Created>dateTime</Created>
          <Modified>dateTime</Modified>
          <LastLogin>dateTime</LastLogin>
          <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
          <LockedOut>boolean</LockedOut>
          <OpenSessions>short</OpenSessions>
        </Sender>
        <LineItems>
          <LineItem>
            <LineItemNumber>short</LineItemNumber>
            <LineDate>dateTime</LineDate>
            <PriceListID>int</PriceListID>
            <PriceListDescription>string</PriceListDescription>
            <SystemObject>User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject>
            <SystemID>int</SystemID>
            <SystemName>string</SystemName>
            <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level>
            <LevelName>string</LevelName>
            <Model>Simple or Tiered or Stacked</Model>
            <Schedule xsi:nil="true" />
            <Actual>decimal</Actual>
            <QuantityBilled>decimal</QuantityBilled>
            <Taxable>boolean</Taxable>
            <Amount>decimal</Amount>
          </LineItem>
          <LineItem>
            <LineItemNumber>short</LineItemNumber>
            <LineDate>dateTime</LineDate>
            <PriceListID>int</PriceListID>
            <PriceListDescription>string</PriceListDescription>
            <SystemObject>User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject>
            <SystemID>int</SystemID>
            <SystemName>string</SystemName>
            <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level>
            <LevelName>string</LevelName>
            <Model>Simple or Tiered or Stacked</Model>
            <Schedule xsi:nil="true" />
            <Actual>decimal</Actual>
            <QuantityBilled>decimal</QuantityBilled>
            <Taxable>boolean</Taxable>
            <Amount>decimal</Amount>
          </LineItem>
        </LineItems>
      </InvoiceInfoResult>
    </InvoiceInfoResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /v3.2/prod/ECGridOS.asmx HTTP/1.1
Host: ecgridos.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <InvoiceInfo xmlns="http://ecgridos.net/">
      <SessionID>string</SessionID>
      <InvoiceID>int</InvoiceID>
    </InvoiceInfo>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <InvoiceInfoResponse xmlns="http://ecgridos.net/">
      <InvoiceInfoResult>
        <InvoiceID>int</InvoiceID>
        <InvoiceNumber>string</InvoiceNumber>
        <Date>dateTime</Date>
        <ContractID>int</ContractID>
        <TotalAmount>decimal</TotalAmount>
        <PONumber>string</PONumber>
        <Notice>string</Notice>
        <SpecialNotice>string</SpecialNotice>
        <Message>string</Message>
        <Status>Pending or Sent or Paid or Canceled or AllUnpaid or All</Status>
        <StatusDate>dateTime</StatusDate>
        <DateDue>dateTime</DateDue>
        <PricelistDescription>string</PricelistDescription>
        <Terms>string</Terms>
        <BillTo>string</BillTo>
        <BillToAddress>string</BillToAddress>
        <SendTo>
          <UserID>int</UserID>
          <LoginName>string</LoginName>
          <RecoveryQuestion>string</RecoveryQuestion>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <Company>string</Company>
          <EMail>string</EMail>
          <Phone>string</Phone>
          <CellPhone>string</CellPhone>
          <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier>
          <TimeZoneOffset>short</TimeZoneOffset>
          <NetworkID>int</NetworkID>
          <MailboxID>int</MailboxID>
          <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
          <Created>dateTime</Created>
          <Modified>dateTime</Modified>
          <LastLogin>dateTime</LastLogin>
          <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
          <LockedOut>boolean</LockedOut>
          <OpenSessions>short</OpenSessions>
        </SendTo>
        <CopiesTo>
          <UserID>int</UserID>
          <LoginName>string</LoginName>
          <RecoveryQuestion>string</RecoveryQuestion>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <Company>string</Company>
          <EMail>string</EMail>
          <Phone>string</Phone>
          <CellPhone>string</CellPhone>
          <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier>
          <TimeZoneOffset>short</TimeZoneOffset>
          <NetworkID>int</NetworkID>
          <MailboxID>int</MailboxID>
          <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
          <Created>dateTime</Created>
          <Modified>dateTime</Modified>
          <LastLogin>dateTime</LastLogin>
          <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
          <LockedOut>boolean</LockedOut>
          <OpenSessions>short</OpenSessions>
        </CopiesTo>
        <Sender>
          <UserID>int</UserID>
          <LoginName>string</LoginName>
          <RecoveryQuestion>string</RecoveryQuestion>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <Company>string</Company>
          <EMail>string</EMail>
          <Phone>string</Phone>
          <CellPhone>string</CellPhone>
          <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier>
          <TimeZoneOffset>short</TimeZoneOffset>
          <NetworkID>int</NetworkID>
          <MailboxID>int</MailboxID>
          <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
          <Created>dateTime</Created>
          <Modified>dateTime</Modified>
          <LastLogin>dateTime</LastLogin>
          <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
          <LockedOut>boolean</LockedOut>
          <OpenSessions>short</OpenSessions>
        </Sender>
        <LineItems>
          <LineItem>
            <LineItemNumber>short</LineItemNumber>
            <LineDate>dateTime</LineDate>
            <PriceListID>int</PriceListID>
            <PriceListDescription>string</PriceListDescription>
            <SystemObject>User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject>
            <SystemID>int</SystemID>
            <SystemName>string</SystemName>
            <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level>
            <LevelName>string</LevelName>
            <Model>Simple or Tiered or Stacked</Model>
            <Schedule xsi:nil="true" />
            <Actual>decimal</Actual>
            <QuantityBilled>decimal</QuantityBilled>
            <Taxable>boolean</Taxable>
            <Amount>decimal</Amount>
          </LineItem>
          <LineItem>
            <LineItemNumber>short</LineItemNumber>
            <LineDate>dateTime</LineDate>
            <PriceListID>int</PriceListID>
            <PriceListDescription>string</PriceListDescription>
            <SystemObject>User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject>
            <SystemID>int</SystemID>
            <SystemName>string</SystemName>
            <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level>
            <LevelName>string</LevelName>
            <Model>Simple or Tiered or Stacked</Model>
            <Schedule xsi:nil="true" />
            <Actual>decimal</Actual>
            <QuantityBilled>decimal</QuantityBilled>
            <Taxable>boolean</Taxable>
            <Amount>decimal</Amount>
          </LineItem>
        </LineItems>
      </InvoiceInfoResult>
    </InvoiceInfoResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /v3.2/prod/ECGridOS.asmx/InvoiceInfo?SessionID=string&InvoiceID=string HTTP/1.1
Host: ecgridos.net
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Invoice xmlns="http://ecgridos.net/">
  <InvoiceID>int</InvoiceID>
  <InvoiceNumber>string</InvoiceNumber>
  <Date>dateTime</Date>
  <ContractID>int</ContractID>
  <TotalAmount>decimal</TotalAmount>
  <PONumber>string</PONumber>
  <Notice>string</Notice>
  <SpecialNotice>string</SpecialNotice>
  <Message>string</Message>
  <Status>Pending or Sent or Paid or Canceled or AllUnpaid or All</Status>
  <StatusDate>dateTime</StatusDate>
  <DateDue>dateTime</DateDue>
  <PricelistDescription>string</PricelistDescription>
  <Terms>string</Terms>
  <BillTo>string</BillTo>
  <BillToAddress>string</BillToAddress>
  <SendTo>
    <UserID>int</UserID>
    <LoginName>string</LoginName>
    <RecoveryQuestion>string</RecoveryQuestion>
    <FirstName>string</FirstName>
    <LastName>string</LastName>
    <Company>string</Company>
    <EMail>string</EMail>
    <Phone>string</Phone>
    <CellPhone>string</CellPhone>
    <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier>
    <TimeZoneOffset>short</TimeZoneOffset>
    <NetworkID>int</NetworkID>
    <MailboxID>int</MailboxID>
    <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
    <Created>dateTime</Created>
    <Modified>dateTime</Modified>
    <LastLogin>dateTime</LastLogin>
    <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
    <LockedOut>boolean</LockedOut>
    <OpenSessions>short</OpenSessions>
  </SendTo>
  <CopiesTo>
    <UserID>int</UserID>
    <LoginName>string</LoginName>
    <RecoveryQuestion>string</RecoveryQuestion>
    <FirstName>string</FirstName>
    <LastName>string</LastName>
    <Company>string</Company>
    <EMail>string</EMail>
    <Phone>string</Phone>
    <CellPhone>string</CellPhone>
    <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier>
    <TimeZoneOffset>short</TimeZoneOffset>
    <NetworkID>int</NetworkID>
    <MailboxID>int</MailboxID>
    <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
    <Created>dateTime</Created>
    <Modified>dateTime</Modified>
    <LastLogin>dateTime</LastLogin>
    <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
    <LockedOut>boolean</LockedOut>
    <OpenSessions>short</OpenSessions>
  </CopiesTo>
  <Sender>
    <UserID>int</UserID>
    <LoginName>string</LoginName>
    <RecoveryQuestion>string</RecoveryQuestion>
    <FirstName>string</FirstName>
    <LastName>string</LastName>
    <Company>string</Company>
    <EMail>string</EMail>
    <Phone>string</Phone>
    <CellPhone>string</CellPhone>
    <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier>
    <TimeZoneOffset>short</TimeZoneOffset>
    <NetworkID>int</NetworkID>
    <MailboxID>int</MailboxID>
    <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
    <Created>dateTime</Created>
    <Modified>dateTime</Modified>
    <LastLogin>dateTime</LastLogin>
    <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
    <LockedOut>boolean</LockedOut>
    <OpenSessions>short</OpenSessions>
  </Sender>
  <LineItems>
    <LineItem>
      <LineItemNumber>short</LineItemNumber>
      <LineDate>dateTime</LineDate>
      <PriceListID>int</PriceListID>
      <PriceListDescription>string</PriceListDescription>
      <SystemObject>User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject>
      <SystemID>int</SystemID>
      <SystemName>string</SystemName>
      <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level>
      <LevelName>string</LevelName>
      <Model>Simple or Tiered or Stacked</Model>
      <Schedule>
        <ScheduleID>int</ScheduleID>
        <Allowance>decimal</Allowance>
        <Minimum>int</Minimum>
        <Maximum>int</Maximum>
        <Block>decimal</Block>
        <Rate>decimal</Rate>
        <CatalogID>int</CatalogID>
        <Description>string</Description>
        <AccountReport>FixedRate or Statistics or TrafficAll or TrafficIntraNetwork or TrafficInterECGrid or TrafficOffNetwork or TrafficSpecial or TrafficKCInterchangeTiered</AccountReport>
        <Measure>Each or FixedRate or NewInterconnects or CurrentMailboxes or ActiveQIDs or ActiveTPs or TotalTrans or ToTrans or FromTrans or TotalKCs or ToKCs or FromKCs or RegisteredQIDs or RegisteredTPs or MigratedTPs or CreditPercentage or DebitPercentage or Subtotal or TieredKCIntCount or MonthlyMinimum or Credit</Measure>
        <SpecifiedNetworkID>int</SpecifiedNetworkID>
        <IncludeRootMailbox>boolean</IncludeRootMailbox>
      </Schedule>
      <Actual>decimal</Actual>
      <QuantityBilled>decimal</QuantityBilled>
      <Taxable>boolean</Taxable>
      <Amount>decimal</Amount>
    </LineItem>
    <LineItem>
      <LineItemNumber>short</LineItemNumber>
      <LineDate>dateTime</LineDate>
      <PriceListID>int</PriceListID>
      <PriceListDescription>string</PriceListDescription>
      <SystemObject>User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject>
      <SystemID>int</SystemID>
      <SystemName>string</SystemName>
      <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level>
      <LevelName>string</LevelName>
      <Model>Simple or Tiered or Stacked</Model>
      <Schedule>
        <ScheduleID>int</ScheduleID>
        <Allowance>decimal</Allowance>
        <Minimum>int</Minimum>
        <Maximum>int</Maximum>
        <Block>decimal</Block>
        <Rate>decimal</Rate>
        <CatalogID>int</CatalogID>
        <Description>string</Description>
        <AccountReport>FixedRate or Statistics or TrafficAll or TrafficIntraNetwork or TrafficInterECGrid or TrafficOffNetwork or TrafficSpecial or TrafficKCInterchangeTiered</AccountReport>
        <Measure>Each or FixedRate or NewInterconnects or CurrentMailboxes or ActiveQIDs or ActiveTPs or TotalTrans or ToTrans or FromTrans or TotalKCs or ToKCs or FromKCs or RegisteredQIDs or RegisteredTPs or MigratedTPs or CreditPercentage or DebitPercentage or Subtotal or TieredKCIntCount or MonthlyMinimum or Credit</Measure>
        <SpecifiedNetworkID>int</SpecifiedNetworkID>
        <IncludeRootMailbox>boolean</IncludeRootMailbox>
      </Schedule>
      <Actual>decimal</Actual>
      <QuantityBilled>decimal</QuantityBilled>
      <Taxable>boolean</Taxable>
      <Amount>decimal</Amount>
    </LineItem>
  </LineItems>
</Invoice>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /v3.2/prod/ECGridOS.asmx/InvoiceInfo HTTP/1.1
Host: ecgridos.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length

SessionID=string&InvoiceID=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Invoice xmlns="http://ecgridos.net/">
  <InvoiceID>int</InvoiceID>
  <InvoiceNumber>string</InvoiceNumber>
  <Date>dateTime</Date>
  <ContractID>int</ContractID>
  <TotalAmount>decimal</TotalAmount>
  <PONumber>string</PONumber>
  <Notice>string</Notice>
  <SpecialNotice>string</SpecialNotice>
  <Message>string</Message>
  <Status>Pending or Sent or Paid or Canceled or AllUnpaid or All</Status>
  <StatusDate>dateTime</StatusDate>
  <DateDue>dateTime</DateDue>
  <PricelistDescription>string</PricelistDescription>
  <Terms>string</Terms>
  <BillTo>string</BillTo>
  <BillToAddress>string</BillToAddress>
  <SendTo>
    <UserID>int</UserID>
    <LoginName>string</LoginName>
    <RecoveryQuestion>string</RecoveryQuestion>
    <FirstName>string</FirstName>
    <LastName>string</LastName>
    <Company>string</Company>
    <EMail>string</EMail>
    <Phone>string</Phone>
    <CellPhone>string</CellPhone>
    <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier>
    <TimeZoneOffset>short</TimeZoneOffset>
    <NetworkID>int</NetworkID>
    <MailboxID>int</MailboxID>
    <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
    <Created>dateTime</Created>
    <Modified>dateTime</Modified>
    <LastLogin>dateTime</LastLogin>
    <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
    <LockedOut>boolean</LockedOut>
    <OpenSessions>short</OpenSessions>
  </SendTo>
  <CopiesTo>
    <UserID>int</UserID>
    <LoginName>string</LoginName>
    <RecoveryQuestion>string</RecoveryQuestion>
    <FirstName>string</FirstName>
    <LastName>string</LastName>
    <Company>string</Company>
    <EMail>string</EMail>
    <Phone>string</Phone>
    <CellPhone>string</CellPhone>
    <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier>
    <TimeZoneOffset>short</TimeZoneOffset>
    <NetworkID>int</NetworkID>
    <MailboxID>int</MailboxID>
    <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
    <Created>dateTime</Created>
    <Modified>dateTime</Modified>
    <LastLogin>dateTime</LastLogin>
    <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
    <LockedOut>boolean</LockedOut>
    <OpenSessions>short</OpenSessions>
  </CopiesTo>
  <Sender>
    <UserID>int</UserID>
    <LoginName>string</LoginName>
    <RecoveryQuestion>string</RecoveryQuestion>
    <FirstName>string</FirstName>
    <LastName>string</LastName>
    <Company>string</Company>
    <EMail>string</EMail>
    <Phone>string</Phone>
    <CellPhone>string</CellPhone>
    <CellCarrier>NoChange or Undefined or ATTCingular or Verizon or TMobile or SprintPCS or Nextel or Alltel or VirginMobile or ATTPreCingular or ATT or BoostMobile or USCellular or MetroPCS or Powertel</CellCarrier>
    <TimeZoneOffset>short</TimeZoneOffset>
    <NetworkID>int</NetworkID>
    <MailboxID>int</MailboxID>
    <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
    <Created>dateTime</Created>
    <Modified>dateTime</Modified>
    <LastLogin>dateTime</LastLogin>
    <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
    <LockedOut>boolean</LockedOut>
    <OpenSessions>short</OpenSessions>
  </Sender>
  <LineItems>
    <LineItem>
      <LineItemNumber>short</LineItemNumber>
      <LineDate>dateTime</LineDate>
      <PriceListID>int</PriceListID>
      <PriceListDescription>string</PriceListDescription>
      <SystemObject>User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject>
      <SystemID>int</SystemID>
      <SystemName>string</SystemName>
      <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level>
      <LevelName>string</LevelName>
      <Model>Simple or Tiered or Stacked</Model>
      <Schedule>
        <ScheduleID>int</ScheduleID>
        <Allowance>decimal</Allowance>
        <Minimum>int</Minimum>
        <Maximum>int</Maximum>
        <Block>decimal</Block>
        <Rate>decimal</Rate>
        <CatalogID>int</CatalogID>
        <Description>string</Description>
        <AccountReport>FixedRate or Statistics or TrafficAll or TrafficIntraNetwork or TrafficInterECGrid or TrafficOffNetwork or TrafficSpecial or TrafficKCInterchangeTiered</AccountReport>
        <Measure>Each or FixedRate or NewInterconnects or CurrentMailboxes or ActiveQIDs or ActiveTPs or TotalTrans or ToTrans or FromTrans or TotalKCs or ToKCs or FromKCs or RegisteredQIDs or RegisteredTPs or MigratedTPs or CreditPercentage or DebitPercentage or Subtotal or TieredKCIntCount or MonthlyMinimum or Credit</Measure>
        <SpecifiedNetworkID>int</SpecifiedNetworkID>
        <IncludeRootMailbox>boolean</IncludeRootMailbox>
      </Schedule>
      <Actual>decimal</Actual>
      <QuantityBilled>decimal</QuantityBilled>
      <Taxable>boolean</Taxable>
      <Amount>decimal</Amount>
    </LineItem>
    <LineItem>
      <LineItemNumber>short</LineItemNumber>
      <LineDate>dateTime</LineDate>
      <PriceListID>int</PriceListID>
      <PriceListDescription>string</PriceListDescription>
      <SystemObject>User or Network or Mailbox or ECGridID or Interconnect or Migration or Parcel or Interchange or CarbonCopy or CallBackEvent or AS2 or GISB or ParcelNotes or InterconnectNote or PriceList or Contract or Invoice</SystemObject>
      <SystemID>int</SystemID>
      <SystemName>string</SystemName>
      <Level>Minimum or Additional or OneTime or General or Developement or Level1 or Level2 or Level3 or Level4 or Level5 or Level6 or Level7 or Level8 or Level9 or Tier1 or Tier2 or Tier3 or Tier4 or Tier5 or Tier6 or Tier7 or Tier8 or Tier9</Level>
      <LevelName>string</LevelName>
      <Model>Simple or Tiered or Stacked</Model>
      <Schedule>
        <ScheduleID>int</ScheduleID>
        <Allowance>decimal</Allowance>
        <Minimum>int</Minimum>
        <Maximum>int</Maximum>
        <Block>decimal</Block>
        <Rate>decimal</Rate>
        <CatalogID>int</CatalogID>
        <Description>string</Description>
        <AccountReport>FixedRate or Statistics or TrafficAll or TrafficIntraNetwork or TrafficInterECGrid or TrafficOffNetwork or TrafficSpecial or TrafficKCInterchangeTiered</AccountReport>
        <Measure>Each or FixedRate or NewInterconnects or CurrentMailboxes or ActiveQIDs or ActiveTPs or TotalTrans or ToTrans or FromTrans or TotalKCs or ToKCs or FromKCs or RegisteredQIDs or RegisteredTPs or MigratedTPs or CreditPercentage or DebitPercentage or Subtotal or TieredKCIntCount or MonthlyMinimum or Credit</Measure>
        <SpecifiedNetworkID>int</SpecifiedNetworkID>
        <IncludeRootMailbox>boolean</IncludeRootMailbox>
      </Schedule>
      <Actual>decimal</Actual>
      <QuantityBilled>decimal</QuantityBilled>
      <Taxable>boolean</Taxable>
      <Amount>decimal</Amount>
    </LineItem>
  </LineItems>
</Invoice>