Skip to content

Credit/Debit Note and Miscellaneous Invoice Document Terms ​

Credit and debit notes adjust what a customer or supplier owes without moving goods, and the miscellaneous invoices bill things that are not stock items — services, rent, utilities, machine hire. Both sit between the accounting module and the invoicing world, so their terms mix two kinds of option: account sides, and rules about how the document settles the invoices and debt ages it touches.

The documents are on Credit & Debit Notes and Misc Purchasing & Machine Rent.

Credit Note and Debit Note ​

The two notes share one term layout with a Settings tab and an Effect tab.

The Effect tab ​

Debit / Credit termConfig.config.debit, termConfig.config.credit — the note's main entry, each a full account-side block (see Anatomy of an Account Side). The entry is made one line per row of the note's invoices grid, or as a single line for the header amount when the grid is empty. When either side takes its account from the document's subsidiary, the note's Related Subsidiary becomes required.

Debt Ages group ​

These options decide how the note settles the party's open debts.

OptionFieldWhat it does
Use From Doc For Debt AgestermConfig.useFromDocForDebitAgesThe note settles the document it was created from. It cannot be combined with invoice lines on the same note — see the messages below.
Do Not Use Invoices In Debt AgestermConfig.doNotUseInvoicesInDebtAgesThe invoices grid is kept for reference only and does not settle those invoices' debt ages.
Add Taxes To Value Of Generated Debt Ages Line Whether From Header Or LinestermConfig.addTaxesToDebtAgesValueThe settled amount includes each line's share of tax 1 and tax 2.
Calculate Ledger Value From Header Amount Not LinestermConfig.calculateLedgerValueFromHeaderAmountNotLinesThe entry is one line for the header amount, even when the invoices grid has rows.
Use Installment Lines For Debit AgestermConfig.useInstallmentLinesForDebitAgesDebt ages are settled from the note's instalment lines.
installment EffecttermConfig.installmentEffectWhich instalment figure the note moves (System Paid by default).
Do not apply effects on installmentstermConfig.doNotApplyEffectsOnInstallmentsThe note leaves instalments' paid and remaining figures alone.
Fields Map For External Payment Added LinestermConfig.fieldsMapForExternalPaymentAddedLinesWhen an invoice adds itself to the note's invoices grid, this map says which invoice fields are copied onto the new row.

Invoice Payment Options group ​

OptionFieldWhat it does
Exclude Tax 1…4 / Discount1…8 / Header Discount In Invoice ValuetermConfig.excludeTax1InInvoiceValue … termConfig.excludeHeaderDiscountInInvoiceValueWhen an invoice is chosen, its invoice value on the note is the invoice net minus the ticked taxes and plus the ticked discounts — so a note for "the price before VAT" picks up the right figure.
Add Credit/Debit Notes To Invoice Payment DcoumentstermConfig.addNoteToInvoicePaymentDocsOn commit the note is registered against the source invoice as one of its payment documents, so the invoice's paid and remaining amounts include it.
Calculate Value Including Tax As Invoice PaymenttermConfig.useTotalAfterTaxesAsInvoicePaymentThe amount registered on the invoice is the note's total after taxes instead of its net.
Treat in Debt Ages Similarly TotermConfig.debtAgesTreatmentPayment Voucher or Receipt Voucher. A credit note normally works like a receipt and a debit note like a payment; this flips the side the note takes in debt ages.
Do Not Check Invoices Total With Header AmounttermConfig.doNotCheckTotalInvoicesAllows the invoices grid to add up to more than the note's amount.
Calc Invoice Value when Select Invoices In Lines And Calc Amount From PercentagetermConfig.calcInvoiceValueFromInvoicesGridPicking an invoice on a grid row fills its value before taxes and recalculates the row amount from the percentage.
Calc Invoices Amount Value From Invoice Percent When Collect InvoicestermConfig.calcAmountValueFromInvoicePercentEach row's amount is the invoice value times the row percentage, and the header amount becomes the sum of the rows.
Apply Effects On Parent From Doc if From Doc is Payment/Receipt Order or RequesttermConfig.applyEffectsOnParentFromDocWhen the note was created from a payment/receipt request or order, its effect lands on the invoice that request was raised for.

Taxes group and the electronic invoice ​

OptionFieldWhat it does
Tax1 Debit / Credit, Tax2 Debit / CredittermConfig.tax1Debit … termConfig.tax2CreditEach pair is a saved Accounting Side Config record, posting the note's header tax 1 or tax 2 value.
Tax PlantermConfig.taxPlanFills the note's tax percentages; a tax-exempt customer or supplier gets zero.
Modifiable TaxtermConfig.modifiableTaxLeaves the percentages as the user typed them instead of applying the plan.
Tax ItemtermConfig.taxItemThe item reported as the note's single line when it is sent as an electronic invoice. Without it the electronic document has no lines.
Send AstermConfig.sendAsWhether the note is sent to the tax authority as an Invoice, a CreditNote or a DebitNote. It must be filled before the note can be sent: Send As must be selected in the term.
E-Invoice Bank Account Field, E-Invoice Payment Terms FieldtermConfig.eInvoiceBankAccountField, termConfig.eInvoicePaymentTermsFieldFor the Egyptian electronic invoice: the document field whose value is reported as the bank account and as the payment terms.

