{"title":"Design details: Reconciliation with the general ledger","url":"https://jonas-paprotka.de/docs/design-details-reconciliation-with-the-general-ledger/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/design-details-reconciliation-with-the-general-ledger, MicrosoftDocs/dynamics365smb-docs at 46907ac (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/design-details-reconciliation-with-the-general-ledger","source":{"name":"Business Central application docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-docs","commit":"46907ace177f8d31deba47a2fdb57c3336e66252","date":"2026-11-19"},"checked":"2026-11-19","description":"This article describes reconciliation with the general ledger when you post inventory transactions, such as sales shipments, production output, or negative adjustments.","date":"2025-08-13","meta":{"topic":"how-to"},"outline":[{"level":2,"title":"Post Inventory Cost to G/L Batch Job","slug":"post-inventory-cost-to-gl-batch-job","at":556,"chars":1470},{"level":2,"title":"Automatic cost posting","slug":"automatic-cost-posting","at":2026,"chars":307},{"level":2,"title":"Account types","slug":"account-types","at":2333,"chars":4096},{"level":3,"title":"Example","slug":"example","at":3241,"chars":3188},{"level":5,"title":"Scenario","slug":"scenario","at":4019,"chars":2410},{"level":2,"title":"Related information","slug":"related-information","at":6429,"chars":354}],"text":"When you post inventory transactions, such as sales shipments, production output, or negative adjustments, Business Central records the inventory quantity and value changes in the item ledger entries and the value entries, respectively. The next step in the process is to post the inventory values to the inventory accounts in the general ledger.\nThere are two ways to reconcile the inventory ledger with the general ledger:\n Manually, by running the Post Inventory Cost to G/L batch job.\n Automatically, every time that you post an inventory transaction.\n## Post Inventory Cost to G/L Batch Job\nWhen you run the Post Inventory Cost to G/L batch job, it creates the general ledger entries based on value entries. You can summarize general ledger entries for each value entry, or create general ledger entries for each combination of:\n Posting date\n Location code\n Inventory posting group\n General business posting group\n General product posting group\nThe posting dates of the general ledger entries are set to the posting date of the corresponding value entry, except when the value entry is in a closed accounting period. In that case, the value entry is skipped, and you must change either the general ledger setup or the user setup to enable posting in the date range.\nWhen you run the Post Inventory Cost to G/L batch job, you might receive errors because of missing setup or incompatible dimension setup. If the batch job encounters errors in the dimension setup, it overrides these errors and uses the dimensions of the value entry. For other errors, the batch job doesn't post the value entries and lists them at the end of the report in a section titled, Skipped Entries. To post these entries, you must first fix the errors. To get a list of errors before you run the batch job, you can run the Post Invt. Cost to G/L - Test report. This report lists all of the errors that are encountered during a test posting. You can fix the errors, and then run the inventory cost posting batch job without skipping any entries.\n## Automatic cost posting\nTo set up cost posting to the general ledger to run automatically when you post an inventory transaction, select the Automatic Cost Posting checkbox on the Inventory Setup page. The posting date of the general ledger entry is the same as the posting date of the item ledger entry.\n## Account types\nDuring reconciliation, inventory values post to the inventory account in the balance sheet. The same amount, but with the reverse sign, is posted to the relevant balancing account. Usually, the balancing account is an income statement account. However, when you post direct cost related to consumption or output, the balancing account is a balance sheet account. The type of the item ledger entry and value entry determines which general ledger account to post to.\nThe entry type indicates which general ledger account to post to. Either the quantity on the item ledger entry or the valued quantity on the value entry determine the type, because the quantities always have the same sign. For example, a sales entry with a positive quantity describes an inventory decrease caused by a sale, and a sales entry with a negative quantity describes an inventory increase caused by a sales return.\n### Example\nThe following example shows a bike chain that is manufactured from purchased links. This example shows how the various general ledger account types are used in a typical scenario.\nThe Expected Cost Posting to G/L checkbox on the Inventory Setup page is selected, and the following setup is defined.\nThe following table shows how the link is set up on the item card.\nSetup Field|Value\nCosting Method|Standard\nStandard Cost|LCY 1.00\nOverhead Rate|LCY 0.02\nThe following table shows how the chain is set up on the item card.\nSetup Field|Value\nCosting Method|Standard\nStandard Cost|LCY 150.00\nOverhead Rate|LCY 25.00\nThe following table shows how the work center is set up on the work center card.\nSetup Field|Value\nDirect Unit Cost|LCY 2.00\nIndirect Cost Percentage|10\n##### Scenario\n1. The user purchases 150 links and posts the purchase order as received. (Purchase)\n ![Screenshot that shows the results of posting.]\n2. The user posts the purchase order as invoiced. This action creates an overhead amount of LCY 3.00 to be allocated and a variance amount of LCY 18.00. (Purchase)\n 1. The interim accounts are cleared. (Purchase)\n 2. The direct cost is posted. (Purchase)\n 3. The indirect cost is calculated and posted. (Purchase)\n 4. The purchase variance is calculated and posted (only for standard-cost items). (Purchase)\n3. The user sells one chain and posts the sales order as shipped. (Sale)\n4. The user posts the sales order as invoiced. (Sale)\n 1. The interim accounts are cleared. (Sale)\n 2. Cost of goods sold (COGS) is posted. (Sale)\n  ![Results of sales posting to GL accounts.]\n5. The user posts consumption of 150 links, which is the number of links used to produce one chain. (Consumption, Material)\n ![Screenshot that shows the results of posting consumed material.]\n6. The work center used 60 minutes to produce the chain. The user posts the conversion cost. (Consumption, Capacity)\n 1. The direct costs are posted. (Consumption, Capacity)\n 2. The indirect costs are calculated and posted. (Consumption, Capacity)\n  ![Results of capacity posting to GL accounts.]\n7. The user posts the expected cost of one chain. (Output)\n8. The user finishes the production order and runs the Adjust Cost - Item Entries batch job. (Output)\n 1. The interim accounts are cleared. (Output)\n 2. The direct cost is transferred from the WIP account to the inventory account. (Output)\n 3. The indirect cost (overhead) is transferred from the indirect cost account to the inventory account. (Output)\n 4. This action results in a variance amount of LCY 157.00. Variances are only calculated for standard-cost items. (Output)\n> NOTE\n> For the sake of simplicity, only one variance account is shown. In reality, there are five different accounts:\n > Material Variance\n > Capacity Variance\n > Capacity Overhead Variance\n > Subcontracting Variance\n > Manufacturing Overhead Variance\n9. The user revalues the chain from LCY 150.00 to LCY 140.00. (Adjustment/Revaluation/Rounding/Transfer)\n ![Results of adjustment posting to GL accounts.]\nLearn more about the relationship between the account types and the different types of value entries at design-details-accounts-in-the-general-ledger.\n## Related information\ndesign-details-inventory-costing\ndesign-details-expected-cost-posting\ndesign-details-cost-adjustment\nManaging Inventory Costs<finance-manage-inventory-costs>\nfinance\nWork with Business Central<ui-work-product>\nFind free e-learning modules for Business Central here<https://learn.microsoft.com/training/dynamics365/business-central>"}