Skip to content

Purchase Invoice No Stock In (Internal)

Record a supplier’s invoice for stock that a GRN Stock In has already booked into inventory. Finalising books what you owe the supplier and, when the invoice is linked to the receipt it settles, clears the accruals that receipt raised; it never moves stock, so raising a stock-moving invoice for the same delivery counts the stock twice. Capture the tax on one document of the pair only: the accrual is reversed on the total including tax while the receipt accrued the net, so the two accrual accounts reconcile exactly only for tax-free lines.

Your job, and the screen for it

The jobScreen or tabRead
Record a supplier’s bill for goods a GRN Stock In already booked — it never moves stock, so a stock-moving invoice for the same delivery counts it twiceInternal Purchase Invoice No Stock In listing, create and editLifecycle and effects
Link it to the receipt it settles, so the accrual reversal runs — it does not clear exactly on taxed linesKO For tab (each grid shows only with an enabled LINE flow row for its source type)Delivery Details, Payment, Contra, KO For
Capture the tax on one document of the pair only, then reconcile the two accrual accounts — a residual equal to the tax remainsThe invoice’s lines, or the GRN Stock In’s — not bothLifecycle and effects
Raise invoices from a file — the import creates ordinary, stock-moving Purchase Invoices, not this type, so never import a bill for goods a GRN Stock In already receivedFile ImportDocument behaviour settings

Overview

The Purchase Invoice No Stock In (Internal) applet records the supplier’s invoice for goods that were already booked into stock by a Purchase GRN Stock In. On FINAL it books the trade creditor and, when the invoice is linked to the GRN Stock In it settles, clears the Creditor Not Invoiced / Inventory Not Invoiced accruals that the GRN Stock In raised — it never creates an inventory transaction (quantity signum 0, amount signum −1). Finance or accounts-payable staff create it against a FINAL GRN Stock In (or a Purchase Order), and BigLedger creates it automatically when the company’s Knock Off Configuration also has an automatic-conversion row for GRN Stock In → this type.

It is the second document of one of the two receiving pairs on the purchase side:

PairReceipt documentInvoice document
GRN Stock In + PI No Stock In (this applet)Purchase GRN Stock In — INTERNAL_PURCHASE_GRN_STOCK_IN, quantity +1 / amount −1: moves stock, updates cost, accrues Inventory Not Invoiced / Creditor Not InvoicedThis applet — INTERNAL_PURCHASE_INVOICE_NO_STOCK_IN (short code PURINVNSI), quantity 0 / amount −1: no stock, books the trade creditor and reverses the accrual
GRN + Purchase InvoicePurchase GRN — 0 / 0, receipt record onlyPurchase Invoice — +1 / −1, moves stock and books the creditor

Purchasing core concepts §3 explains both pairs and the accrual; mixing them counts the goods twice or never.

The old framing of this applet as an invoice “for services and overheads” is wrong: nothing in the product restricts the items — any item type is accepted — but the journal is designed around a preceding GRN Stock In. An invoice for a service can be raised here, but the ordinary Purchase Invoice with a non-inventory item does the same without the accrual leg.

Where it fits

Modules: Purchasing and Financial Accounting.

DirectionDocument / appletRelationship
UpstreamPurchase GRN Stock InThe receipt this invoice settles. The header KO For tab offers Purchase GRN Stock In when the company’s Knock Off Configuration has an enabled LINE row INTERNAL_PURCHASE_GRN_STOCK_IN → INTERNAL_PURCHASE_INVOICE_NO_STOCK_IN. That row only opens the GRN Stock In lines for knock-off; BigLedger creates this document by itself only from a separate automatic-conversion row for the same pair.
UpstreamPurchase Order, Purchase GRN, Purchase Requisition, Supplier Delivery OrderOther knock-off sources: KO For offers Purchase Order and Purchase GRN; the line editor’s KO sub-tabs (PO, GRN, PR, Supplier DO) appear per enabled LINE flow row. A link from any of these also triggers the accrual-reversal journal leg (see Lifecycle).
DownstreamPurchase Return, Purchase Credit Note, Purchase Debit Note, Payment VoucherReturn, adjustment and settlement of the creditor balance; a RETURN link from a Purchase Return blocks VOID in the applet.
SiblingPurchase InvoiceThe stock-moving invoice of the other pair. Raising it for goods already received on a GRN Stock In counts the stock twice.
Supplier-side viewPurchase Invoice Supplier AccessExternal view of purchase invoices.
e-InvoiceMY e-Invoice AdminThe applet carries an E-Invoice tab and a SELF-BILLED action, but the e-Invoice submission pipeline does not handle this document type and the server refuses SELF-BILLED for it (see Document behaviour settings).

Screens and menus

Menu items: Internal Purchase Invoice No Stock In (listing), Line Items (every line across documents), File Import, File Export.

Listing. Columns: Doc Short Code (PURINVNSI), E-Invoice Running No. and E-Invoice Date, Doc No (Tenant / Company / Branch), Custom Document No., Reference, Posting Status, Status, Branch Code, Currency, Supplier Name, Self Billed ?, Purchaser, Amount Txn, the AR/AP amount columns (PNS, Settlement, Doc Open, Contra, Balance), Created and Updated Date / By, Transaction Date, the e-Invoice billing frequency and period, Client Doc Short Code and Client Doc 1–5, the five External document numbers with their dates, and GL Dimension, Segment, Profit Center and Project.

The number, e-Invoice, branch, date, client-document, amount, AR/AP, External and dimension columns are each governed by a HIDE_* (or SHOW_*) setting with a matching SHOW_* permission; the others always show.

Toolbar: FINAL (multi-select, every row DRAFT), DISCARD (DRAFT rows), VOID (FINAL rows), SINGLE/MULTIPLE PRINT (needs PRINTABLE), and SELF-BILLED. DEFAULT_TRANSACTION_DATE, DEFAULT_POSTING_STATUS, DEFAULT_STATUS, SORT_ORDER and FUZZY_SEARCH_COLUMNS shape the initial query; the filter panel adds Supplier, Company, Branch, Purchaser, the four dimensions, date ranges (transaction, created, updated, e-Invoice billing period, e-Invoice date) and Order By; the five external-document date filters appear only once the matching HIDE_EXTERNAL_* key has been saved as off.

Creating a document. The listing’s add button saves an empty TEMP document and opens it in the edit form below; Search Document and KO For show only while it is TEMP, and it stops being TEMP by itself, without SAVE, as soon as it has a branch, location, currency, supplier and one line: pick the receipt in KO For before you add any line by hand. The applet also contains a separate seven-tab create screen with a CREATE button, but nothing on the listing opens it. There is no intercompany Search tab in this applet.

Create form Main Details tab with the branch picker open
Main Details: Branch and Location are required; Delivery Branch / Location default to them.

Edit form tabs (order configurable in Default Selection): Search Document (TEMP documents only — Search Purchase Order, Search Purchase GRN, Search Purchase Invoice, which clones a FINAL document of this type), Main Details, E-Invoice, Account, Line Items, KO For (TEMP only), Delivery Details, ARAP, Payment, Department Hdr, Posting, TraceDocument, Contra, Doc Link, Attachment, Export. Buttons: currency switch (forex documents), FINAL, VOID, SAVE, DISCARD, and a CLONE menu entry; a two-click DELETE appears for non-FINAL documents when SHOW_DOCUMENT_DELETE_BUTTON is set for the applet. All tabs can render as vertical expansion panels (VERTICAL_ORIENTATION).

Search Document tab with the Search Purchase Invoice sub-tab and CLONE button
Search Document: the Search Purchase Invoice sub-tab clones an existing PI No Stock In (optionally with attachments).

Lines and settings screens