When the contracting module is installed, the Settings tab also shows Cost TypetermConfig.costType, which is copied onto the note (Invoice, Worker, Material, Contractor…).

Miscellaneous Invoice, Misc Purchase Request and Misc Purchase Order ​

The three miscellaneous documents share one term, and it is an invoice term in everything but name: the same main sides, tax sides, discount sides and "other side" options as a sales or purchase invoice. Those are documented once on Accounting Effects Configuration — main Debit / Credit with Shorten Ledger, the Other effects tab (cash, tax 1-4 with their other sides), and the Discount Effects tab (discounts 1-8, invoice discount, and the External Effects grid).

What is particular to the miscellaneous term:

OptionFieldWhat it does
Is Sales Not PurchasetermConfig.isSalesNotPurchaseMakes the document a sale: the entry, payments and electronic invoice run in the sales direction. Use it to bill a customer for a service with this document.
Invoice ReturntermConfig.returnInvoiceTurns the document into a return — it runs in the opposite direction, and is sent electronically as a credit note.
Expand Payment Method EffecttermConfig.expandPaymentMethodEffectPosts the payment-method fees as their own lines instead of netting them.
Taxable, Modifiable Tax, Tax Plan, Allow Editing Header Tax In DetailstermConfig.taxable, termConfig.modifiableTax, termConfig.taxPlan, termConfig.allowEditingHdrTaxInDetailsCopied onto the document: whether the tax plan applies, whether the user may change the percentages, which plan, and whether a line may carry a different tax from the header.
Pay Installments In OrdertermConfig.payInstallmentsInOrderPayments must settle the oldest instalment first.
Allow Payment More Than Invoice AmounttermConfig.allowPaymentMoreThanInvoiceAmountLets payments exceed the invoice, leaving a negative remaining.
Link With Invoice Lines In accounting DocumenttermConfig.linkWithInvoiceLinesInAccountingDocumentWhen a receipt or payment voucher pays this invoice, the invoice is added to that voucher's invoices grid and kept in step with it.
Track Quantity Fields From DoctermConfig.trackQuantityFieldsFromDocWhen the document is created from an earlier miscellaneous document, the quantity it uses is written back to that document's Consumed Quantity 1 or Consumed Quantity 2.
Copy Remaining Quantity From Doc Considering FieldstermConfig.copyRemainingQtyFromDocConsideringFieldsWhen lines are copied from the earlier document, each comes in at its quantity less Consumed Quantity 1 or 2; fully consumed lines are left out. Together with the option above, this lets an order be invoiced in several parts.
External Payment Docs That Pay ThemselvestermConfig.externalPaymentDocsThatPayThemselvesA grid of payment document types (with criteria and queries) that settle the invoice by themselves when it is saved.
E-Invoice Bank Account Field, E-Invoice Payment Terms FieldtermConfig.eInvoiceBankAccountField, termConfig.eInvoicePaymentTermsFieldAs on the notes.

The Serivce Fees group carries four service-fee pairs — Service Fees 1…4 Debit / Credit (termConfig.serviceFees1Debit … termConfig.serviceFees4Credit) — and the deduction switches Service Fees 2…4 Deduction, which subtract that fee from the invoice instead of adding it.

Machine Rent Invoice ​

The machine rent term is the miscellaneous term without the request/order extras: main Debit / Credit with Shorten Ledger, the Other effects and Discount Effects tabs, and Is Sales Not Purchase, Expand Payment Method Effect, the four tax options, Pay Installments In Order, Allow Payment More Than Invoice Amount and Link With Invoice Lines In accounting Document, all with the same meaning as above. It has no service fees, no return switch and no quantity tracking.

Messages you may see ​

These messages have no Arabic text in the product and appear in English on Arabic screens, except the last one.

MessageWhyWhat to do
Can not use both from doc and invoices in this documentThe term has Use From Doc For Debt Ages and the note also has rows in its invoices grid that settle debt ages.Either clear the invoices grid, or use a term without the option (or with Do Not Use Invoices In Debt Ages).
Total of invoices can not exceed amount {0}The invoices grid adds up to more than the note.Reduce the rows, or use a term with Do Not Check Invoices Total With Header Amount.
Send As must be selected in the term — «يجب اختيار إرسال كـ في التوجيه»The note is being sent to the tax authority and its term has no Send As.Fill Send As on the term.