Skip to content

Sales Credit Note (Internal)

Lower what a customer owes after their invoice is final: an overbilling, a post-sale discount, a marketplace fee or a service reversal. The credit moves no stock and stays on the customer’s account until you contra it against an open invoice or refund it; if the goods themselves come back, raise a Sales Return instead.

Your job, and the screen for it

The jobScreen or tabRead
Credit a customer for an overbilling, a post-sale discount or a fee on a final invoice — if goods come back, raise a Sales Return insteadCredit Note › create; a new note opens with a Search Document tab listing sales invoicesThe create / edit form
Send the credit to the right GL account — use an account-code item linked to it, or set the line’s GL Code; otherwise the item’s GL link or the company Sales default appliesLines tab, item searchFields; Troubleshooting
Use the credit against the customer’s open invoices, or pay it outContra tab; Settlement tab before FINAL; after FINAL, a Payment Voucher to the customer: add the payment line, select this note on the voucher’s Contra tab, save, then check the note’s balanceContra vs settlement
Create many credit notes from a fileFile ImportFile import
Correct a wrong credit note at an e-invoicing company — VOID is refused there, so raise an opposite document or request cancellation of its e-invoiceSales Debit Note applet, a fresh invoice, or the note’s E-Invoice › Cancellation tabLifecycle and effects
Set up default GL codes, account-code items and settlement methods — only the account-code item’s GL link is checked when you save and at FINAL; any other gap leaves the journal missing or wrongChart of Account, Inventory Item Maintenance and Cashbook appletsBefore you can use it

Overview

The Sales Credit Note (Internal) applet reduces what a customer owes after an invoice has been finalised — an overbilling, a post-sale discount, a marketplace fee, a service reversal. It is used by accounts-receivable staff. The credit sits on the customer’s account until it is contra’d against an invoice, refunded through a settlement line added before FINAL, or paid out after FINAL by a Payment Voucher that knocks it off. It never moves stock: for returned goods that must come back into inventory, use Sales Return (Internal).

Server document type INTERNAL_SALES_CREDIT_NOTE. Amount signum −1, quantity signum 0 — the backend forces every item line’s quantity signum to zero when it is saved, which is why a credit note can carry any item type without an inventory transaction. The exception is a non-stock trade-in (NSTI) item: the applet saves its line as a purchase trade-in line with quantity signum +1, it posts through the trade-in mapping, and the trade-in job writes a non-stock trade-in transaction for it.

Where it fits

DirectionDocument / appletHow it connects
UpstreamSales Invoice (Internal)Searched in the Search Document tab of a new note to copy lines and the customer into the credit note
UpstreamSales Order (Internal), Delivery Order (Internal), Jobsheet (Internal)Not in Search Document. Their lines can be knocked off from the add-line screen’s KO For tabs, which appear only when the company’s document-flow setting enables that pairing for credit notes
UpstreamCustomer, Chart of Account, Tax ConfigurationCustomer AR type, default GL codes, tax codes
DownstreamContra tabOffsets the credit against the customer’s other FINAL documents that still have an open balance, in the same company and currency
DownstreamSettlement tab, Payment Voucher (Internal)Pays the credit out: the Settlement tab (cash, cash back, bank transfer, card, cheque, voucher, points or TT) only while the note is not yet FINAL; after FINAL, a Payment Voucher to the customer in the note’s currency and company: add the payment line and select the note on the voucher’s Contra tab, which by default lists the customer’s FINAL documents with a credit balance. A Sales Refund Note does not do this: on screen its FINAL refuses until its own lines total its payment, and a contra does not count toward that
DownstreamMy E-Invoice PortalCredit notes are an e-Invoice document type and reference the original invoice
SiblingSales Debit Note (Internal)The opposite adjustment (increases what the customer owes)
SiblingPurchase Credit Note (Internal)Mirror document created in the buying company for intercompany credit notes

Contra vs settlement

AspectContraSettlement
PurposeOffset against the customer’s open invoices or other open documentsRecord money actually paid back
Cash movementNoYes — posts to the settlement method’s cashbook
Typical useOverbilling correction, credit applied to the next invoiceBank or cash refund, card reversal, marketplace payout
Posting dateThe contra’s own date — today unless you change it, or the credit note’s date when CONTRA_DATE_SAME_AS_DOC_DATE_TXN is on — never earlier than the later of the two documents’ dates (the server moves an earlier date forward)The note’s transaction date: the server gives every line the note’s date when it saves, whatever the settlement form showed

Screens and menus

Menu itemRouteWhat it shows
Credit Noteinternal-sales-credit-noteListing with advanced search; create, edit, bulk FINAL, Discard and VOID, print, email. Clone is on the opened note
Line Itemsline-itemsOne row per credit-note line, with customer columns, for reporting
File Importfile-importBulk create credit notes from a delimited file (comma or pipe) with an error-checking listing
IntercompanyintercompanyQueue that mirrors a FINAL credit note as a Purchase Credit Note in another company
Settings / Personalizationsettings/…, personalization/…Administrator and per-user configuration

