{ "example": "List pending invoices filtered by matter", "request": { "method": "GET", "path": "/api/v1/invoices", "url": "https://app.simplelegal.com/api/v1/invoices", "headers": { "Authorization": "Basic " }, "queryParameters": { "status": "pending", "matter_id": "matter-abc123", "page": 1, "page_size": 25 } }, "response": { "status": 200, "body": { "count": 2, "next": null, "previous": null, "results": [ { "id": "inv-001", "invoice_number": "WP-2026-0234", "matter_id": "matter-abc123", "vendor_id": "vendor-wilson-partners", "status": "pending", "invoice_date": "2026-04-30", "due_date": "2026-05-30", "currency": "USD", "total_amount": 42500.00, "approved_amount": null, "line_items": [ { "id": "li-001", "type": "fee", "description": "Patent analysis and claim review", "timekeeper": "Robert Johnson", "hours": 12.5, "rate": 500.00, "amount": 6250.00, "task_code": "L110", "activity_code": "A101" }, { "id": "li-002", "type": "fee", "description": "Research prior art", "timekeeper": "Sarah Lee", "hours": 18.0, "rate": 350.00, "amount": 6300.00, "task_code": "L120", "activity_code": "A102" } ], "created_at": "2026-05-01T14:00:00Z", "updated_at": "2026-05-01T14:00:00Z" } ] } } }