Get details of a specific invoice
GET/company/invoices/:id
Endpoint to retrieve the complete details of a specific invoice by its ID. Requires valid JWT authentication.
Use cases:
- View complete invoice details
- Verify payment status
- Transaction audit
Request
Responses
- 200
- 401
- 404
Invoice details retrieved successfully.
Unauthorized. Invalid or missing JWT token.
Solution: Verify that the token is valid and included in the Authorization header.
Invoice not found. Possible causes:
- The ID does not exist
- The invoice belongs to another company
Solution: Verify the ID and ensure you have permission to access this invoice.