Line editor (Add / Edit Line Item): Item Details (Main Details; Child Items for a grouped item or bundle; Department; Doc Link once the line is saved; Delivery Details), Grouped Item for a grouped item, Serial Number / Batch Number / Bin Number (by the item’s sub-item type), Costing Details and Issue Link.

Editing a saved line on the invoice adds KO By / KO For tabs for Purchase GRN, Purchase Order, Purchase Requisition and Supplier Delivery Order, each shown when the company has an enabled knock-off row from that type. A line opened from the Line Items menu has Delivery Instruction in its Item Details and a Pricing Details tab instead, and no Grouped Item or KO tabs. The Lines tab offers Search Item (item types BASIC_ITEM, MADE_TO_ORDER, BUNDLE, NSTI, VOUCHER, ACCOUNT_CODE), a Landed Cost amount with ALLOCATE / CONFIRM, and KO sub-tabs per enabled flow row.

Settings menu (System Configuration): Application Settings, Default Selection, Printable Format Settings, Branch Settings; then Permission Wizard, Permission Set, User Permission and Role Permission, and Release Notes. Webhook, Feature Visibility, Applet Log, Client Side Permission, Team Permission, Role Pricing Scheme Link and Knock Off Settings have routes but no menu entry, so they open only from their address. Personalization: Default Selection only (the Sidebar screen has a route and no menu entry).

Configuration

Before you can use it

  • Company, branch and location in Organisation. Branch and Location are required on the header; Delivery Branch / Delivery Location default to them. No inventory transaction is created, so the location only travels to the journal and the knocked-off lines.
  • Default GL codes for the company: CREDITOR (or CREDITOR_NON_TRADE, chosen by the supplier’s AR/AP type), PURCHASE for lines without their own GL code, INPUT_TAX when tax is captured, and — for every invoice that carries a knock-off link — CREDITOR_NOT_INVOICED and INVENTORY_NOT_INVOICED. Set them through Chart of Account and the company’s default GL mapping. Missing creditor, CREDITOR_NOT_INVOICED or INVENTORY_NOT_INVOICED codes make the journal job fail with MISSING_DEFAULT_GL_CODE: <code>; a missing PURCHASE / INPUT_TAX code silently drops the line and the job fails with TOTAL_DEBITS_AND_TOTAL_CREDITS_NOT_BALANCES (or, with an AR/AP type on the supplier, posts short; see Troubleshooting). A tax-free invoice whose every line is dropped fails with NO_JOURNAL_CREATED.
  • Item-specific GL codes: an NSTI item looks up txn code NSTI instead of PURCHASE. An Account Code item with no GL code on the line, the item or an item-company link is refused when you save or finalise (Item … has no linked GL Code. Link a GL Code in Doc Item Maintenance before creating this transaction.), a check the backend added on 11 November 2026.
  • Knock Off Configuration for the company (Organisation → Company → Knock Off Configuration): an enabled LINE row INTERNAL_PURCHASE_GRN_STOCK_IN → INTERNAL_PURCHASE_INVOICE_NO_STOCK_IN so FINAL GRN Stock Ins are queued for this invoice and the Purchase GRN Stock In KO tab renders. Automatic creation needs a second, automatic-conversion row for the same pair (config type KO_DOC, mode AUTO); that row’s target posting status decides whether the auto-created invoice is DRAFT or FINAL (FINAL when it sets none). Rows for INTERNAL_PURCHASE_ORDER, INTERNAL_PURCHASE_GOODS_RECEIVED_NOTE, INTERNAL_PURCHASE_REQUISITION and INTERNAL_OUTBOUND_DELIVERY_ORDER enable the other KO tabs. Downstream rows (INTERNAL_PURCHASE_INVOICE_NO_STOCK_IN → …) decide whether FINAL opens the lines for a Purchase Return or a Payment Voucher.
  • Suppliers in Supplier: the entity’s AR/AP type picks the creditor account.
  • Items in Doc Item Maintenance — any item type is accepted; an item-company GL link with txn code PURCHASE overrides the company default for that item.
  • Tax codes in Tax Configuration if input tax is captured on lines. Capture the tax on one document of the pair only (see Lifecycle).
  • Running numbers for INTERNAL_PURCHASE_INVOICE_NO_STOCK_IN are assigned on FINAL.
  • Server-side permissions: TNT_API_DOC_INTERNAL_PURCHASE_INVOICE_NO_STOCK_IN_CREATE / READ / UPDATE / DELETE_TGT_GUID plus …_DELIVERY_BRANCH_READ for documents whose delivery branch the user is not a member of. The SELF-BILLED call checks API_TNT_DM_ERP_MY_E_INVOICE_TO_IRB_UPDATE and then refuses this document type (see e-Invoice below).

Applet settings

The settings below are grouped in the order you would set them up: the screens that hold them, the defaults a new document takes, then the listing, the header, the tabs, the lines, payment and contra dates, and each user’s own preferences. The last group covers the remaining keys.

The screens that hold these settings

ScreenComponentWhat it holds
Settings → Application Settingsshared Application Settings screenThe HIDE_* / ENABLE_* toggles below, including the tab-hide toggles and the transaction-amount lock.
Inline gear (shown when ENABLE_INLINE_APPLET_CONFIG is on)on the listing, edit form, Main Details, Account and its sub-panels, line editor, Item Details, Lines tab, ARAP, Department Hdr, Doc Link, Export, Payment, supplier picker and supplier editMaster and personal overrides for the keys shown on that screen. Some keys are available only through the gear (HIDE_CREDIT_TERMS, HIDE_CREDIT_LIMIT, HIDE_REFERENCE, HIDE_REMARKS, HIDE_FILE_IMPORT_MENU, HIDE_FILE_EXPORT_MENU, HIDE_LISTING_BRANCH, HIDE_EINVOICE_NUMBER, HIDE_EINVOICE_DATE, HIDE_SETTLEMENT_TAB, HIDE_SUPPLIER_*_TAB, EXPAND_E_INVOICE, EXPAND_PAYMENT, ENABLE_SELECT_MODE, SHOW_CUSTOM_DOC_NO, ENABLE_IMPORT_EXPORT).
Settings → Default Selectionapplet’s own screenDefault Branch, Default Location (auto-filled with the branch’s main location), Unit Price Decimal Precision, Transaction Date Logic, and drag-and-drop Details Tab Ordering (PURCHASE_INVOICE_NO_STOCK_IN_DETAILS_TAB_ORDER).
Settings → Printable Format Settingsapplet-local listing with “set default”PRINTABLE (default Jasper template GUID for Export and bulk print).
Settings → Branch Settingsapplet-local, per branchBranch Details, Item Category Filter, Pricing Scheme, Printable Format (per-branch default template, read by Export ahead of PRINTABLE), Default Settlement Method.
Personalization → Default Selectionapplet’s own screenPersonal Default Branch / Location / Company, Toggle Column (DEFAULT_TOGGLE_COLUMN), Default Item Search Item Type, Tab Orientation (DEFAULT_ORIENTATION); personal values override the master ones.

Master settings are changed by OWNER / ADMIN users through the Settings menu or the gear’s master mode; personal mode on the gear and Personalization are open to every user. Defaults: every toggle below is off / empty unless the row says otherwise — an absent key counts as “not hidden”. A fresh tenant therefore sees every field until Application Settings is saved once — except the five External document fields on Main Details, which appear only once their HIDE_EXTERNAL_* key has been saved as off. Application Settings shows those five switches on for a tenant that never set them, so the first save hides the External listing columns too unless you turn them off (see the External row below).

The tables below list the keys the applet actually reads.

Defaults a new document takes

