Invoices API
The Invoices API allows you to manage invoices, including creating, retrieving, updating, and deleting invoice records.
Available Endpoints
- Get All Invoices - Retrieve a list of all invoices
- Get Single Invoice - Retrieve detailed information about a specific invoice
- Create Invoice - Create a new invoice
- Update Invoice - Update an existing invoice
- Delete Invoice - Delete an invoice
- Send Invoice - Send an invoice to a customer
- View Invoice - View a specific invoice
- View Any Invoice - View any invoice
Base URL
All invoice endpoints use the base URL:
https://app.getmanageit.io/api/invoices
Authentication
All requests require Bearer token authentication:
Authorization: Bearer YOUR_API_KEY
Common Response Fields
Most invoice responses include these common fields:
| Field | Type | Description |
|---|---|---|
id | integer | Unique identifier for the invoice |
invoice_number | string | Human-readable invoice number |
status | string | Current status of the invoice |
total_amount | decimal | Total amount of the invoice |
currency | string | Currency code |
due_date | date | Date when the invoice is due |
created_at | datetime | When the invoice was created |
updated_at | datetime | When the invoice was last updated |
Error Handling
The API uses standard HTTP status codes to indicate success or failure:
| Code | Description |
|---|---|
| 200 | Success |
| 201 | Created |
| 400 | Bad Request |
| 401 | Unauthorized |
| 404 | Not Found |
| 422 | Validation Error |
| 500 | Server Error |
Quick Start
- Get your API key from the dashboard
- Make authenticated requests to the invoice endpoints
- Use the detailed endpoint documentation for specific request/response formats
For detailed information about each endpoint, please refer to the individual endpoint documentation linked above.