The create / edit form

Tabs, in the default order (re-orderable under Settings → Default Selection): Search Document, Main Details, E-Invoice, Account, Lines, ARAP, Settlement, Department Hdr, TraceDocument, Contra, Doc Link, Attachments, Export. Create opens a new note in this form; Search Document shows only until the note is first saved.

Create Credit Note - Search Document Tab
Search Document: pick the Sales Invoice the credit relates to — the only document type this tab lists.
Create Credit Note - Main Details Tab
Main Details: branch, location, sales agent, transaction date, currency, credit terms, reference.
Create Credit Note - Account Tab
Account: Entity Details, Bill To, Ship To and Intercompany sub-tabs.
Select Item Dialog
Lines: the item search is not filtered by item type; account-code (GL_CODE) items post straight to their linked GL account.
Contra Tab
Contra: pick the customer's FINAL documents with an open balance (same company and currency, any branch) and knock the credit off against them.
Edit Credit Note - Main Details
A FINAL credit note: header locked, running numbers assigned.

Screenshot withdrawn; a recapture from a demo tenant is on the list.

Edit Credit Note - Lines Tab
A FINAL credit note: the posted account-code line and transaction amount.

File import

File Import Listing
File Import: uploaded files with process status; search by created-date range.
File Import Upload Dialog
Upload dialog with a downloadable sample; the delimiter is mandatory.
Five columns the sample offers are refused. The sample link opens a column picker that starts with the eight mandatory columns, and those upload cleanly. Add TXN_TYPE_PNS_STL_MTHD, UNIT_PRICE_INCL_TAX, DISCOUNT_AMOUNT, TAX_CODE or TAX_AMOUNT from its optional list and the whole file fails with Wrong Columns, process status FAILED, before any row is read. The tax code goes in TAX_GST_CODE, the tax amount in AMOUNT_TAX_GST, the line amount in AMOUNT_INCL_TAX and the agent in SALES_AGENT_EMPLOYEE_CODE. A template fetched from the API carries SALES_AGENT as well, which is refused the same way: rename it.
File Import Details
Import detail: file format, process status and the per-row error messages.

Settings menu

Settings entryRoutePurpose
Application Settingssettings/field-settingsShared Field Configuration screen — all hide/show and behaviour toggles
Default Selectionsettings/default-selectionDefault branch, default location, default language, tab order
Printable Format Settingssettings/printable-format-settingsPrintable formats for INTERNAL_SALES_CREDIT_NOTE
Branch Settingssettings/branch-settingsFive tabs per branch: Branch Details, Item Category Filter, Pricing Scheme, Printable Format (the branch’s default credit-note layout, with its own header and footer text) and Default Settlement Method. The default settlement methods are written to the branch record itself, not to this applet, so changing them here changes them for every screen that reads the branch’s defaults. Two tabs do less than they look: the Rounding Five Cent tick on Branch Details is not kept when you save (that save writes only the default sales agent and settlement methods), and the Item Category Filter is stored but this applet’s item search does not apply it
Custom Resource Bundle Configurationsettings/translation-settingsRelabel fields and menus (full multi-language support was added in 2026)

The menu also carries Workflow Settings and Email Template (both under Configuration below), four permission screens (Permission Wizard, Permission Set, User Permission, Role Permission) and Release Notes. Settings opens on Feature Visibility, which has no menu entry of its own; Webhook, Applet Log and the team and client-side permission screens still have routes but no menu link.

App Settings - Gen Doc Listing
Application Settings → Gen Doc Listing.
App Settings - E-Invoice
Application Settings → E-Invoice: import/export tabs and the original-invoice reference field.

Configuration

Before you can use it

