--- title: Allocate costs using distribution set description: Define a distribution set to split cost allocations automatically for invoice lines with allocation type as cost center or general ledger account. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/source-to-pay-operations/accounts-payable-operations/allocate-cost-distribution-set.html release: australia product: Accounts Payable Operations classification: accounts-payable-operations topic_type: task last_updated: "2026-03-12" reading_time_minutes: 2 keywords: [APO, Accounts Payable Operations, Source-to-Pay workspace, cost center, general ledger account, cost allocation, GL coding, distribution set, APO admin] breadcrumb: [Invoice cost allocation, Create an invoice manually, Invoice processing, Using Accounts Payable Invoice Processing, Use, Accounts Payable Operations, Finance and Supply Chain] --- # Allocate costs using distribution set Define a distribution set to split cost allocations automatically for invoice lines with allocation type as cost center or general ledger account. ## Before you begin Role required: sn\_ap\_apm.admin ## Procedure 1. Navigate to **Source-to-Pay workspace** > **All** > **Accounts Payable Operations** > **Distribution Sets**. 2. Select **New**. The distribution set form view appears. For more information on the form, see [Distribution set form](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/accounts-payable-operations/distribution-set-form.md) 3. Select the **Template** check box if you want the distribution set to be applied as a template to the cost allocation record. 4. Select **Save**. The **Convert Template** pop-up appears. You’ll be prompted with a message "Converting this distribution setup to a template removes all allocation percentage from the distribution line. This action can’t be undone". 5. Select **Create template**. For distribution set with template, if there’s distribution lines created, by default, the distribution set is active. For non-template, if the allocation percentage doesn't sum to 100%, then the distribution set remains inactive otherwise it is saved as active. 6. Select **Submit**. The distribution set is created.\[Omitted image "distribution-set-ws.png"\] Alt text: Distribution set 7. Select the distribution set for which you want to create distribution lines. 1. Select **New**. A distribution line form appears. For more information on the distribution line form, see [Distribution set form](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/accounts-payable-operations/distribution-set-form.md).\[Omitted image "distribution-line-record.png"\] Alt text: Distribution line 2. Allocate the cost and split the invoice line amount by cost center or general ledger account. 3. Select **Submit**. After a distribution line is submitted, it’s applicable for new invoices only and unavailable for existing invoices. 8. To apply distribution set manually for an invoice line, select **Invoice line**> **Cost allocation**> **New**. Create a New Invoice cost allocation form appears. You can choose **Allocation type** as Distribution set. For more information on the form, see [Create invoice cost allocation form](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/accounts-payable-operations/create-invoice-cost-allocation-form.md).\[Omitted image "distribution-set-cost-alloc.png"\] Alt text: Distribution set in invoice line If a distribution set is created for cost center, then for subsequent cost allocation, the allocation type is cost center by default. If a distribution set is created for general ledger account, then for subsequent cost allocation, the allocation type is general ledger account by default. 9. Select **Save**. ## Result Distribution set automates cost allocations. Each cost allocation record displays the source whether it’s entered manually, derived from a purchase order, or associated with a specific distribution set number confirming complete traceability. **Parent Topic:**[Invoice cost allocation](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/accounts-payable-operations/invoice-line-cost-allocation.md) **Related topics** [Create invoice cost allocation form](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/accounts-payable-operations/create-invoice-cost-allocation-form.md)