From 1e0232238280c464f435e9a6b985f841f5ae480a Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 11 Apr 2026 17:57:22 -0400 Subject: [PATCH] API: Invoice_items only return if item_id or invoice_id is specified and do not return all invoice items --- api/v1/invoice_items/read.php | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/api/v1/invoice_items/read.php b/api/v1/invoice_items/read.php index 4ec86e11..9b6a435b 100644 --- a/api/v1/invoice_items/read.php +++ b/api/v1/invoice_items/read.php @@ -1,5 +1,4 @@ 'False', + 'message' => 'A filter is required. Please supply either invoice_id or item_id.', + 'count' => 0, + 'data' => [] + ]); + exit; } // Output