PrerequisiteWhereWhy
Company, branch, locationOrganisationHeader requires branch and location; set defaults under Default Selection
Company default GL codes DEBTOR / DEBTOR_NON_TRADE, SALES, OUTPUT_TAX, FOREX_GAIN, FOREX_LOSS (SALES_DISCOUNT is never posted — see Journal)Chart of AccountThe credit note posts exactly as the invoice does, with the signs reversed. Not checked at FINAL: FINAL changes the status and queues the posting job; the job then fails with MISSING_DEFAULT_GL_CODE: DEBTOR (or DEBTOR_NON_TRADE) when the receivable account is unmapped, and an unmapped SALES / OUTPUT_TAX line is dropped from the journal without a message.
Company default GL codes — what an unmapped code doesThe job then fails with TOTAL_DEBITS_AND_TOTAL_CREDITS_NOT_BALANCES or NO_JOURNAL_CREATED only when the customer has no AR/AP type or nothing resolved at all. With an AR/AP type on the customer — the usual case — nothing fails: the receivable line is worked out from the lines that remain, so the note takes the dropped amount less off trade debtors, and the journal posts wrong (see Troubleshooting). When the job fails, the note stays FINAL with no journal until the mapping exists and the journal is built from Financial Report › Error Checking › Trace Document (Missing Journal → Resolve)
Items to credit — either the original inventory/service items or account-code items (item type GL Code) linked to the GL account you want to hit (sales discount, marketplace fee, service reversal)Inventory Item MaintenanceAn account-code item’s GL code is copied onto the line and overrides the company SALES default. An account-code line with no GL code of its own, on an item with no GL code linked, is refused when you save the note and at FINAL: Item … has no linked GL Code. Link a GL Code in Doc Item Maintenance before creating this transaction.
Customer with AR type and open invoicesCustomerAR type decides DEBTOR vs DEBTOR_NON_TRADE; Contra only finds open documents of the same customer, company and currency
Settlement methods with cashbook and GL code (only if you refund from the Settlement tab)CashbookOtherwise the posting job fails after FINAL with MISSING_CASHBOOK / MISSING_GL_CODE: STL_MTHD [code]; the note stays FINAL with no journal until the method is completed and the journal is built with Missing Journal → Resolve in Financial Report’s Trace Document
API permissions TNT_API_DOC_INTERNAL_SALES_CREDIT_NOTE_{CREATE,READ,UPDATE,DELETE}_TGT_GUIDSettings → permission listingsBranch/company targets scope what a user sees
Workflow process (optional)Workflow DesignChoosing one makes Final Button Status (the Final status setting) appear on the settings screen, but this applet never reads it: the Final button ignores workflow status (see Workflow Selection under Applet settings)

Applet settings

The settings are grouped below in the order you would set them up: the defaults a new credit note starts with, then the behaviour toggles of Application Settings by area, then the cosmetic hide / show toggles.

Application Settings (settings/field-settings, shared Field Configuration screen). About 170 toggles from this applet’s settings model appear on the screen for it, a few only once another switch is set. Off unless stated. Its behaviour toggles are in the next five groups; the cosmetic ones are in the last.

Defaults a new credit note starts with

Default Selection (settings/default-selection)

SettingKeyWhat it controlsDefault
Default BranchDEFAULT_BRANCHPre-fills branch (and company)none
Default LocationDEFAULT_LOCATIONPre-fills locationnone
Default LanguageDEFAULT_LANGUAGE_CODELanguage the applet opens in, chosen at sign-in; a personal default set under Personalization wins over this onetenant default
Details tab orderingSALES_CREDIT_NOTE_DETAILS_TAB_ORDERDrag-and-drop order of the form tabsorder listed above

The listing, printing, e-mail and menus

SectionSettingEffect when on
Gen Doc ListingDISABLE_GEN_DOC_LISTING, DEFAULT_TRANSACTION_DATE, DEFAULT_POSTING_STATUS, SORT_ORDERListing loads only on search; default date range, status filter and sort
Gen Doc ListingSend email to final documents onlyDoes something different from its label here: with it on, finalising a credit note e-mails it automatically to the customer’s billing e-mail (shipping e-mail as the fallback), with the template matched to the printable; a customer with neither e-mail gets a FINAL that succeeds and a message asking you to fill one in. It does not stop a draft being e-mailed from the listing. On the Sales Invoice, Receipt Voucher and Sales Return applets the same switch is the draft block its label describes
Gen Doc ListingEnable credit limit filterNo effect on a credit note: the key is declared in this applet’s settings model and nothing else in the applet uses it. On the Sales Order and Sales Invoice applets the setting of this name switches on their credit check at FINAL
Gen Doc ListingHIDE_CLONE_BUTTONClone button on the opened note hidden unless the user has SHOW_CLONE_BUTTON
Create & PrintENABLE_AUTO_POPUPOpens the default printable in a new tab when you FINAL (or VOID) the opened note, and makes the listing’s bulk print open as a preview instead of a download
MenusHIDE_FILE_IMPORT_MENU, HIDE_INTERCOMPANY_MENURemoves the sidebar item unless the user holds SHOW_FILE_IMPORT_MENU / SHOW_INTERCOMPANY_MENU. Three further menu-hide toggles that exist for other document applets (pick-pack queue, invoice template, file export) are not shown for this one

The header, workflow and e-invoice