SettingWhat it controlsDefaultEffect when changed
DEFAULT_BRANCH, DEFAULT_LOCATION, DEFAULT_COMPANY (Default Selection, also personal)New-document headeremptyApplied as Branch / Location / Company when a document is created.
DEFAULT_DECIMAL_PRECISION (Default Selection)Unit price decimals on lines2 (DEFAULTS.DECIMAL_PRECISION, allowed 2–4)Sets the decimal places and step of every price field.
Transaction Date Logic (Default Selection)Nothing in this appletUSE_DATE_TXNOffered on Default Settings and read by nothing here: this applet never sends the chosen logic with its finalise call, so the transaction date is always the one on the form. The Sales Invoice applet does send it from the same setting, which is where the expectation comes from.
PRINTABLE (Printable Format Settings)Default templateemptyPre-selects the template on Export and enables bulk print; a Branch Settings → Printable Format default for the branch overrides it.

The listing

SettingWhat it controlsDefaultEffect when changed
DEFAULT_TRANSACTION_DATEListing date preset (1_day, 1_week, 1_month)empty (one month back)Listing opens pre-filtered.
DEFAULT_POSTING_STATUS, DEFAULT_STATUS, SORT_ORDER, FUZZY_SEARCH_COLUMNSListing default filters, ordering (by last update) and the columns the keyword search hitsemptyShared listing behaviour.
DISABLE_GEN_DOC_LISTINGSuppresses the listing’s first loadoffThe grid opens empty instead of running the default search. It does not lock anything — Create still works and rows still open. Use it where the default search is slow. The Purchase GIN applet’s key of the same name behaves differently and does lock the listing.
ENABLE_AUTO_POPUPPrint after FINALoffAfter a FINAL from the listing or the edit form, opens each finalised document as a PDF in the default PRINTABLE template (when several are finalised at once, a success that arrives while an earlier PDF is still loading opens no PDF, so print any missing ones from the listing). Without a default template the FINAL still goes through and the print fails with No Default Printable Selected. SINGLE/MULTIPLE PRINT also opens a preview while it is on.
HIDE_GENDOC_FINAL_BUTTON, HIDE_GENDOC_VOID_BUTTON, HIDE_GENDOC_DISCARD_BUTTON, HIDE_GENDOC_SAVE_BUTTON, HIDE_CLONE_BUTTON, HIDE_EXPORT_AS_PDF_BUTTONListing / edit-form action buttonsoffHide the button for everyone; SHOW_GENDOC_FINAL / VOID / DISCARD_BUTTON client-side permissions re-show the first three per role (seeded for this applet). HIDE_CLONE_BUTTON is offered on no settings screen or gear. HIDE_PRINT_BUTTON is offered but read by nothing.
HIDE_SERVER_DOC_1…3, HIDE_CLIENT_DOC_TYPE, HIDE_CLIENT_DOC_1…5, HIDE_EINVOICE_NUMBER, HIDE_EINVOICE_DATE, HIDE_LISTING_BRANCH, HIDE_TRANSACTION_DATE, HIDE_DESCRIPTION, HIDE_DOCUMENT_LINKS, HIDE_AMOUNT_TXN_MAIN_LISTINGListing columns (and the matching Main Details fields)offHidden; the SHOW_* permission in the listing column map re-shows them. Read on this listing: the three number columns (Doc No, Doc No (Company), Doc No (Branch)) are hidden when the listing opens, and a hidden column is also taken out of the grid’s own column panel, so a user cannot put it back from there.
HIDE_EXTERNAL_QUOTATION, HIDE_EXTERNAL_ORDER, HIDE_EXTERNAL_DELIVERY_ORDER, HIDE_EXTERNAL_INVOICE, HIDE_EXTERNAL_OTHERS (fallback keys HIDE_QUOTATION, HIDE_ORDER, HIDE_DELIVERY_ORDER, HIDE_INVOICE, HIDE_OTHERS)External Quotation / Order / Delivery Order / Invoice / Others number and date fields and columnsMain Details fields: hidden until setThe listing columns show unless the HIDE_EXTERNAL_* key is on. The Main Details fields show only when the key has been saved as off: on a tenant that never saved it, External Invoice is not on the form, and Application Settings shows these switches on until you change them, so saving the screen unchanged keeps them hidden. Turn the switch off on Application Settings (or through the gear) and save. The bare keys are offered but read only by the filter panel, which falls back to them for its date filters, and (HIDE_DELIVERY_ORDER) by the GRN Stock In knock-off grid.
HIDE_ARAP_PNS, HIDE_ARAP_SETTLEMENT, HIDE_ARAP_DOC_OPEN, HIDE_ARAP_CONTRA, HIDE_ARAP_BALAR/AP columns on the listing and the ARAP taboffHIDE_MAIN_ARAP_TAB hides the whole tab.

Header fields, supplier and currency

SettingWhat it controlsDefaultEffect when changed
HIDE_ACCOUNT_BILLING_CONTACT, HIDE_ACCOUNT_SHIPPING_CONTACT, HIDE_BILL_TO_TAB, HIDE_SHIP_TO_TAB, HIDE_ENTITY_BRANCH, HIDE_ENTITY_DETAILS_CURRENCY / STATUS / IDENTITY_TYPE / DESCRIPTION / TYPE / ID_NUMBER / EMAIL / PHONE_NUMBERAccount tab panels and entity fieldsoffHide the panel / field.
HIDE_SUPPLIER_CATEGORY_TAB, HIDE_SUPPLIER_LOGIN_TAB, HIDE_SUPPLIER_PAYMENT_CONFIG_TAB, ENABLE_SELECT_MODEInline supplier edit / pickeroffHide supplier-edit tabs; row-selection mode in the picker.
HIDE_LOCATION, HIDE_DELIVERY_BRANCH, HIDE_DELIVERY_LOCATION, HIDE_CREDIT_TERMS, HIDE_CREDIT_LIMIT, HIDE_REFERENCE, HIDE_REMARKS, HIDE_EXTERNAL_REMARKS, HIDE_PERMIT_NO, HIDE_TRACKING_ID, HIDE_SOURCE_DOC_NO, HIDE_CREATED_BY_DETAILS, HIDE_BASE_CURRENCY, HIDE_CURRENCY, SHOW_CUSTOM_DOC_NOMain Details fieldsoffHide (or, for SHOW_CUSTOM_DOC_NO, show) the field.
CANNOT_EDIT_CURRENCY_RATE, SHOW_FOREX_DATA_SOURCECurrency rate fieldoffCANNOT_EDIT_CURRENCY_RATE greys out both rate boxes on every document, not only on FINAL ones. What it can still become, and what SHOW_FOREX_DATA_SOURCE does, is below.
ENABLE_EMPLOYEE_LOGIN_AUTO_DETECTIONPurchaseroffOn a TEMP document the purchaser is looked up from the logged-in user’s employee record.
ENABLE_DUPLICATE_REFERENCE_CHECKReferenceoffWarns when the same reference already exists on another PI No Stock In.

What a locked rate can still become. The rate can then change only through the applet:

  • 1 when the currency is your base currency;
  • a current market rate fetched when you change Currency or press the live-rate button beside the box (the button stays usable) — the fetched rate is today’s, not the rate for the Transaction Date, and a failed lookup changes nothing and shows no message;
  • or 0 when you choose a supplier whose currency differs from both your base currency and the document’s: the document switches to the supplier’s currency with a rate of 0, which FINAL then refuses until you enter one.

SHOW_FOREX_DATA_SOURCE takes the rate from a recorded source. It replaces the Currency picker and rate boxes with a Forex Data Source picker and one rate box: choosing a source sets Currency to that source’s foreign currency and fills the rate with the source’s most recent recorded sell rate, whatever its date. A source with no recorded rate leaves the rate as it was.

Either way nothing compares the rate with the one on the supplier’s invoice, so whoever finalises a foreign-currency invoice checks the rate against the supplier’s document, or your bank’s rate for that date, before FINAL.

