Billing: GetInvoices
GetInvoices
Lists all invoices for the currently logged in account
Authentication Methods
- With a username and password
- With AMS username and password
Input Parameter | Type | Description |
---|---|---|
Token* | String | Security token |
PartnerName | string | Partner account number<br/><br/>example: nmra000001 |
*=required
EXAMPLES
curl -v ' https://secure.nomadesk.com/nomadesk-billing/Api?Task=GetInvoices&Token=qa3d0fn1sio5ejlsbklut9k4c3'
RESPONSE
<Response>
<Header>
<Status>1</Status>
<Message></Message>
<CreationDstamp>1329912779</CreationDstamp>
</Header>
<Body>
<Invoices>
<Invoice>
<ID>4028e6963577fe0d0135862f04a73ffb</ID>
<AdjustmentAmount></AdjustmentAmount>
<Amount>149.99</Amount>
<AmountWithoutTax>123.94</AmountWithoutTax>
<Balance>149.99</Balance>
<Comments></Comments>
<CreatedDate>2012-02-16T04:42:02.000-08:00</CreatedDate>
<DueDate>2012-02-22T00:00:00.000-08:00</DueDate>
<IncludesOneTime>1</IncludesOneTime>
<IncludesRecurring>1</IncludesRecurring>
<IncludesUsage>1</IncludesUsage>
<InvoiceDate>2012-02-22T00:00:00.000-08:00</InvoiceDate>
<InvoiceNumber>INV00000125</InvoiceNumber>
<LastEmailSentDate></LastEmailSentDate>
<PaymentAmount></PaymentAmount>
<PostedBy>4028e6973341694701334c77e2b759af</PostedBy>
<PostedDate>2012-02-22T04:07:23.000-08:00</PostedDate>
<RefundAmount></RefundAmount>
<Source></Source>
<Status>Posted</Status>
<TargetDate>2012-02-22T00:00:00.000-08:00</TargetDate>
<TaxAmount>26.05</TaxAmount>
<TaxExemptAmount></TaxExemptAmount>
<TransferredToAccounting></TransferredToAccounting>
<UpdatedDate>2012-02-22T04:07:23.000-08:00</UpdatedDate>
<Paid>false</Paid>
</Invoice>
</Invoices>
</Body>
</Response>