SectionSettingEffect when on
Doc SettingsENABLE_DUPLICATE_REFERENCE_CHECKShows Duplicate Reference CN … under the Reference field when another credit note already uses it. A warning only: the save still goes through
Doc SettingsENABLE_SALES_AGENT_AUTOFILLSales agent filled from the customer’s account manager or default agent when the entity is selected
Doc SettingsENABLE_EMPLOYEE_LOGIN_AUTO_DETECTIONEmployee resolved from the login
Doc SettingsDisable lines following header sales agent / … budgetBoth are offered and nothing in this applet reads either: lines keep inheriting the header sales agent and budget whatever is switched
Doc SettingsCANNOT_EDIT_CURRENCY_RATE, SHOW_FOREX_DATA_SOURCELock the rate; show its source
Doc SettingsSHOW_CUSTOM_DOC_NOCustom document number field
Workflow SelectionFinal status (appears once a workflow is chosen)Read by nothing — not by this applet, the shared screens or the server. On the screens that do read it (sales order, sales return, refund note, packing order) it hides FINAL until the document is saved at that status; here the Final button ignores it and the document goes to FINAL at any workflow status — see the one real gate. Recorded as a product finding
Workflow SelectionENABLE_IMPORT_EXPORTAn Import/Export tab inside the E-Invoice tab, plus import and export fields on the shipping address and line
Workflow Selection (E-Invoice)ENABLE_ORIGINAL_INVOICE_REF_FIELDS + ORIGINAL_INVOICE_REFERENCE_FIELDShows Original Invoice Ref No and its column name on the E-Invoice tab and picks which invoice field is quoted: one of the document numbers or the Reference
E-InvoiceSHOW_EMP_REF_NOEmployee reference field on the e-Invoice submission tab. The API upload switch beside it is read by nothing in this applet — no upload tab appears
Entity DetailsENABLE_BRANCH_FILTERPicking a customer not linked to the note’s branch is refused with Customer not linked to branch. Enable vehicle tab beside it is read by nothing in this applet: no vehicle field appears

Lines, prices and departments

SectionSettingEffect when on
LinesSHOW_ITEM_STOCK_BALANCEOffered here and read by nothing in this applet: the item search shows no stock column whatever it says (the shared line screen that reads it is not part of this applet)
LinesENABLE_ITEM_NAME_MAX_LIMIT + ITEM_NAME_MAX_LIMITCaps the item name’s length. Show budget and Disable line item name edit are offered in the same group and read by nothing here: the item name stays editable. ENABLE_EDITING_UNIT_PRICE_STD is read — without it the standard unit price is read-only — but the screen offers its switch only to POS and the Sales Invoice, so it stays off here
Line PermissionDISALLOW_SELL_BELOW_MIN_PRICE / …_REPLACEMENT_PRICE / …_MA_COSTOffered here and read by nothing in this applet: no price floor or ceiling is checked when a credit-note line is added. The Sales Order and Sales Invoice applets are where these bite
Line PermissionDISABLE_EDITING_AMOUNT_TXNTransaction amount locked to price × quantity. The switch appears only to a user granted SHOW_DISABLE_EDITING_AMOUNT_TXN_SETTING
DepartmentMANDATORY_SEGMENT, MANDATORY_DIMENSION, MANDATORY_PROFIT_CENTER, MANDATORY_PROJECTEach makes that field required on a line’s Department tab, so a line cannot be saved without it

Knock-off, settlement and contra

SectionSettingEffect when on
KO ForEnable multiple KO, Enable auto finalBoth are offered in this applet’s KO For group and read by nothing in it: knock-off still takes one source document, and finalising after a knock-off stays a separate click. Enable multiple KO is live in the Sales Invoice and a dozen other document applets, which is where the expectation comes from; Enable auto final is read by no applet at all — a switch that exists only on the settings screen
KO ForENABLE_EDIT_SETTLEMENT_DATELets you type a date on the settlement form; without it the form shows the note’s transaction date. Either way the server saves every line with the note’s transaction date, so a refund cannot be posted to a different date or period from this switch. The edit payment date and edit settlement on final switches other document applets get are not shown for this one
Credit CardMandatory card number / name / issuer / expiry / approval code / batch / card type / CVVOffered on this applet’s screen and read by nothing in it. The card settlement form fixes its own rules whatever is ticked: card number, name on card, issuer, expiry and CVV are always required, card type defaults to VISA, and the form has no approval-code or batch field. The Sales Invoice and POS applets honour the same eight switches
ContraEDIT_CONTRA_TXN_DATEContra date editable. Hide delete contra beside it is read by nothing in this applet

Hide, show and expand toggles (cosmetic)