Tabs and layout

SettingWhat it controlsDefaultEffect when changed
HIDE_SEARCH_BY_DOCUMENT_BUTTON, HIDE_KO_FOR_TAB, HIDE_DELIVERY_DETAILS_TAB, HIDE_MAIN_ARAP_TAB, HIDE_MAIN_PAYMENT_TAB, HIDE_DEPARTMENT_HDR_TAB, HIDE_POSTING_TAB, HIDE_TRACE_DOCUMENT_TAB, HIDE_MAIN_CONTRA_TAB, HIDE_DOC_LINK_TAB, HIDE_ATTACHMENT_TAB, HIDE_EXPORT_TABCreate / edit-form tabsoffHide the tab. The E-Invoice tab has no hide key.
EXPAND_MAIN_DETAILS, EXPAND_E_INVOICE, EXPAND_ACCOUNT, EXPAND_LINE_ITEMS, EXPAND_KO_FOR, EXPAND_DELIVERY_DETAILS, EXPAND_MAIN_ARAP, EXPAND_PAYMENT, EXPAND_DEPARTMENT_HDR, EXPAND_POSTING, EXPAND_TRACE_DOCUMENT, EXPAND_MAIN_CONTRA, EXPAND_DOC_LINK, EXPAND_ATTACHMENT, EXPAND_EXPORT, VERTICAL_ORIENTATIONVertical layoutoffStacked expansion panels; EXPAND_* chooses the panel opened by default.
PURCHASE_INVOICE_NO_STOCK_IN_DETAILS_TAB_ORDER (Default Selection)Edit-form tab orderSearch Document, Main Details, E-Invoice, Account, Line Items, KO For, Delivery Details, ARAP, Payment, Department Hdr, Posting, TraceDocument, Contra, Doc Link, Attachment, ExportSaved order applied to the edit form; new tabs are appended.

Line settings

SettingWhat it controlsDefaultEffect when changed
HIDE_SERIAL_NUMBER, HIDE_BATCH_NUMBER, HIDE_BIN_NUMBER, HIDE_BATCH_ISSUE_DATE, HIDE_BATCH_EXPIRY_DATE, HIDE_COSTING_DETAILS, HIDE_ISSUE_LINK, HIDE_DOC_LINK, HIDE_DOC_LINK_FROM, HIDE_DOC_LINK_TO, HIDE_DELIVERY_DETAILS, HIDE_DELIVERY_INSTRUCTION, HIDE_DEPARTMENTLine editor tabsoffHide the tab. HIDE_MULTI_DISCOUNT, HIDE_RELATED_DOCUMENTS and HIDE_DELIVERY_TRIPS are offered too, but this applet has no such tabs and reads none of them.
DISALLOW_LINE_ITEM_EDITEdit Line ItemoffHides the line SAVE controls; the ALLOW_LINE_ITEM_EDIT permission (not seeded) re-enables them per role.
HIDE_SEGMENT, HIDE_DIMENSION, HIDE_PROFIT_CENTER, HIDE_PROJECTDepartment pickers (header and line)offHide the dimension; the listing reads SHOW_GL_DIMENSION / SEGMENT / PROFIT_CENTER / PROJECT as opt-in column settings or permissions.
HIDE_QTY_BASE, HIDE_QTY_UOM, HIDE_UOM_TO_BASE_RATIO, HIDE_UNIT_PRICE_STD_PRICING_SCHEME, HIDE_UNIT_PRICE_STD_INCL_TAX, HIDE_UNIT_PRICE_STD_EXCL_TAX, HIDE_UNIT_PRICE_STD_UOM_INCL_TAX, HIDE_UNIT_PRICE_STD_UOM_EXCL_TAX, HIDE_UNIT_PRICE_NET_EXCL_TAX, HIDE_UNIT_PRICE_NET_UOM_EXCL_TAX, HIDE_UNIT_PRICE_TXN, HIDE_UNIT_PRICE_TXN_UOM_INCL_TAX, HIDE_UNIT_DISCOUNT, HIDE_UNIT_DISCOUNT_UOM_EXCL_TAX, HIDE_AMOUNT_STD_EXCL_TAX, HIDE_DISCOUNT_AMOUNT_EXCL_TAX, HIDE_AMOUNT_NET_EXCL_TAX, HIDE_AMOUNT_TXN, HIDE_TAX_CONFIG_SELECTION, HIDE_WHT_CONFIG_SELECTION, HIDE_LAST_PURCHASE_PRICE, HIDE_GROUP_DISCOUNT_PERCENTAGE, HIDE_LINE_ITEMS_GL_CODELine Main Details quantity / price / tax / GL fieldsoffHide for everyone; the seeded SHOW_* permission re-shows the field for a role.
HIDE_TOTAL_TXN_AMOUNT, HIDE_TOTAL_SST_VAT_GST_AMOUNT, HIDE_LANDED_COSTTotals and the Landed Cost allocation controls on the Lines taboffHide.
SHOW_BUDGETBudget pickers (vote book, fiscal period, budget item, register) on line Main DetailsoffShows the budget controls.
ENABLE_ITEM_NAME_MAX_LIMIT, ITEM_NAME_MAX_LIMIT, DISABLE_LINE_ITEM_NAME_EDITItem Name on linesoff / emptyCharacter counter and limit; lock the name.
ENABLE_MULTIPLE_KOKO For and line KO gridsoffAllows lines from several source documents in one knock-off.

Payment and contra dates

SettingWhat it controlsDefaultEffect when changed
EDIT_CONTRA_TXN_DATE, ENABLE_EDIT_PAYMENT_DATEContra and Payment tabsoffLet a payment line keep its own date, and let a contra take the date you type — see below.
  • Payment. The settlement line always has a date picker, but with ENABLE_EDIT_PAYMENT_DATE off every settlement line is re-dated to the invoice’s Transaction Date whenever the invoice changes, so a date you picked does not stay (read, not run). The switch only keeps a date you pick. Record supplier payments on a Payment Voucher dated the day the money left, not on this tab: a Payment-tab line posts the wrong way round (see Payment lines below).
  • Contra. With EDIT_CONTRA_TXN_DATE off the contra is dated with the Doc Date on the contra form, which starts as the other document’s own date, and the Transaction Date box is read-only. With it on, the contra takes the Transaction Date box, which starts at today. The supplier’s statement of account shows the offset on that date.

Each user’s own preferences

SettingWhat it controlsDefaultEffect when changed
DEFAULT_TOGGLE_COLUMN, DEFAULT_ORIENTATION, DEFAULT_ITEM_SEARCH_ITEM_TYPE (Personalization)Listing column layout, tab orientation, Search Item type filteremptySINGLE shows the listing and an open document one at a time; DOUBLE shows them side by side. DEFAULT_ORIENTATION overrides the master VERTICAL_ORIENTATION for this user in either direction (VERTICAL for stacked panels, HORIZONTAL for tabs), and stacked panels bring the one-column view with them unless DOUBLE is chosen. On a screen 768 pixels wide or narrower the applet always uses one column. Default Item Search Item Type: see below.

Default Item Search Item Type is saved but nothing reads it: Search Item opens unfiltered whatever you pick, so narrow it by item type in the Search Item search panel each time.

Keys with no screen, and switches that change nothing

On Application Settings and on no gear: DISABLE_ITEM_LISTING, ENABLE_DRAFT_LOCK_SERIAL_NUMBER_CHECKING, HIDE_PRICING_DETAILS, SHOW_ITEM_STOCK_BALANCE. On both: SHOW_GL_DIMENSION / SEGMENT / PROFIT_CENTER / PROJECT.

