Table of Contents
- API Usage Guide
- API Command Reference
- add_booking
- add_client
- add_invoice
- add_resource
- approve_request
- authenticate_user
- del_booking
- del_bookings
- del_client
- del_invoice
- del_resource
- email_client
- gen_invoice
- get_activity
- get_availability
- get_booking
- get_booking_type
- get_booking_types
- get_bookings
- get_client
- get_consumable_levels
- get_invoice
- get_invoices
- get_messages
- get_reminders
- get_resource
- get_resource_availability
- get_setting
- get_template
- get_user
- get_users_logged_in
- get_venue
- get_venue_groups
- get_venues
- get_venues_in_group
- get_venues_in_use
- get_watches
- mod_booking
- mod_client
- mod_invoice
- mod_resource
- mod_venue
- notify_user
- reject_request
- restore_booking
- set_setting
- set_template
- util_api_usage
- util_from_epoch
- util_to_epoch
- Appendix A - Activity Codes
- Appendix B - Setting Names
- Appendix C - Error Handling
- Code Samples
- Troubleshooting
- Release Notes
← Hide Table of Contents
MIDAS API: get_invoices
Retrieves a list of invoices for a specific client
Required Parameters (at least 1 required) | Possible Values | Description |
client | Client name | Client Name |
org | Organization name | Organization name |
email address | Email address |
Optional Parameters | Possible Values | Description |
type | deposit | cancel | invoice | credit | The 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 |
unsent | 0 | 1 | If "1", only unsent invoices will be returned |
Example Response ↓ Show |
{ { "client":"Joe Bloggs (Bloggs Inc.)", "email":"[email protected]", "invoices":"MIDAS0001,MIDAS0003,MIDAS0004" } } |
Variables Returned | Description |
client | Client/Organization |
Client's email address | |
invoices | A comma separated list of all invoices associated with the client |