SectionToggles (HIDE_… unless stated)
Gen Doc ListingSERIAL_NUMBER, GENDOC_FINAL_BUTTON, GENDOC_DISCARD_BUTTON, GENDOC_VOID_BUTTON, GENDOC_SAVE_BUTTON, SEND_EMAIL_BUTTON
Gen Doc FieldsSERVER_DOC_1/2/3, CLIENT_DOC_TYPE, CLIENT_DOC_1…5, DESCRIPTION, ARAP_PNS, ARAP_SETTLEMENT, ARAP_DOC_OPEN, ARAP_CONTRA, ARAP_BAL, MARKETPLACE_ORDER_NO
Vertical UIVERTICAL_ORIENTATION, EXPAND_* per tab
Doc SettingsPREFIX, GENERATE_BUTTON, TRACKING_ID, PERMIT_NO, CREATED_BY_DETAILS, SOURCE_DOC_NO, LOCATION, DELIVERY_BRANCH, DELIVERY_LOCATION, MAIN_DETAILS_SALES_AGENT, BASE_CURRENCY, CURRENCY, CREDIT_TERMS, DUE_DATE, REMARKS, REFERENCE, MEMBER_CARD
E-Invoiceone HIDE_E_INVOICE_* per field (submission type, number, UUID, document no/type/date, billing frequency and period, tax exemption, buyer identity and address)
AccountACCOUNT_BILLING_CONTACT, ACCOUNT_SHIPPING_CONTACT
LinesSALES_AGENT, LINE_ITEM_CLIENT_DOC_1, all UNIT_PRICE_*, UNIT_DISCOUNT*, QTY_BASE, QTY_UOM, UOM_TO_BASE_RATIO, AMOUNT_STD_EXCL_TAX, DISCOUNT_AMOUNT_EXCL_TAX, AMOUNT_NET_EXCL_TAX, AMOUNT_TXN, TAX_CONFIG_SELECTION, WHT_CONFIG_SELECTION, TOTAL_DISCOUNT_AMOUNT, LINE_ITEMS_GL_CODE, LINE_ITEMS_BRANCH, LINE_LISTING_TOTAL_AMOUNT, LINE_LISTING_TAX_AMOUNT
DepartmentSEGMENT, DIMENSION, PROFIT_CENTER, PROJECT
Line item tabsBIN_NUMBER, BATCH_NUMBER, COSTING_DETAILS, PRICING_DETAILS, ISSUE_LINK, SALES_HISTORY, SWAP_SERIAL_NUMBER, MULTI_DISCOUNT, DELIVERY_INSTRUCTION, DEPARTMENT, DOC_LINK, RELATED_DOCUMENTS, DELIVERY_DETAILS, DELIVERY_TRIPS, ATTACHMENT_TAB
Header tabsSERVER_DOC_TYPE, DOC_SHORT_CODE_PREFIX, SEARCH_BY_DOCUMENT_BUTTON, TRACE_DOCUMENT_TAB, EXPORT_TAB, SETTLEMENT_TAB
Credit CardCARD_NO, NAME, CARD_ISSUER, CARD_EXPIRY, APPROVAL_CODE, BATCH, CARD_TYPE, CVV
As with the Sales Invoice applet, the shared screen defaults the detailed pricing columns, tax/WHT code selection and line GL code to hidden for this applet until saved otherwise. The four department fields are not among them for this applet.

Keys in the settings model with no switch on the screen (ignore them): ENABLE_CUSTOM_STATUS_*, INCLUDE_* / ENABLE_* department and tax flags, HIDE_KO_BY_* and the line-level HIDE_KO_FOR_* keys, SHOW_REFERENCE_MAIN_LISTING, SHOW_REMARKS_MAIN_LISTING. WORKFLOW_PROCESS_GUID is the process picked under Workflow Selection, and PRINTABLE is the default set on Printable Format Settings.

Document behaviour settings

AreaHow it is configured
Status flowFixed DRAFT → FINAL → VOID; Discard marks a draft DISCARDED (it stays on file). No custom statuses.
Posting at FINALThe company’s include/exclude list of which follow-on jobs run at FINAL (the journal posting job among them). It applies to every document type of the company — not an applet setting.
WorkflowSettings → Workflow Settings (Company, Process, Description) for INTERNAL_SALES_CREDIT_NOTE.
PrintablesSettings → Printable Format Settings; the listing’s Action column prints with the format resolved per company/branch.
EmailSettings → Email Template; CC supported. Send email to final documents only does not block drafts in this applet — it makes FINAL e-mail the credit note automatically; see the Gen Doc Listing row above.
e-InvoiceThe Sales Credit Note is an e-Invoice document type; at FINAL it is skipped for e-Invoice when the note itself, its branch or its customer says so; the original invoice reference travels with the document (see ENABLE_ORIGINAL_INVOICE_REF_FIELDS).
IntercompanyIntercompany menu; a Sales Credit Note becomes a Purchase Credit Note in the target company — a type that raises the buyer’s payable, so the buying company should not finalise it as generated (why, and what to record instead).

Feature visibility / permissions

API: TNT_API_DOC_INTERNAL_SALES_CREDIT_NOTE_{CREATE,READ,UPDATE,DELETE}_TGT_GUID.

Client-side permissions defined for this applet (38, all CLIENT_SIDE_PERM):

