<h2>Automatic expense line creation</h2><br/><div style="overflow-x:auto"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="text/html; charset=UTF-8" /><meta name="copyright" content="(C) Copyright 2025" /><meta name="DC.rights.owner" content="(C) Copyright 2025" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="concept" /><meta name="DC.title" content="Automatic expense line creation" /><meta name="abstract" content="You can automatically create expense lines to facilitate the accurate reporting of expenses." /><meta name="description" content="You can automatically create expense lines to facilitate the accurate reporting of expenses." /><meta name="DC.subject" content="Expense Line, expense allocations, expense lines" /><meta name="keywords" content="Expense Line, expense allocations, expense lines" /><meta name="DC.relation" scheme="URI" content="../../../product/expense-line/concept/c_ExpenseLinesAndAllocations.html" /><meta name="DC.relation" scheme="URI" content="../../../product/it-service-management/reference/r_ITServiceManagement.html" /><meta name="DC.relation" scheme="URI" content="../../../product/asset-and-configuration/concept/c_ExpenseLine.html" /><meta name="DC.relation" scheme="URI" content="../../../product/expense-line/task/t_CreateAnAllocationRule.html" /><meta name="DC.relation" scheme="URI" content="../../../product/expense-line/task/t_CreateExpenseLinesManually.html" /><meta name="DC.relation" scheme="URI" content="../../../product/expense-line/task/t_DeleteAnExpenseLine.html" /><meta name="DC.relation" scheme="URI" content="../../../product/expense-line/task/t_SampleAllocationRule.html" /><meta name="DC.relation" scheme="URI" content="../../../product/expense-line/task/t_UseAScriptedAllocation.html" /><meta name="DC.relation" scheme="URI" content="../product/configuration-management/task/t_CreateCIRelationship.dita/t_CreateCIRelationship.html" /><meta name="DC.creator" content="ServiceNow" /><meta name="DC.date.created" content="2023-08-03" /><meta name="DC.date.modified" content="2024-02-01" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="c_CreateExpenseLinesAutomatically" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>Automatic expense line creation</title></head><body id="c_CreateExpenseLinesAutomatically"> <div class="breadcrumb"><a class="link" href="../../../product/it-service-management/reference/r_ITServiceManagement.html" title="The IT Service Management (ITSM) solution provides scalable workflows to manage and deliver IT services to your users all through a single cloud-based platform.">IT Service Management</a> > <a class="link" href="../../../product/asset-and-configuration/concept/c_ExpenseLine.html" title="Expense lines enable you to track costs and represent when a point-in-time expense incurred. Expense lines can be created manually or generated by the scheduled processing of recurring costs.">Expense Line</a> > </div> <h1 class="title topictitle1" id="ariaid-title1">Automatic expense line creation</h1> <div class="body conbody"><p class="shortdesc">You can automatically create expense lines to facilitate the accurate reporting of expenses.</p> <div class="p">If enabled, the following processes generate expense lines automatically.<ul class="ul" id="c_CreateExpenseLinesAutomatically__ul_lmh_xbt_qq"><li class="li">Active CI rate cards are processed monthly to generate expense lines for each CI in the rate card. If a CI relationship is changed, existing expense lines are not affected. Changes are reflected in the next scheduled expense line.</li><li class="li">Active distribution costs are processed monthly to generate expense lines based on distribution rule targets.</li><li class="li">Closed tasks on task rate cards are processed to generate expense lines.</li></ul> </div> <p class="p">Expense lines can also be imported from external systems or generated from scripts. To generate an expense from a server-side script, use the ExpenseLine API.</p> </div> <div class="related-links"> <div class="familylinks"> <div class="parentlink"><strong>Parent Topic:</strong> <a class="link" href="../../../product/expense-line/concept/c_ExpenseLinesAndAllocations.html" title="The Expense lines application tracks costs and record expenses incurred. Expense allocations let you associate expenses with items such as users, groups, or departments.">Expense lines and expense allocations</a></div> </div> <div class="linklist relinfo reltasks"><strong>Related tasks</strong><br /> <ul class="linklist"><li class="linklist"><a class="link" href="../../../product/expense-line/task/t_CreateAnAllocationRule.html" title="Expense allocation rules enable you to associate expenses with an item, such as a user, group, or department.">Create an allocation rule</a></li><li class="linklist"><a class="link" href="../../../product/expense-line/task/t_CreateExpenseLinesManually.html" title="You can create expense lines at a single level or in a hierarchy to better organize expense information.">Create expense lines manually</a></li><li class="linklist"><a class="link" href="../../../product/expense-line/task/t_DeleteAnExpenseLine.html" title="Deleting an expense line also deletes all expense allocations that were generated from the expense line.">Delete an expense line</a></li><li class="linklist"><a class="link" href="../../../product/expense-line/task/t_SampleAllocationRule.html" title="You can create a sample expense allocation rule that allocates the cost of an incident to the department of the caller.">Create a sample allocation rule</a></li><li class="linklist"><a class="link" href="../../../product/expense-line/task/t_UseAScriptedAllocation.html" title="Scripted allocations define custom allocation amounts and targets by executing a script.">Use a scripted allocation</a></li></ul></div> <div class="linklist relinfo"><strong>Related topics</strong><br /> <ul class="linklist"><li class="linklist"><a class="link" href="../product/configuration-management/task/t_CreateCIRelationship.dita/t_CreateCIRelationship.html" target="_blank" rel="noopener noreferrer">Create or edit a CI relationship</a></li></ul></div> </div> </body></html></div>