Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Get an invoice by number

Description

Retrieves an invoice by it's invoice number.

Package Details

Interface

IInvoiceManager

Syntax

await invoiceManager.GetByNumber(string number);

Returns

Task<Invoice>

API

GET
/api/v1/invoices?number=your_number

Parameters

Querystring
number (string): the invoice number.

Returns

200 OK - Invoice

Example

//get the invoice by number.
const string invoiceNumber = "123abc";
var invoice = await invoiceManager.GetByNumber(invoiceNumber);

  • No labels