Honoured by the applet but offered on no settings screen or gear (ask support to set them): DEFAULT_DECIMAL_STEP (derived from the precision), HIDE_E_INVOICE_TAB, HIDE_SUPPLIER_CODE, HIDE_EMAIL, HIDE_PHONE_NUMBER, HIDE_SIC_CODE_AND_BUSINESS_ACTIVITY_DESCRIPTION (all on the inline supplier edit), HIDE_MAIN_DETAILS_INVOICE, HIDE_MAIN_DETAILS_EXTERNAL_DOC_1_DATE, MANDATORY_REFERENCE, HIDE_CLONE_BUTTON, and HIDE_LINE_ITEM_PRICING (Lines-tab price columns, paired with the INTERNAL_PURCHASE_INVOICE_NO_STOCK_IN_DISPLAY_PRICING permission). The other MANDATORY_* keys the form applies are on Application Settings: MANDATORY_SEGMENT, MANDATORY_DIMENSION, MANDATORY_PROFIT_CENTER, MANDATORY_PROJECT, and beside each External toggle a Mandatory and a Date Mandatory box (MANDATORY_QUOTATION, MANDATORY_ORDER, MANDATORY_DELIVERY_ORDER, MANDATORY_INVOICE, MANDATORY_OTHERS and their _DATE keys).

Shown on a settings screen but never read (saved and ignored): the eight knock-off by / for switches (their Knock Off Settings screen has no menu entry and opens only from its address, and it also saves Automatically Scan Item To The Listing and Validate Serial Numbers, which nothing reads either), Allow different payee than selected entity (honoured by the Payment Voucher and Purchase Invoice), the two Copy From Configuration toggles (not shown on the screen at all), ENABLE_BRANCH_FILTER, ENABLE_IMPORT_EXPORT, HIDE_PRINT_BUTTON, HIDE_MULTI_DISCOUNT, HIDE_RELATED_DOCUMENTS, HIDE_DELIVERY_TRIPS, EXPAND_DELIVERY_TRIPS, EXPAND_SETTLEMENT, HIDE_SETTLEMENT_TAB, HIDE_SST_VAT_GST_AMOUNT, HIDE_CREATED_DATE, HIDE_UPDATED_DATE, and the card / batch HIDE_* / MANDATORY_* keys of the payment panel.

Document behaviour settings

  • Posting is not configurable in the applet: FINAL is fixed at quantity 0 / amount −1 (see Lifecycle). Stock-balance checks apply to stock-moving lines only, so none run for this document.
  • Serial and batch numbers before FINAL: the edit form disables FINAL while a serialised line has an invalid serial or a batch line’s batch quantities do not add up to the line quantity — but it checks the lines in turn and a serialised line overwrites the result of the lines before it, so an invalid serial or a bad batch on an earlier line can be missed when a later serialised line is valid.
  • Serial checks on the listing and the server: the listing FINAL refuses a row only when a serialised line has no serial numbers at all. These are form-side checks: on the server, neither the serial count nor whether the serials exist is checked for this document type, because its lines move no stock and the applet asks for no serial validation.
  • Serials already received on the GRN Stock In come back invalid here. When this applet checks a serial number on a line, it asks whether the serial is already in stock anywhere in the company, and marks it invalid if it is (Serial Number already exist in location …), whatever the settings. A serial received by the Purchase GRN Stock In is in stock, so keying or scanning it on this invoice is refused in that way, and the edit form keeps FINAL greyed out while the line holds it.
  • Status flow options: HIDE_GENDOC_* hide FINAL / VOID / DISCARD; SHOW_DOCUMENT_DELETE_BUTTON set for the applet exposes DELETE. There is no FINAL → DRAFT button in this applet (the seeded HIDE_DRAFT_BUTTON permission is never checked).
  • Transaction date: the Transaction Date Logic setting on Default Selection is read by nothing here; the date on the form is the date that is finalised.
  • Printables: Jasper templates from Printable Format Settings; default from Branch Settings → Printable Format, else PRINTABLE. Export offers EXPORT AS PDF only (the CSV / DOCX / ZIP buttons are commented out of the screen). There is no PRINTABLE_FORMAT_WITH_NO_PRICE permission for this applet: it is neither defined for it nor checked.

e-Invoice, workflow and file import

  • e-Invoice (self-billed): the listing’s SELF-BILLED button sends the selected documents to the self-billed call, and the server refuses this document type with Invalid document type for self-billed. before it changes anything: it accepts only the ordinary Purchase Invoice, Self-Billed Invoice, Debit Note, Credit Note, Refund Note and Purchase Return types, which are also the only purchase types the submission pipeline handles. The listing shows the refusal as an error toast.
  • No self-billed route for this pair yet: a change to add this type is open. Until then there is no self-billed route for goods received on a GRN Stock In: the ordinary Purchase Invoice can be submitted self-billed, but it moves stock, so it is the right document only when it is also the one receiving the goods (the GRN + Purchase Invoice pair), never a second invoice for goods a GRN Stock In already received.
  • The self-billed flag: a document can still carry the self-billed flag, because choosing a supplier copies that supplier’s self-billed setting onto the invoice; the E-Invoice tab then shows Progress, Notification, Cancellation and Matched History beside Submission on a FINAL document of an e-Invoice-enabled company. The edit form hides VOID whenever the document’s company has e-Invoice enabled (see Lifecycle).
  • Workflow / approval: none wired. Intercompany: not available in this applet; intercompany conversion from a sales invoice creates an ordinary Purchase Invoice, not this type.
  • File Import: it uses the ordinary Purchase Invoice importer, so every document it creates is an ordinary, stock-moving Purchase Invoice, not a PI No Stock In. Importing bills for goods a GRN Stock In already received counts the stock twice and leaves the receipt’s accrual open; key those invoices here, or knock them off from the GRN Stock In, instead. CSV only, PIPE or COMMA delimiter, template Purchase_Invoice_Master_Data_Template.csv; the Checking tab lists per-line validation errors (for example Branch Code is Invalid when the branch code is not the tenant’s). File Export generates a CSV for a transaction-date range asynchronously.

Who can change what

Client-side permissions the applet checks: SHOW_GENDOC_FINAL / VOID / DISCARD_BUTTON (re-show the hidden buttons on the edit form), SHOW_DOC_NO_TENANT / COMPANY / BRANCH, SHOW_CLIENT_DOC_TYPE, SHOW_CLIENT_DOC_1…5, SHOW_TRANSACTION_DATE, the line price / quantity / tax columns (SHOW_UNIT_PRICE_*, SHOW_UNIT_DISCOUNT*, SHOW_AMOUNT_*, SHOW_DISCOUNT_AMOUNT_EXCL_TAX, SHOW_QTY_BASE / UOM, SHOW_UOM_TO_BASE_RATIO, SHOW_TAX_CONFIG_SELECTION, SHOW_WHT_CONFIG_SELECTION, SHOW_LAST_PURCHASE_PRICE, SHOW_COSTING_DETAILS), SHOW_INTERCOMPANY_PI_SCREEN, HIDE_PRICE, and INTERNAL_PURCHASE_INVOICE_NO_STOCK_IN_DISPLAY_PRICING (unit price, tax, discount, amount and landed-cost columns on the invoice’s Lines tab; OWNER / ADMIN rank passes automatically — the separate Line Items menu listing shows its amount column by HIDE_AMOUNT_TXN / SHOW_AMOUNT_TXN instead).