GroupCodes
ButtonsSHOW_GENDOC_FINAL_BUTTON, SHOW_GENDOC_VOID_BUTTON, SHOW_GENDOC_DISCARD_BUTTON, SHOW_CONTRA_ADD_BUTTON
Pricing and amountsSHOW_UNIT_PRICE_STD_PRICING_SCHEME, SHOW_UNIT_PRICE_STD_INCL_TAX, SHOW_UNIT_PRICE_STD_EXCL_TAX, SHOW_UNIT_PRICE_STD_UOM_INCL_TAX, SHOW_UNIT_PRICE_STD_UOM_EXCL_TAX, SHOW_UNIT_PRICE_NET_EXCL_TAX, SHOW_UNIT_PRICE_NET_UOM_EXCL_TAX, SHOW_UNIT_PRICE_TXN, SHOW_UNIT_PRICE_TXN_UOM_INCL_TAX, SHOW_UNIT_DISCOUNT, SHOW_UNIT_DISCOUNT_UOM_EXCL_TAX, SHOW_AMOUNT_STD_EXCL_TAX, SHOW_DISCOUNT_AMOUNT_EXCL_TAX, SHOW_AMOUNT_NET_EXCL_TAX, SHOW_AMOUNT_TXN, SHOW_QTY_BASE, SHOW_QTY_UOM, SHOW_UOM_TO_BASE_RATIO, SHOW_TAX_CONFIG_SELECTION, SHOW_WHT_CONFIG_SELECTION, SHOW_COSTING_DETAILS, HIDE_PRICE, SALES_CREDIT_NOTE_DISPLAY_PRICING, SHOW_DISABLE_EDITING_AMOUNT_TXN_SETTING
Document numbersSHOW_DOC_NO_TENANT, SHOW_DOC_NO_COMPANY, SHOW_DOC_NO_BRANCH, SHOW_CLIENT_DOC_TYPE, SHOW_CLIENT_DOC_1…5, SHOW_TRANSACTION_DATE

The app also looks for SHOW_FILE_IMPORT_MENU, SHOW_INTERCOMPANY_MENU and SHOW_CLONE_BUTTON to re-enable hidden menus and the clone button; these codes are read by the code but are not in the registry for this applet — see Troubleshooting.

Fields

Main Details

FieldMeaningRequiredNotes
Company, Branch, LocationIssuing company/branch and locationYesLocation is carried even though no stock moves
Transaction DateAccounting dateDefaults to todayMust be outside locked fiscal periods at FINAL; dates are shown and sent in the company’s time zone (Malaysia time when none is set)
Currency, Currency RateDocument currencyDefaults to the branch currencyFINAL refuses a zero or empty rate when the currency differs from the company’s
Sales AgentEmployee creditedNo, unless made mandatory in Application Settings — Save and FINAL then stop with Please select a Sales Agent to proceed.Autofill from customer with ENABLE_SALES_AGENT_AUTOFILL
Credit Terms, Credit Limit, Due Date, Reference, Remarks, External RemarksHeader attributesNoA repeated Reference is flagged when ENABLE_DUPLICATE_REFERENCE_CHECK is on — a warning, not a refusal
Tenant / Company / Branch Doc NoThe running numbers—Shown when you open an existing credit note (not on the create form), and read-only there. The company and branch numbers are drawn in the same step that makes the document FINAL, so a draft shows them blank
Custom Document NumberA composed number (branch prefix, type, year-month, branch number)—Shown only when the custom-number setting is on, and only filled for a FINAL document on the few branch codes built into the applet for one deployment. On any other branch it stays empty — turning the setting on does not give you a custom number
Client Doc Type, Client Doc 1–5Customer-side references—Read-only on this form: you cannot type them here

Account: Entity ID (required); billing and shipping contacts and addresses; Intercompany sub-tab (target company).

Line fields

Lines (txn_type = PNS)

FieldMeaningRequiredNotes
ItemAny item; account-code (GL_CODE) items post to their linked GL accountYesItem search is not filtered by type
QuantityQuantity creditedYesMust be at least 1 for every item type: the line form refuses 0 and negatives, so a value-only credit still carries a quantity
Unit price / discount / net / transaction amount, Net Amount, Net Amount with TaxValue creditedNet and transaction amounts required, except on a GL_CODE itemPrices, net, tax and transaction amounts may not be negative, except on a GL_CODE item (discounts are not checked). On a negative GL_CODE line the tax does not post: the journal carries a tax amount only when it is above zero. Quantity signum is forced to 0 on save
Tax Code, Tax Amount, WHTTax reversalFrom item or schemeThe tax amount posts to OUTPUT_TAX. Withholding tax is taken off the line’s transaction amount but posts nothing: the journal’s customer line is built from net plus tax, so it differs from the note’s total by the withholding tax
GL CodeOverrides the SALES default for this lineNoFilled automatically from a GL_CODE item
Batch / Bin sub-tabsPresent for parity with other documentsBatch: batch no, qty, issue and expiry date; Bin: bin code, container measure/qty, qtyNo inventory effect
Segment, Dimension, Profit Center, ProjectDepartment analysisNo unless made mandatoryShown unless hidden in Application Settings

