{"id":160353,"date":"2026-12-02T08:45:40","date_gmt":"2026-12-02T08:45:40","guid":{"rendered":"https:\/\/docs.daftra.com\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/"},"modified":"2026-12-02T08:45:40","modified_gmt":"2026-12-02T08:45:40","slug":"automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments","status":"publish","type":"tutorial","link":"https:\/\/docs.daftra.com\/en\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/","title":{"rendered":"Automatic Payment of Invoices from Client or Supplier Credit: Enabling, Disabling and Cancelling Automatic Payments"},"content":{"rendered":"<div dir=\"ltr\" lang=\"en\">\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">When a client has a payment credit (such as an advance payment or a credit note), Daftra can use it automatically to pay the client&#8217;s invoices, and a supplier&#8217;s balance to pay purchase invoices. This guide explains the auto-payment setting in sales and purchases, what enabling and disabling it does, and how to cancel an automatic payment so the invoice becomes unpaid again.<\/p>\n<div style=\"border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px 16px; margin: 0 0 20px;\">\n<p style=\"margin: 0 0 6px; font-weight: bold; color: #111827;\">Contents<\/p>\n<ol style=\"margin: 0; padding-left: 22px;\">\n<li style=\"margin-bottom: 4px;\"><a style=\"color: #1a56db;\" href=\"#settings\"><strong style=\"color: #1a56db;\">Auto-payment setting<\/strong><\/a><\/li>\n<li style=\"margin-bottom: 4px;\"><a style=\"color: #1a56db;\" href=\"#on\"><strong style=\"color: #1a56db;\">When the setting is enabled<\/strong><\/a><\/li>\n<li style=\"margin-bottom: 4px;\"><a style=\"color: #1a56db;\" href=\"#journal\"><strong style=\"color: #1a56db;\">Paying purchase invoices with a journal entry on the supplier account<\/strong><\/a><\/li>\n<li style=\"margin-bottom: 4px;\"><a style=\"color: #1a56db;\" href=\"#off\"><strong style=\"color: #1a56db;\">When the setting is disabled<\/strong><\/a><\/li>\n<li style=\"margin-bottom: 4px;\"><a style=\"color: #1a56db;\" href=\"#undo\"><strong style=\"color: #1a56db;\">Cancelling an automatic payment and making the invoice unpaid again<\/strong><\/a><\/li>\n<li style=\"margin-bottom: 4px;\"><a style=\"color: #1a56db;\" href=\"#manual\"><strong style=\"color: #1a56db;\">Distributing the credit to invoices manually<\/strong><\/a><\/li>\n<li style=\"margin-bottom: 4px;\"><a style=\"color: #1a56db;\" href=\"#reports\"><strong style=\"color: #1a56db;\">Effect on journal entries and reports<\/strong><\/a><\/li>\n<li style=\"margin-bottom: 4px;\"><a style=\"color: #1a56db;\" href=\"#faq\"><strong style=\"color: #1a56db;\">FAQs<\/strong><\/a><\/li>\n<\/ol>\n<\/div>\n<h2 id=\"settings\" style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Auto-payment setting<\/h2>\n<table style=\"width: 100%; border-collapse: collapse; margin: 0 0 18px;\">\n<tbody>\n<tr>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\"><\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Sales<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Purchases<\/th>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Where<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/invoices\/settings\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Sales Settings<\/strong><\/a> \u203a <strong style=\"color: #111827;\">Payments &amp; Credit<\/strong> section<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/settings\/purchase_invoices\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Purchase Invoice Settings<\/strong><\/a> \u203a <strong style=\"color: #111827;\">Payments &amp; Debit<\/strong> section<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Setting name<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Auto-Pay Invoices Using Client Credit<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Auto-Pay Invoices Using supplier Debit<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Default<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Enabled<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Enabled<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Payment method created<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Client Credit<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Supplier Credit<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"on\" style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">When the setting is enabled<\/h2>\n<ul style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">The system uses the client&#8217;s available credit to pay <strong style=\"color: #111827;\">all the client&#8217;s unpaid invoices<\/strong>, not only the new one, <strong style=\"color: #111827;\">from the oldest to the newest<\/strong>, and per currency. If the credit is not enough, the invoice is paid partially.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">This happens when an invoice is saved or issued, when a client payment or credit is added, edited or deleted, when a credit note or refund is added, and when the invoice page or client page is opened.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">The payment shows in the invoice&#8217;s <strong style=\"color: #111827;\">Payments<\/strong> tab with the <strong style=\"color: #111827;\">Client Credit<\/strong> method and the <strong style=\"color: #111827;\">Auto<\/strong> mark.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Automatic payments cannot be edited or deleted while the setting is enabled.<\/li>\n<\/ul>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Purchases work the same way: the supplier&#8217;s balance pays the unpaid purchase invoices from the oldest to the newest, and the payment shows with the <strong style=\"color: #111827;\">Supplier Credit<\/strong> method.<\/p>\n<h2 id=\"journal\" style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Paying purchase invoices with a journal entry on the supplier account<\/h2>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">The <strong style=\"color: #111827;\">Add Entry<\/strong> form has no field for choosing a purchase invoice, so a journal entry is never linked to a specific invoice. When you record a supplier payment with a manual journal entry that <strong style=\"color: #111827;\">debits<\/strong> the supplier&#8217;s account, the supplier&#8217;s available balance increases by the entry amount, and the system then handles that balance according to <strong style=\"color: #111827;\">Auto-Pay Invoices Using supplier Debit<\/strong>:<\/p>\n<ul style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Setting enabled:<\/strong> as soon as the entry is saved, the balance pays this supplier&#8217;s unpaid purchase invoices in the entry&#8217;s currency, from the oldest to the newest. The payment shows on the invoice with the <strong style=\"color: #111827;\">Supplier Credit<\/strong> method, and the invoice becomes paid or partially paid. No new journal entry is created for this payment.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Setting disabled:<\/strong> the amount stays as an available supplier balance and the invoices stay <strong style=\"color: #111827;\">Unpaid<\/strong> until you use the balance manually as in <a style=\"color: #1a56db;\" href=\"#manual\"><strong style=\"color: #1a56db;\">Distributing the credit to invoices manually<\/strong><\/a>, or enable the setting; the balance is then used the next time a purchase invoice or a payment of this supplier is saved.<\/li>\n<\/ul>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">If the invoices stay unpaid after you record the entry<\/h3>\n<table style=\"width: 100%; border-collapse: collapse; margin: 0 0 18px;\">\n<tbody>\n<tr>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Cause<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Solution<\/th>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The auto-payment setting is disabled<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Enable <strong style=\"color: #111827;\">Auto-Pay Invoices Using supplier Debit<\/strong> in <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/settings\/purchase_invoices\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Purchase Invoice Settings<\/strong><\/a> \u203a <strong style=\"color: #111827;\">Payments &amp; Debit<\/strong>, or distribute the balance manually from the supplier page or the invoice.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The entry uses a general account, not the supplier&#8217;s own account<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">In the entry line, choose the supplier&#8217;s own sub-account (created automatically for every supplier under the Suppliers account), not the main Suppliers account or another account.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The supplier is on the credit side<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Paying a supplier debits the supplier&#8217;s account (and credits the treasury or bank). An entry that credits the supplier increases what you owe and pays nothing.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The entry is saved as a <strong style=\"color: #111827;\">Draft<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Draft entries do not count in the supplier&#8217;s balance; approve the entry.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The entry currency differs from the invoices&#8217; currency<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The balance is used per currency; record the entry in the currency of the supplier&#8217;s invoices.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The invoice is a <strong style=\"color: #111827;\">Draft<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Draft purchase invoices are not paid from the balance; issue the invoice first.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div style=\"display: flex; gap: 10px; background: #f6f8fb; border-left: 4px solid #1a56db; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p><span style=\"flex: 0 0 auto; font-size: 18px; line-height: 1.6;\">\ud83d\udec8<\/span><\/p>\n<p style=\"margin: 0; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Note:<\/strong> The clearest way to pay a purchase invoice is <strong style=\"color: #111827;\">Add Payment<\/strong> on the invoice itself: it records the payment on the invoice and creates its journal entry automatically. Use a manual entry only when you need one, with auto-payment enabled.<\/p>\n<\/div>\n<h2 id=\"off\" style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">When the setting is disabled<\/h2>\n<ul style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">New invoices are not paid from the credit automatically, and the credit stays available on the client or supplier account.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Disabling the setting does not cancel the automatic payments made before it<\/strong>: invoices paid from the credit stay paid until you delete their payments yourself.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">You can distribute the credit manually to the invoices you choose.<\/li>\n<\/ul>\n<div style=\"display: flex; gap: 10px; background: #f6f8fb; border-left: 4px solid #1a56db; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p><span style=\"flex: 0 0 auto; font-size: 18px; line-height: 1.6;\">\ud83d\udec8<\/span><\/p>\n<p style=\"margin: 0; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Note:<\/strong> Even with the setting disabled, the credit is used automatically in two cases: when the client adds a credit or pays from the client portal, and when an invoice is edited so that it becomes overpaid.<\/p>\n<\/div>\n<h2 id=\"undo\" style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Cancelling an automatic payment and making the invoice unpaid again<\/h2>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">If an invoice was paid from the client&#8217;s credit and you want it <strong style=\"color: #111827;\">Unpaid<\/strong> with its full amount due:<\/p>\n<ol style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Disable <strong style=\"color: #111827;\">Auto-Pay Invoices Using Client Credit<\/strong> in <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/invoices\/settings\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Sales Settings<\/strong><\/a> and save. (If you do not, a message asks you to disable auto-payment first, or the invoice is paid from the credit again right away.)<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Open the invoice, then the <strong style=\"color: #111827;\">Payments<\/strong> tab.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Next to the payment with the <strong style=\"color: #111827;\">Client Credit<\/strong> method and the <strong style=\"color: #111827;\">Auto<\/strong> mark, click <strong style=\"color: #111827;\">Delete<\/strong>.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">On the confirmation page, click <strong style=\"color: #111827;\">Yes<\/strong>.<\/li>\n<\/ol>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Result:<\/p>\n<ul style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">The invoice becomes <strong style=\"color: #111827;\">Unpaid<\/strong> again (or partially paid if it has other payments), and its full amount shows as due.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">The amount goes back as <strong style=\"color: #111827;\">available credit<\/strong> on the client account, and you can use it later for another invoice.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">No journal entry changes, and the client balance in the statement does not change.<\/li>\n<\/ul>\n<div style=\"display: flex; gap: 10px; background: #f6f8fb; border-left: 4px solid #1a56db; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p><span style=\"flex: 0 0 auto; font-size: 18px; line-height: 1.6;\">\ud83d\udec8<\/span><\/p>\n<p style=\"margin: 0; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Note:<\/strong> You can also <strong style=\"color: #111827;\">edit<\/strong> the automatic payment amount instead of deleting it, to reduce the amount paid from the credit. Deleting or editing needs the permission to edit and delete payments, and the payment date must not be in a closed period.<\/p>\n<\/div>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">In purchases<\/h3>\n<ol style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Disable <strong style=\"color: #111827;\">Auto-Pay Invoices Using supplier Debit<\/strong> in <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/settings\/purchase_invoices\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Purchase Invoice Settings<\/strong><\/a>.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Open the purchase invoice, then Payments, and delete the payment with the <strong style=\"color: #111827;\">Supplier Credit<\/strong> method.<\/li>\n<\/ol>\n<div style=\"display: flex; gap: 10px; background: #f6f8fb; border-left: 4px solid #1a56db; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p><span style=\"flex: 0 0 auto; font-size: 18px; line-height: 1.6;\">\ud83d\udec8<\/span><\/p>\n<p style=\"margin: 0; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Important:<\/strong> Disable the setting before deleting; if you delete the payment while the setting is enabled, the invoice is paid from the balance again right away.<\/p>\n<\/div>\n<div style=\"display: flex; gap: 10px; background: #f6f8fb; border-left: 4px solid #1a56db; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p><span style=\"flex: 0 0 auto; font-size: 18px; line-height: 1.6;\">\ud83d\udec8<\/span><\/p>\n<p style=\"margin: 0; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Warning:<\/strong> Do not use a <strong style=\"color: #111827;\">reverse entry<\/strong> for this: paying from the credit creates no entry in the first place, and reversing the invoice entry removes the sale and the client&#8217;s receivable from the accounts while the invoice stays paid.<\/p>\n<\/div>\n<h2 id=\"manual\" style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Distributing the credit to invoices manually<\/h2>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">With auto-payment disabled, you can use the credit for invoices you choose in one of these ways:<\/p>\n<table style=\"width: 100%; border-collapse: collapse; margin: 0 0 18px;\">\n<tbody>\n<tr>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Method<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Steps<\/th>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">From the invoice<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Click <strong style=\"color: #111827;\">Add Payment<\/strong>, choose the <strong style=\"color: #111827;\">Client Credit<\/strong> payment method, and enter the amount (up to the available credit).<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">From the <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/clients\/index\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">client<\/strong><\/a> page<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Click <strong style=\"color: #111827;\">Distribute<\/strong> next to the client&#8217;s credit, and distribute it to the due invoices.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">When adding a credit<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">In <strong style=\"color: #111827;\">Add Payment Credit<\/strong>, the <strong style=\"color: #111827;\">Invoices to be paid<\/strong> table shows so you can set the <strong style=\"color: #111827;\">Distribution Amount<\/strong> for each invoice.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">The same methods are available for suppliers from the purchase invoice or the <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/suppliers\/index\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">supplier<\/strong><\/a> page.<\/p>\n<h2 id=\"reports\" style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Effect on journal entries and reports<\/h2>\n<table style=\"width: 100%; border-collapse: collapse; margin: 0 0 18px;\">\n<tbody>\n<tr>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\"><\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Effect<\/th>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Journal entries<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">No entry is created when paying from the credit or when deleting that payment, because the entry of the credit itself (the advance payment, the credit note or the manual entry on the supplier account) is already recorded.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Client \/ supplier statement<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Not affected: the client&#8217;s total balance is the same whether or not the invoice is paid from the credit.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Invoice status<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Changes: paid or partially paid when paid from the credit, and unpaid after the payment is deleted.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Due invoices and aging reports<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Based on the invoices&#8217; remaining amount, so they change when an invoice is paid from the credit.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Payments list and cash flow report<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Credit payments do not show by default because they are not new money coming in. You can show them in the payments list by filtering by payment method.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><strong style=\"color: #111827;\">Available client credit<\/strong><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Decreases when paying from the credit, and increases when the payment is deleted.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div style=\"display: flex; gap: 10px; background: #f6f8fb; border-left: 4px solid #1a56db; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p><span style=\"flex: 0 0 auto; font-size: 18px; line-height: 1.6;\">\ud83d\udec8<\/span><\/p>\n<p style=\"margin: 0; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Note:<\/strong> If you delete or reduce the original credit itself (the advance payment or the credit note), the latest payments made from it are deleted automatically, and their invoices become unpaid again.<\/p>\n<\/div>\n<h2 id=\"faq\" style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">FAQs<\/h2>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">I disabled auto-payment and the invoice is still paid?<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Disabling does not cancel earlier payments; delete the <strong style=\"color: #111827;\">Client Credit<\/strong> payment from the invoice&#8217;s Payments tab as in <a style=\"color: #1a56db;\" href=\"#undo\"><strong style=\"color: #1a56db;\">Cancelling an automatic payment<\/strong><\/a>.<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">Why is there no Delete button next to the automatic payment?<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Because auto-payment is still enabled; disable it first.<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">Why was an old invoice paid and not the new one?<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Because auto-payment pays unpaid invoices from the oldest to the newest.<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">Where did the amount go after the payment was deleted?<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">It went back as available credit for the client; it shows on the client page and can be used later.<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">I recorded the payment of purchase invoices with a journal entry and they are still unpaid. Why?<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Because the entry is not linked to the invoice: it increases the supplier&#8217;s balance, and the invoices are paid from that balance only if <strong style=\"color: #111827;\">Auto-Pay Invoices Using supplier Debit<\/strong> is enabled or you distribute the balance manually. Also make sure the entry is approved, debits the supplier&#8217;s own account, and is in the invoices&#8217; currency, as in <a style=\"color: #1a56db;\" href=\"#journal\"><strong style=\"color: #1a56db;\">Paying purchase invoices with a journal entry<\/strong><\/a>.<\/p>\n<\/div>\n","protected":false},"author":17,"featured_media":0,"template":"","categories":[],"tags":[30514,14150,11693,33919,33918,4312,33920,33915,33917,14060,33914,33913,33916],"class_list":["post-160353","tutorial","type-tutorial","status-publish","hentry","tag-auto-pay-invoices","tag-auto-pay-invoices-using-supplier-debit","tag-client-credit","tag-delete-automatic-payment","tag-distribute-credit","tag-journal-entries","tag-partially-paid-purchase-invoice","tag-pay-purchase-invoice-with-journal-entry","tag-payments-debit","tag-purchase-invoice-settings","tag-purchase-invoice-unpaid","tag-supplier-credit","tag-supplier-journal-entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Automatic Payment of Invoices from Client or Supplier Credit: Enabling, Disabling and Cancelling Automatic Payments - Daftra Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.daftra.com\/en\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automatic Payment of Invoices from Client or Supplier Credit: Enabling, Disabling and Cancelling Automatic Payments - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"When a client has a payment credit (such as an advance payment or a credit note), Daftra can use it automatically to pay the client&#8217;s invoices, and a supplier&#8217;s balance to pay purchase invoices. This guide explains the auto-payment setting in sales and purchases, what enabling and disabling it does, and how to cancel an [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/docs.daftra.com\/en\/#organization\",\"name\":\"Daftra\",\"url\":\"https:\/\/docs.daftra.com\/en\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/docs.daftra.com\/en\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg\",\"contentUrl\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg\",\"caption\":\"Daftra\"},\"image\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.daftra.com\/en\/#website\",\"url\":\"https:\/\/docs.daftra.com\/en\/\",\"name\":\"Daftra Knowledge Base\",\"description\":\"Daftra\",\"publisher\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.daftra.com\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/\",\"name\":\"Automatic Payment of Invoices from Client or Supplier Credit: Enabling, Disabling and Cancelling Automatic Payments - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/#website\"},\"datePublished\":\"2026-12-02T08:45:40+00:00\",\"dateModified\":\"2026-12-02T08:45:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automatic Payment of Invoices from Client or Supplier Credit: Enabling, Disabling and Cancelling Automatic Payments\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Automatic Payment of Invoices from Client or Supplier Credit: Enabling, Disabling and Cancelling Automatic Payments - Daftra Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.daftra.com\/en\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/","og_locale":"en_US","og_type":"article","og_title":"Automatic Payment of Invoices from Client or Supplier Credit: Enabling, Disabling and Cancelling Automatic Payments - Daftra Knowledge Base","og_description":"When a client has a payment credit (such as an advance payment or a credit note), Daftra can use it automatically to pay the client&#8217;s invoices, and a supplier&#8217;s balance to pay purchase invoices. This guide explains the auto-payment setting in sales and purchases, what enabling and disabling it does, and how to cancel an [&hellip;]","og_url":"https:\/\/docs.daftra.com\/en\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/","og_site_name":"Daftra Knowledge Base","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/docs.daftra.com\/en\/#organization","name":"Daftra","url":"https:\/\/docs.daftra.com\/en\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/docs.daftra.com\/en\/#logo","inLanguage":"en-US","url":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg","contentUrl":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg","caption":"Daftra"},"image":{"@id":"https:\/\/docs.daftra.com\/en\/#logo"}},{"@type":"WebSite","@id":"https:\/\/docs.daftra.com\/en\/#website","url":"https:\/\/docs.daftra.com\/en\/","name":"Daftra Knowledge Base","description":"Daftra","publisher":{"@id":"https:\/\/docs.daftra.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.daftra.com\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/docs.daftra.com\/en\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/#webpage","url":"https:\/\/docs.daftra.com\/en\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/","name":"Automatic Payment of Invoices from Client or Supplier Credit: Enabling, Disabling and Cancelling Automatic Payments - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/en\/#website"},"datePublished":"2026-12-02T08:45:40+00:00","dateModified":"2026-12-02T08:45:40+00:00","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/tutorial\/automatic-payment-of-invoices-from-client-or-supplier-credit-enabling-disabling-and-cancelling-automatic-payments\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"Automatic Payment of Invoices from Client or Supplier Credit: Enabling, Disabling and Cancelling Automatic Payments"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/160353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial"}],"about":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/types\/tutorial"}],"author":[{"embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/users\/17"}],"version-history":[{"count":0,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/160353\/revisions"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=160353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=160353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=160353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}