Offered in the Permission Set screen but never checked: SHOW_FINAL_BUTTON, SHOW_SAVE_BUTTON, SHOW_PRINT_BUTTON, SHOW_CLOSE_BUTTON, SHOW_SEND_EMAIL_BUTTON, HIDE_DRAFT_BUTTON, HIDE_EMAIL_PAYMENT_URL_BUTTON, HIDE_CUSTOM_DOC_NO, HIDE_DELIVERY_LOCATION, HIDE_FOREX_DATA_SOURCE, EDIT_CURRENCY_RATE, DISABLE_EMPLOYEE_LOGIN_AUTO_DETECTION, REQUIRE_VALIDITY_DATE, SHOW_VALIDITY_DATE, SHOW_REASON, SHOW_SOURCE_DOC_NO, SHOW_BASE_CURRENCY, SHOW_CURRENCY, SHOW_CREDIT_LIMIT, SHOW_CREDIT_TERMS, SHOW_CREATED_BY_DETAILS, SHOW_DELIVERY_BRANCH, SHOW_LOCATION, SHOW_REFERENCE, SHOW_REMARKS, SHOW_EXTERNAL_REMARKS, IPI_HIDE_TRACKING_ID_AND_PERMIT_NO; SHOW_DISABLE_EDITING_AMOUNT_TXN_SETTING is checked only by the shared Application Settings screen, where it shows the transaction-amount lock toggle.

Checked but not offered in the Permission Set screen: SHOW_LISTING_BRANCH, SHOW_AMOUNT_MAIN_LISTING, SHOW_ARAP_PNS / SETTLEMENT / DOC_OPEN / CONTRA / BAL, SHOW_EINVOICE_NUMBER / DATE, SHOW_DESCRIPTION, SHOW_DOCUMENT_LINKS, SHOW_QUOTATION / ORDER / DELIVERY_ORDER / INVOICE / OTHERS, SHOW_FILE_IMPORT_MENU, SHOW_FILE_EXPORT_MENU, SHOW_SERIAL_NUMBER, SHOW_GL_DIMENSION / SEGMENT / PROFIT_CENTER / PROJECT, SHOW_INTERCOMPANY_TAB, ALLOW_TO_CREATE_EDIT_ACCOUNT, ALLOW_LINE_ITEM_EDIT — until they are added there, a tenant-wide hide of those items cannot be reopened per role, and inline supplier creation from the Account tab is unavailable. SHOW_GENDOC_SAVE_BUTTON is only listed for the gear: nothing re-shows SAVE once HIDE_GENDOC_SAVE_BUTTON is on.

Feature Visibility and Webhook are the standard screens, reachable only from their address (no menu entry); the applet adds nothing to them.

Fields

Main Details

FieldMeaningRequiredNotes / validation
Doc Short Code, Doc No (Tenant / Company / Branch), Client Doc Short CodeDocument numbersread-onlyAssigned on FINAL; hidden by HIDE_SERVER_DOC_* / HIDE_CLIENT_DOC_*.
Branch, LocationOwning branch and storeYesBranch fills Company and Currency; defaults from Default Selection.
Delivery Branch, Delivery LocationWhere the goods were receivedNoDefault to Branch / Location; copied to knocked-off lines.
Transaction DateDocument dateDefaults to todayFinalised as entered — the Transaction Date Logic setting is not read by this applet; checked against locked fiscal periods.
PurchaserResponsible buyer (employee)NoAuto-filled with ENABLE_EMPLOYEE_LOGIN_AUTO_DETECTION. Trap: Credit Terms, Credit Limit and Permit No are saved only while a Purchaser is chosen. With Purchaser empty, whatever you pick or type in those three is dropped on save without a message; Tracking ID is saved either way. Pick the Purchaser first (or switch auto-detection on), and reopen one invoice after saving to check the three are still there. This is read from the applet’s code, not yet run: try it once on a test invoice before relying on it.
Credit Terms, Credit LimitThe terms and credit line this supplier gives youNoThe lists offer the purchase credit terms and limits saved on the chosen supplier, and a supplier with exactly one of each has it picked for you. Both are kept on the invoice as text, and the print service reads Credit Terms from that text. Neither does anything else — see below.
Reference, Remarks, External Remarks, Description, Permit No, Tracking IDFree textNo unless MANDATORY_REFERENCEENABLE_DUPLICATE_REFERENCE_CHECK warns on duplicates. Permit No is lost without a Purchaser (see Purchaser).
External Quotation / Order / Delivery Order / Invoice / Others, each with a DateSupplier’s document numbers and datesNo unless MANDATORY_INVOICEEnter the supplier’s invoice number in External Invoice. Each field shows only once its HIDE_EXTERNAL_* key has been saved as off (see Applet settings).
Client Document Type, Client Doc 1…5 NoTenant-defined numberingNoHidden by HIDE_CLIENT_DOC_*.
Currency, Base Currency, Currency RateDocument currencyNoFrom the branch; rate locked by CANNOT_EDIT_CURRENCY_RATE. The figure saved is the first box (1 MYR = … USD for a US-dollar invoice in a ringgit company); the second is its inverse, and base-currency amounts are the document amounts divided by the saved figure. SAVE on the edit form refuses a zero rate on a forex document (“The currency rate cannot be ZERO.”); CREATE does not check, and FINAL refuses it on the server (“Generic Document exchange rate is required before posting to FINAL”).
Created By / Date, Modified By / DateAudit fieldsread-onlyHidden by HIDE_CREATED_BY_DETAILS.

Credit Terms and Credit Limit do nothing but print

  • No due date is produced. The Due Date input is switched off in this applet and the server does not derive one, so reports that show a due date show none for an invoice keyed here. Paying on time is the job of whoever plans the payment run: they count the terms from the date on the supplier’s own invoice (record it in External Invoice and its date).
  • Nothing checks the invoice against Credit Limit, because the only credit check at FINAL (a refusal for a blacklisted customer) runs on sales documents only. Staying inside the credit line is the purchasing lead’s job: compare the supplier’s balance on the creditor ageing with the agreed limit before raising the next Purchase Order.

Account

FieldMeaningRequiredNotes / validation
Entity (Supplier)Supplier entityYes (CREATE stays disabled without it)Picked from Select Supplier; inline create / edit needs the ALLOW_TO_CREATE_EDIT_ACCOUNT permission (not seeded).
Bill To / Ship ToThe supplier’s addresses, copied onto this invoiceNoChoosing a supplier replaces both with the supplier’s name, email and phone and clears any address already picked, so pick the supplier first and the addresses after. Choosing one of the supplier’s branches fills both from that branch; the pickers list the addresses saved on the supplier. The copy stays with the invoice: a later change to the supplier record does not reach it, and printing reads the Bill To contact from it. Ship To is the supplier’s address, not where you received the goods; that is Delivery Branch / Delivery Location on Main Details.

Lines

FieldMeaningRequiredNotes / validation
ItemItem code / nameYesFrom Search Item, or copied by a KO sub-tab (open-queue lines only). A knocked-off line records a knock-off link to its source line.
QtyQuantity invoicedYesMinimum 1; default 1. Does not move stock.
Unit price, discount, tax, WHT, net / transaction amount fieldsPurchase valueTransaction, net and net-with-tax amounts required, none below 0 — except on an Account Code item, which takes no such limits (a negative adjustment is accepted)Decimal places from DEFAULT_DECIMAL_PRECISION; DISABLE_EDITING_AMOUNT_TXN locks the transaction amount.
GL CodeLine-level purchase accountNoWins over header GL, item-company link and company default for this document type. Hidden by HIDE_LINE_ITEMS_GL_CODE.
Landed CostAmount allocated across lines (ALLOCATE / CONFIRM)NoHidden by HIDE_LANDED_COST. Kept on the invoice lines and reaches no stock figure on this document type; see Lifecycle and effects.
Serial numbersPer-unit serialsWhen the item is serialisedThe form checks each serial and refuses one already in stock in the company; the server checks neither the count nor whether the serials exist for this document type.
Batch: batch no, issue date, expiry date, qtyBatch trackingYes on the Batch tabBatch quantities must sum to Qty (checked on the form); date fields hidden by HIDE_BATCH_ISSUE_DATE / HIDE_BATCH_EXPIRY_DATE.
Bin: bin code, container measure, container qty, qtyBin trackingYes on the Bin tabNo inventory transaction results, but the server still checks each bin entry’s quantity, container quantity and measure at FINAL (Qty is null or equal/less than zero for … and similar messages), unless the document’s inventory posting is marked not required.
Department (segment, dimension, profit centre, project)Analysis codesNo unless MANDATORY_*Copied to the journal lines; header values are the fallback.
Budget (vote book, fiscal period, budget item, register)Budget controlNoShown only with SHOW_BUDGET.
Costing Details, Pricing DetailsCost and price reference tabsNoCosting Details is always empty, in all three line editors (Add, Edit on the invoice, and the Line Items menu): its grid is never filled. The cost of these goods was set by the GRN Stock In (see Lifecycle), so look there. Pricing Details exists only in the Line Items menu. It lists every pricing scheme in your tenant rather than this item’s price in each, and a price typed into its grid is not saved; change a purchase price in the pricing scheme itself.