E-Invoice: as the Sales Invoice, plus Original Invoice Ref No and Original Invoice Ref No Col Name when ENABLE_ORIGINAL_INVOICE_REF_FIELDS is on and a reference field is chosen. At an e-invoicing company a FINAL note also gets a Cancellation tab (see Lifecycle and effects).

Settlement and contra lines

Settlement: one line per refund — Bank Transfer, Cash, Cash Back, Cheque, Credit Card, Membership Point Currency, Voucher, TT Payment; amount (≥ 0.01) always required, a date on every type except Voucher and TT Payment, plus the type-specific reference (for a card: number, name, issuer, expiry and CVV).

On a draft, do not edit a saved refund line — delete it and add it again. Adding one records it as money paid out (amount signum +1); saving a Cash, Credit Card, Voucher, Bank Transfer or Membership Point Currency line from Edit Settlement rewrites it as a receipt line (amount signum −1), so the journal debits the cashbook instead of crediting it and the refund reads as money received. Cash Back and Cheque lines keep their +1. After FINAL, the TraceDocument journal grid shows which way it went: a refund credits the cashbook account.

Contra: select FINAL documents of the same customer, company and currency that still have an open balance, from any branch; the total contra is read from the document header rather than recomputed.

Lifecycle and effects

StatusMeaningAllowed next
DRAFTEditable, no postingFINAL, Discard
FINALNumbered, posted to GL and AR. No settlement line can be added; an existing one can still be opened and saved, which changes the document but does not rebuild its journalVOID — except at a company whose e-invoicing is enabled (refused for every credit note there), for a note tied to an e-invoice at any company, and for a note a later document was created from
VOIDReversed with a void reasonnone

FINAL validation (backend, same routine as the invoice): a non-zero exchange rate when the currency differs from the company’s; a linked GL code on every account-code line; a quantity above zero on any Bin row filled on a line; no serial number used twice on the note’s voucher lines; pricing logic set on any made-to-order item; and a date outside any locked fiscal period. A note with no transaction date or no company skips the period test. Blacklist checks do not apply to credit notes, and the stock-balance check skips their zero-signum lines.

Journal — the same posting as a sales invoice with amount signum −1, so every invoice entry is reversed:

DrCrAmountGL code source
Sales, or the line’s own GL code (account-code item)Net amount per lineLine GL code → item-company GL link → company default SALES
Output tax (OUTPUT_TAX)Tax amountCompany default GL
Debtor (DEBTOR / DEBTOR_NON_TRADE)Total including taxCompany default GL, chosen by the customer’s AR type
DebtorCashbook GLEach settlement line (refund paid out)Settlement method

A discount on a line is taken off before the line posts: the Sales debit is the line’s net amount, after the discount. Nothing posts to the company’s sales-discount default (SALES_DISCOUNT), on a credit note or on any other document, so a credit note for RM 1,000 less a RM 50 discount debits Sales RM 950 and shows no discount line in Trace Document → Journal Txn. If you want discounts reported apart from sales, the place to see them is the document lines, not the ledger.

No inventory transaction is written (quantity signum 0) and no COGS entry is made.

VOID sets the status and reason, queues the reversal of the journal and AR, and removes the document from the e-Invoice queue if it is still waiting there unsubmitted.

When VOID is refused, and what to do instead

The server checks three things before it voids a credit note, and each refusal is deliberate:

  • The company has e-invoicing enabled. Every sales credit note of that company is refused with Generic Document cannot be changed to VOID because e-invoice is enabled — submitted or not. The opened note hides its VOID button there; the listing’s bulk VOID is still offered and comes back with that message.
  • The note is tied to an e-invoice — submitted, queued, or carrying an original e-invoice reference — at any company: …because it is linked to an e-invoice.
  • A later document was created from the note: …because it has already been linked with the following documents: and their numbers. Void or discard those first.

That is deliberate: a void does not travel to LHDN, so a note that has, or will have, an e-invoice is corrected with another document.

Within 72 hours of validation, a FINAL note’s E-Invoice › Cancellation tab requests cancellation (Request rejection); the request is approved by your own staff in the My E-Invoice Admin applet (Cancellation › Rejection Requests). If the request’s processing logic is VOID_ORIGINAL_DOC, it does not void a credit note: the same checks refuse it, the request fails with Can not void the generic document, and LHDN is not asked. NEW_REVERSAL_DOC does not build the reversal of a note either: the copy keeps the credit note’s sign, and a sales debit note refuses it.

A request whose logic only cancels (CANCEL_FOR_EDIT_AND_RESUBMIT) skips those checks and does cancel the e-invoice at LHDN, but the credit note stays FINAL and keeps its journal: the books still need the opposite document.

