MIDAS API Addon MIDAS API: get_invoices

Retrieves a list of invoices for a specific client
Required Parameters
(at least 1 required)
Possible ValuesDescription
clientClient nameClient Name
orgOrganization nameOrganization name
emailemail addressEmail address
Optional ParametersPossible ValuesDescription
typedeposit | cancel | invoice | creditThe type of invoices to be returned. A value of "deposit" returns Deposit Invoices, a value of "cancel" returns Cancellation Invoices, and a value of "credit" returns Credit Notes. If omitted, (or set to "invoice") regular invoices will be returned
unsent0 | 1If "1", only unsent invoices will be returned
Example Response
↓ Show
{
	{
	"client":"Joe Bloggs (Bloggs Inc.)",
	"email":"[email protected]",
	"invoices":"MIDAS0001,MIDAS0003,MIDAS0004"
	}
}
Variables ReturnedDescription
clientClient/Organization
emailClient's email address
invoicesA comma separated list of all invoices associated with the client