The line editor also has Delivery Details, Issue Link and Doc Link tabs; the header’s Delivery Details tab (below) fills the line delivery fields for every line at once.

Delivery Details, Payment, Contra, KO For

FieldMeaningRequiredNotes / validation
Delivery Details tabTracking ID, delivery type, delivery branch / location with Apply to LinesNoBulk-assigns the per-line delivery fields.
Payment linesSettlement-method linesNoA settlement date you pick is kept only with ENABLE_EDIT_PAYMENT_DATE; otherwise the line takes the invoice’s Transaction Date. The journal resolves the cashbook GL per settlement item and throws MISSING_CASHBOOK: STL_MTHD [code] when none exists. A Payment-tab line posts on the debit side of that cashbook account and is added to the supplier line, the opposite of money paid out; record supplier payments on a Payment Voucher.
ContraContra entries against other FINAL purchase documentsNoDate editable with EDIT_CONTRA_TXN_DATE.
KO For (header)Purchase GRN, Purchase GRN Stock In, Purchase Order gridsNoEach grid renders only with an enabled LINE flow row for that source type; ENABLE_MULTIPLE_KO allows several source documents.

Lifecycle and effects

Statuses: DRAFT (new documents; SAVE keeps them here) → FINAL → VOID. DRAFT documents can be DISCARDED (listing or edit form, confirmation dialog). A second FINAL is refused with “Generic Document has already been posted to FINAL”.

VOID is refused, deliberately, while something else still depends on the invoice. The applet refuses it when an active RETURN link to an INTERNAL_PURCHASE_RETURN exists (“The invoice has already been linked with a purchase return”, a toast; listing and edit form), and the edit form does not offer VOID at all while the document’s company has e-Invoice enabled (the listing’s VOID has no such test).

The server refuses VOID when a later document still has an active link from this one (… cannot be changed to VOID because it has already been linked with the following documents: …, naming each) and when the invoice is tied to an e-invoice in any way, including the self-billed flag copied from the supplier (… because it is linked to an e-invoice).

What you do instead: void or discard the later documents first, newest first; or leave the invoice FINAL and correct it: a Purchase Debit Note when the invoice overstated what you owe, a Purchase Credit Note when it understated it, a Purchase Return only when goods physically go back (a return also takes the goods out of stock).

DELETE (edit form, two clicks) is offered only on a document that is not FINAL. Search Purchase Invoice clones a FINAL PI No Stock In into a new document, optionally with attachments.

Posting proof

FactValue
Server document typeINTERNAL_PURCHASE_INVOICE_NO_STOCK_IN, short code PURINVNSI
Amount signum−1 (checked on create and update)
Quantity signum0 — BigLedger overwrites whatever the form sends
Dr/Cr equationFor each PNS line: Dr Purchase (net amount, line GL if set); Dr Input Tax for the tax amount; one header line Cr Creditor (supplier AR/AP type → CREDITOR / CREDITOR_NON_TRADE) for the sum. Only when the document has at least one link where this invoice is the target (from a GRN Stock In, PO, GRN, PR or Supplier DO — the source type is not checked): a second pair Dr Creditor Not Invoiced / Cr Inventory Not Invoiced for the same total as the supplier line (net plus tax, plus any Payment-tab or settlement-charge line). Any link that is not deleted counts, of any kind.
GL precedenceLine GL code → header GL code → item-company link (PURCHASE txn code) → company default PURCHASE (an NSTI item uses txn code NSTI for both lookups). An Account Code item needs its own GL code — on the line, on the item, or an item-company link; a header GL code or a company default does not satisfy it, and without one the line is refused at save and FINAL. Creditor: company default for the resolved AR/AP code, MISSING_DEFAULT_GL_CODE: CREDITOR if absent. Accrual legs: company defaults CREDITOR_NOT_INVOICED and INVENTORY_NOT_INVOICED, each failing with MISSING_DEFAULT_GL_CODE if absent.
Stock processorNone. Inventory transactions are created only for lines with a non-zero quantity signum, and this type does not touch the moving-average cost. Stock and cost were booked by the GRN Stock In.
Open queue / auto-createThe automatic conversion copies a FINAL GRN Stock In, sets amount signum −1, writes one knock-off link per line (so the accrual leg fires), runs only for a company with an enabled automatic-conversion row (config type KO_DOC, mode AUTO) for the pair, takes posting status from that row’s target posting status (FINAL when it sets none) and, when FINAL, assigns running numbers and posts (see the cautions below the table). Downstream rows in the Knock Off Configuration decide whether FINAL opens this invoice’s lines for a Purchase Return or a Payment Voucher.
What VOID reversesVOID posts the reverse journal (all legs above), deletes this document’s own open-queue rows and marks its knock-off links deleted (the GRN Stock In lines become open again), reverses any tax transactions filed for it and its ARAP contra entries, and voids any cashbook lines from the Payment tab. No inventory reversal, because none was posted.

An automatically created FINAL invoice skips two safeguards. It does not pass the FINAL checks listed below (forex rate, serials, locked period): set the automatic-conversion row to DRAFT if someone should review it first. And the conversion copies the receipt’s header as it stands, including its journal-posted marker, which nothing clears, so an invoice created after the receipt’s journal has posted can be refused by its own journal job as already posted (read, not run). After an automatic FINAL, check the journal itself on the TraceDocument tab — not the Posting tab, which shows that copied marker.

What FINAL actually does

  1. Apply the transaction-date logic (this applet sends none, so nothing changes), then validate: forex rate check; Account Code items must have a linked GL code; at most a serial repeated within the document (the serial-count and batch-quantity checks are skipped for this type, whose lines move no stock); bin checks; a refusal when the transaction date is inside a LOCK_ALL / LOCK_TXN period. Serial existence and stock-balance checks are skipped for zero-signum lines.
  2. Update the header, assign running numbers, stamp the finalised date.
  3. Start the posting run, which applies the company’s posting include / exclude list and fans out to the jobs subscribed to it: among them the journal, the open-queue (knock-off) and automatic-conversion jobs, and the cashbook posting for Payment-tab lines. No tax job runs at FINAL, and the FINAL webhook is sent only for sales invoices, not this type. The inventory posting finds no movement lines.

Tax on the pair, and landed cost

Tax on the pair. The accrual-reversal leg uses the invoice’s total including tax, while the GRN Stock In debited INVENTORY_NOT_INVOICED for the net only and INPUT_TAX for the tax. Capturing tax on both documents therefore debits input tax twice and leaves INVENTORY_NOT_INVOICED with a credit residual equal to the tax; capturing it only on the invoice leaves the same residual on the accrual accounts. The accounts reconcile exactly only for tax-free lines. Reconcile Creditor Not Invoiced against Inventory Not Invoiced monthly until this is changed.

