diff --git a/src/clj/auto_ap/graphql/invoices.clj b/src/clj/auto_ap/graphql/invoices.clj index 2d058b60..eea32edb 100644 --- a/src/clj/auto_ap/graphql/invoices.clj +++ b/src/clj/auto_ap/graphql/invoices.clj @@ -168,7 +168,7 @@ (assert-valid-expense-accounts (:expense_accounts in)) (assert-invoice-amounts-add-up in) (let [transaction-result (audit-transact [(add-invoice-transaction in)] (:id context))] - (-> (gq-checks/print-checks [{:invoice-id (get-in transaction-result [:tempids "invoice"]) + (-> (gq-checks/print-checks-internal [{:invoice-id (get-in transaction-result [:tempids "invoice"]) :amount total}] client_id bank-account-id