Otherwise correct a wrong credit note yourself with an opposite document: a sales debit note for the amount over-credited, or a fresh invoice. This applet has no button that returns a credit note to DRAFT.

Related applets

Troubleshooting

SymptomCauseFix
Note is FINAL and Trace Document → Journal Txn is empty. The reason BigLedger support reads is MISSING_DEFAULT_GL_CODE: DEBTOR (or DEBTOR_NON_TRADE); no screen shows it until you press ResolveCompany default receivable GL not mapped; FINAL succeeded and the journal job failed afterwardsMap it in Chart of Account, then Financial Report › Error Checking › Trace Document → Missing Journal → Resolve. Resolve, pressed while the cause is still there, posts nothing and shows the reason in the check’s message, so it doubles as the diagnosis
Note is FINAL, no journal, and the reason BigLedger support reads is TOTAL_DEBITS_AND_TOTAL_CREDITS_NOT_BALANCES or NO_JOURNAL_CREATED (Resolve, pressed before the fix, shows Total Debits: …, Total Credits: …)SALES or OUTPUT_TAX resolved no GL code (line → header → item-company link → company default) and the line was dropped, and the customer has no AR/AP type, so there was no receivable line to absorb it — or no line resolved at allMap the missing default in Chart of Account, then Missing Journal → Resolve in Financial Report’s Trace Document
No error, but trade debtors no longer agrees with the debtor ageing, and sales returns or SST are off by the same amountA line resolved no GL code and was left out of the journal; the customer’s line was built from the lines that remained, so it takes that amount less off trade debtors than the note does, and the journal posted. The note is FINAL with a journal, so Trace Document finds nothing, and the customer statement and ageing (built from documents) look right. Before go-live, check every code this note uses has a company default, or every item its ownMap the missing default in Chart of Account. Then open each affected note in Error Checking › Trace Document and press Repost beside Posting Journal: it deletes the short journal and builds it again from the note, now with every line. Repost successful means it worked. A failed Repost shows nothing, and it has already deleted the old journal, so open the Journal Txn grid afterwards: if it is empty, press Resolve on the Missing Journal check, which posts the journal or shows why it cannot. Or post a correcting journal yourself
Credit posted to the generic Sales account instead of a discount/fee accountLine used an ordinary item without a GL overrideUse an account-code item linked to the right GL, or set the line GL Code (unhide HIDE_LINE_ITEMS_GL_CODE)
“The selected date falls within a locked fiscal period.”Transaction date in a closed periodChange the date or reopen the period (message text was aligned with the Sales Invoice applet)
Contra date resets to today after savingOlder build bugFixed; EDIT_CONTRA_TXN_DATE allows a deliberate change; a contra date can never be earlier than the other document’s date, and the server moves it to the later of the two documents’ dates
Contra tab shows a wrong totalOlder build recomputed itFixed: Total Contra is read from the document header
Line-item edit form opens emptyRace condition in price rounding on older buildsFixed; upgrade
Note is FINAL with an empty Journal Txn grid; the reason BigLedger support reads is MISSING_CASHBOOK / MISSING_GL_CODE: STL_MTHD [code]A settlement method used on the Settlement tab has no cashbook or GL code — the journal job failed after FINALComplete it in Cashbook, then Missing Journal → Resolve in Financial Report’s Trace Document. Where your company also writes cashbook lines for this document’s payment lines, that line is missing too, and Trace Document does not restore it for this document type: ask BigLedger support.
File FAILED with Wrong Columns: […]The header carries a column the importer does not know: one of the five the sample picker offers, or SALES_AGENT from the API templateRename the listed columns to the importer’s names (TAX_GST_CODE, AMOUNT_TAX_GST, SALES_AGENT_EMPLOYEE_CODE) or delete them, and upload again
Imported note has no sales agent linkedThe SALES_AGENT_EMPLOYEE_CODE value matches no employee code; the import keeps it as text and raises no errorCorrect the employee code and re-import, or set the agent on the draft
File Import / Intercompany menu missing for one userHIDE_FILE_IMPORT_MENU / HIDE_INTERCOMPANY_MENU on, and the SHOW_*_MENU client-side codes are not defined for this applet in the registryTurn the hide setting off, or ask BigLedger to register SHOW_FILE_IMPORT_MENU, SHOW_INTERCOMPANY_MENU and SHOW_CLONE_BUTTON for InternalSalesCreditNote
Duplicate Reference CN … under the Reference fieldENABLE_DUPLICATE_REFERENCE_CHECK found another credit note with that ReferenceA warning only — the save goes through. Use a unique reference if your references must be unique; nothing else enforces it
PDF shows the previous day’s dateOlder builds converted dates without a time zoneFixed: transaction dates are now converted in the company’s time zone (Malaysia time when the company has none)

Related documentation

Last updated on