Capturing the tax only on the GRN Stock In has a second effect: this invoice’s supplier line is then the net amount, so the supplier’s balance shows less than the bill (the tax stays in Creditor Not Invoiced); whoever matches the supplier’s statement checks the invoice total against the bill, tax included.

A landed cost entered here stays on the invoice. ALLOCATE splits the amount you type across the lines on screen (by quantity, by transaction amount, or equally), and nothing is saved until CONFIRM. CONFIRM stores each line’s share, and that share divided by the line’s quantity, on the invoice line, and runs the landed-cost job at once.

That job works through the stock movement the same line wrote, and a line of this document writes none, so on this invoice it stops there: the moving average does not move (it is built from the stock documents’ transaction amounts, never from a landed amount), the Landed Cost MA figures on the item’s Costings tab do not move, the GRN Stock In’s movement is untouched, and no journal is posted.

What you owe is unchanged too: the freight bill itself reaches your books through the account its own line posts to. If the goods’ cost should carry the freight, that is a Reset MA after review. On the ordinary Purchase Invoice, whose lines do move stock, the same CONFIRM copies each share onto the line’s movement and recalculates the separate landed-cost figures, but only if that movement already exists when you press it, and the moving average is left alone there as well.

Related applets

Troubleshooting

Journal, accruals and the automatic invoice

SymptomCauseFix
Journal job fails with MISSING_DEFAULT_GL_CODE: CREDITOR_NOT_INVOICED or …: INVENTORY_NOT_INVOICED after FINALThe invoice carries a knock-off link, so the accrual-reversal leg runs, and the company has no default GL code for that txn code. The document is already FINAL; only the journal is missing.Add the company default GL codes, then re-post the journal.
Journal job fails with MISSING_DEFAULT_GL_CODE: CREDITORThe supplier’s AR/AP type resolves to a creditor code the company has no default for.Add the default (CREDITOR or CREDITOR_NON_TRADE) or fix the supplier’s AR/AP type.
Journal job fails with TOTAL_DEBITS_AND_TOTAL_CREDITS_NOT_BALANCESA line had no resolvable purchase GL (no line GL, header GL, item-company PURCHASE link or company default) or no INPUT_TAX default, so the line was silently omitted, and the supplier has no AR/AP type, so no supplier line absorbed it.Set the GL code on the line or the company default; re-post.
No error, but trade creditors no longer agrees with the creditor ageing, and purchases or input tax are short by the same amountA line resolved no GL code and was left out of the journal; the supplier’s line was built from the lines that remained, so it is short by the same amount and the journal posted. A RM 1,060 invoice (RM 1,000 goods, RM 60 SST) with no PURCHASE code posts debit input tax RM 60, credit trade creditors RM 60; once you pay RM 1,060, trade creditors carries a RM 1,000 debit. The invoice is FINAL with a journal, so Trace Document finds nothing, and the supplier statement and ageing (built from documents) look right. Before go-live, check every code this invoice uses has a company default, or every item its ownSet the line’s, the item’s or the company’s purchase GL code; for tax, only the company INPUT_TAX default counts. Repost the affected invoices.
Creditor Not Invoiced and Inventory Not Invoiced never net to zero although every GRN Stock In has been invoicedThe reversal leg is posted with the invoice total including tax, while the GRN Stock In accrued net only (see Lifecycle).Capture tax on one document only and reconcile the residual (equal to the input tax) monthly; raise a change request.
The accrual accounts move on an invoice that was knocked off from a Purchase Order, with no GRN Stock InThe reversal leg fires on any active link where this document is the target, whatever the source document type.Use the ordinary Purchase Invoice for PO-only flows; reverse with a manual journal.
Stock counted twiceA stock-moving Purchase Invoice was raised for goods already received on a GRN Stock In, or the Knock Off Configuration routes the GRN Stock In into INTERNAL_PURCHASE_INVOICE.Route INTERNAL_PURCHASE_GRN_STOCK_IN → INTERNAL_PURCHASE_INVOICE_NO_STOCK_IN; void the duplicate.
KO For shows no Purchase GRN Stock In tab, or the grid is emptyThe company has no enabled LINE row INTERNAL_PURCHASE_GRN_STOCK_IN → INTERNAL_PURCHASE_INVOICE_NO_STOCK_IN, the GRN Stock In is not FINAL, or its lines are fully invoiced; the grid reads the open queue, not the GRN listing.Add / enable the row; run the queue repair for stale rows.
Auto-created invoice appears as DRAFT (or as FINAL when a review step was expected)The target posting status on the automatic-conversion row of the Knock Off Configuration; FINAL when it sets none.Set that row’s target posting status.

e-Invoice, void, buttons and settings

SymptomCauseFix
SELF-BILLED shows an error (Invalid document type for self-billed.) and nothing changesThe self-billed call and the e-Invoice submission pipeline accept only the ordinary purchase types, not this one.There is no self-billed route for this pair today. Plan self-billed purchases on the GRN + Purchase Invoice pair instead; never raise an ordinary Purchase Invoice for goods a GRN Stock In already received, which counts the stock twice.
VOID button missing on a FINAL documentOn the edit form: the company has e-Invoice enabled. On both: HIDE_GENDOC_VOID_BUTTON is set and the role lacks SHOW_GENDOC_VOID_BUTTON.Grant the permission. For an e-Invoice company, correct the invoice with a Purchase Debit Note or Credit Note (a Purchase Return when the goods go back); the listing’s VOID is still offered and the server refuses it only for a document tied to an e-invoice.
VOID refused: “The invoice has already been linked with a purchase return”, or “cannot be changed to VOID because it has already been linked with the following documents: …”A Purchase Return (checked on the form) or any later document (checked on the server) is still linked to this invoice. A third message, “cannot be changed to VOID because it is linked to an e-invoice”, means an e-invoice record, queue entry, match or the self-billed flag points at it.Void or discard the later documents first, newest first, or correct with a Purchase Debit Note (overstated) or Credit Note (understated), and a Purchase Return only when goods go back. An e-invoice tie is not removed by voiding: correct with a note.
FINAL fails with “The selected date falls within a locked fiscal period”The date you entered is in a locked period (this applet does not rewrite it at FINAL).Change the date or reopen the period.
FINAL button greyed on the edit formA serialised line has an invalid serial (the last serialised line decides), or a batch line’s quantities do not add up.Fix the line.
Line grid columns appear in a confusing order when opened from a GRN Stock InKnown default column-order issue across PO / GRN / PI applets.Reorder columns and rely on the saved layout.
Application Settings lacks a tab the applet usesThe shared screen’s tab sections are keyed by applet code; sections not mapped for this code do not render.Use the inline gear (ENABLE_INLINE_APPLET_CONFIG) for those keys.
Ordinary users see no prices on the invoice’s Lines tabINTERNAL_PURCHASE_INVOICE_NO_STOCK_IN_DISPLAY_PRICING is not granted (OWNER / ADMIN rank passes automatically); HIDE_LINE_ITEM_PRICING hides the same columns tenant-wide.Grant the permission.
Unit price cannot take three decimalsDEFAULT_DECIMAL_PRECISION in Default Selection is 2.Change it there (2–4).
Cannot create a supplier from the Account tabALLOW_TO_CREATE_EDIT_ACCOUNT is checked but not offered in the Permission Set screen for this applet.Ask BigLedger to add the code to this applet’s permission list, then grant it; the client-side permission listing grants only codes already on it.
File import rows fail with Branch Code is InvalidThe branch code in the CSV does not match a branch of the tenant.Correct the code; re-upload.
Labels are English only; layout breaks on mobileInternationalisation and a responsive layout are not yet available.None yet.

Related documentation

Last updated on