---
title: "Table 8061 Billing Line"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/8061-billing-line/
type: table
id: 8061
name: "Billing Line"
app: "Subscription Billing"
namespace: Microsoft.SubscriptionBilling
versions: "26-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/table/8061-billing-line/source/?v=28 https://jonas-paprotka.de/ref/table/8061-billing-line/source/"
checked: 2026-11-20
changed: 2026-10-22
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Table 8061 Billing Line

JOP-AL, https://jonas-paprotka.de/ref/table/8061-billing-line/

| | |
| --- | --- |
| App | Subscription Billing |
| Namespace | Microsoft.SubscriptionBilling |
| Versions | 26-29 |
| Minors | W1 26.0-29.0; DE 26.0-29.0; US 26.0-29.0, [every minor](https://jonas-paprotka.de/ref/table/8061-billing-line/editions.json) |
| Source file | Billing/Tables/BillingLine.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Entry No. | Integer | 26-29 | - | - |
| 2 | User ID | Code[50] | 26-29 | - | - |
| 10 | Partner No. | Code[20] | 26-29 | - | - |
| 20 | Subscription Contract No. | Code[20] | 26-29 | - | - |
| 21 | Subscription Contract Line No. | Integer | 26-29 | - | - |
| 30 | Subscription Header No. | Code[20] | 26-29 | - | - |
| 31 | Subscription Line Entry No. | Integer | 26-29 | - | - |
| 32 | Subscription Description | Text[100] | 26-29 | - | - |
| 33 | Subscription Line Description | Text[100] | 26-29 | - | - |
| 34 | Subscription Line Start Date | Date | 26-29 | - | - |
| 35 | Subscription Line End Date | Date | 26-29 | - | - |
| 36 | Partner | Enum Service Partner | 26-29 | - | - |
| 38 | Discount | Boolean | 26-29 | - | - |
| 39 | Service Object Quantity | Decimal | 26-29 | - | - |
| 50 | Billing from | Date | 26-29 | - | - |
| 51 | Billing to | Date | 26-29 | - | - |
| 52 | Amount | Decimal | 26-29 | - | - |
| 53 | Billing Rhythm | DateFormula | 26-29 | - | - |
| 54 | Update Required | Boolean | 26-29 | - | - |
| 55 | Document Type | Enum Rec. Billing Document Type | 26-29 | - | - |
| 56 | Document No. | Code[20] | 26-29 | - | - |
| 57 | Unit Price | Decimal | 26-29 | - | - |
| 58 | Discount % | Decimal | 26-29 | - | - |
| 60 | Correction Document Type | Enum Rec. Billing Document Type | 26-29 | - | - |
| 61 | Correction Document No. | Code[20] | 26-29 | - | - |
| 62 | Document Line No. | Integer | 26-29 | - | - |
| 63 | Billing Reference Date Changed | Boolean | 27-29 | - | - |
| 70 | Billing Error Log Entry No. | Integer | 27-29 | - | - |
| 100 | Billing Template Code | Code[20] | 26-29 | - | - |
| 101 | Currency Code | Code[20] | 26-29 | - | - |
| 102 | Unit Cost | Decimal | 26-29 | - | - |
| 103 | Unit Cost (LCY) | Decimal | 26-29 | - | - |
| 200 | Indent | Integer | 26-29 | - | - |
| 201 | Detail Overview | Enum Contract Detail Overview | 26-29 | - | - |
| 202 | Rebilling | Boolean | 26-29 | - | - |

## Keys

| Name | Fields | Sum fields | Versions |
| --- | --- | --- | --- |
| PK, clustered | Entry No. | - | 26-29 |
| SK1 | Subscription Header No., Subscription Line Entry No., Billing to | - | 26-29 |
| SK2 | Partner No., Subscription Contract No., Subscription Contract Line No., Billing from | - | 26-29 |
| SK3 | Subscription Contract No., Subscription Contract Line No., Billing from | - | 26-29 |
| SK4 | Billing Template Code, Subscription Contract No. | - | 27-29 |
| SK5 | Document Type, Document No. | - | 27-29 |
| SK6 | Billing Template Code, Partner | - | 27-29 |
| SK7 | Subscription Line Entry No. | - | 28-29 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| FindFirstBillingLineForServiceCommitment | (var BillingLine2: Record "Billing Line") | - | internal | 26-29 | - | - |
| ResetServiceCommitmentNextBillingDate | () | - | public | 26-29 | - | - |
| GetSalesDocumentTypeForContractNo | () | Enum Sales Document Type | internal | 26-29 | - | - |
| GetPurchaseDocumentTypeForContractNo | () | Enum Purchase Document Type | internal | 26-29 | - | - |
| GetSalesDocumentTypeForCustomerNo | () | Enum Sales Document Type | internal | 26-29 | - | - |
| GetPurchaseDocumentTypeForVendorNo | () | Enum Purchase Document Type | internal | 26-29 | - | - |
| GetSalesDocumentTypeFromBillingDocumentType | () | Enum Sales Document Type | public | 26-29 | - | - |
| GetPurchaseDocumentTypeFromBillingDocumentType | () | Enum Purchase Document Type | public | 26-29 | - | - |
| GetBillingDocumentTypeFromSalesDocumentType | (SalesDocumentType: Enum "Sales Document Type") | Enum Rec. Billing Document Type | public | 26-29 | - | - |
| GetBillingDocumentTypeFromPurchaseDocumentType | (PurchaseDocumentType: Enum "Purchase Document Type") | Enum Rec. Billing Document Type | public | 26-29 | - | - |
| InitNewBillingLine | () | - | internal | 26-29 | - | - |
| OpenDocumentCard | () | - | internal | 26-29 | - | - |
| FilterBillingLineOnContract | (ServicePartner: Enum "Service Partner"; ContractNo: Code[20]) | - | public | 26-29 | - | - |
| FilterBillingLineOnContractLine | (ServicePartner: Enum "Service Partner"; ContractNo: Code[20]; ContractLineNo: Integer) | - | public | 26-29 | - | - |
| IsPartnerVendor | () | Boolean | public | 26-29 | - | - |
| GetSign | () | Integer | internal | 26-29 | - | - |
| GetCorrectionDocumentNo | (ServicePartner: Enum "Service Partner"; DocumentNo: Code[20]) | Code[20] | internal | 26-29 | - | - |
| FilterBillingLineOnDocumentLine | (DocumentType: Enum "Rec. Billing Document Type"; DocumentNo: Code[20]; DocumentLineNo: Integer) | - | public | 26-29 | - | - |
| RebillingUsageDataExist | () | Boolean | internal | 26-29 | - | - |
| GetServiceCommitment | (var ServiceCommitment: Record "Subscription Line") | Boolean | internal | 27-29 | - | - |
| FilterBillingLineOnServiceCommitment | (ServiceCommitmentEntryNo: Integer) | - | internal | 29 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeUpdateNextBillingDateInResetSubscriptionLineNextBillingDate | (var SubscriptionLine: Record "Subscription Line") | 26-29 | - | - |
| Integration event | OnBeforeOpenSalesDocumentCard | (BillingLine: Record "Billing Line"; var IsHandled: Boolean) | 26-29 | - | - |

## Trigger events

| Name | Parameters | ElementName | Docs |
| --- | --- | --- | --- |
| OnBeforeInsertEvent | (var Rec: Record "Billing Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforeinsertevent-table-trigger/ |
| OnAfterInsertEvent | (var Rec: Record "Billing Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterinsertevent-table-trigger/ |
| OnBeforeModifyEvent | (var Rec: Record "Billing Line"; var xRec: Record "Billing Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforemodifyevent-table-trigger/ |
| OnAfterModifyEvent | (var Rec: Record "Billing Line"; var xRec: Record "Billing Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onaftermodifyevent-table-trigger/ |
| OnBeforeDeleteEvent | (var Rec: Record "Billing Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforedeleteevent-table-trigger/ |
| OnAfterDeleteEvent | (var Rec: Record "Billing Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterdeleteevent-table-trigger/ |
| OnBeforeRenameEvent | (var Rec: Record "Billing Line"; var xRec: Record "Billing Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforerenameevent-table-trigger/ |
| OnAfterRenameEvent | (var Rec: Record "Billing Line"; var xRec: Record "Billing Line"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterrenameevent-table-trigger/ |
| OnBeforeValidateEvent | (var Rec: Record "Billing Line"; var xRec: Record "Billing Line"; CurrFieldNo: Integer) | per field, ElementName: field name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforevalidateevent-table-trigger/ |
| OnAfterValidateEvent | (var Rec: Record "Billing Line"; var xRec: Record "Billing Line"; CurrFieldNo: Integer) | per field, ElementName: field name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onaftervalidateevent-table-trigger/ |

## Source

Symbols: Microsoft.SubscriptionBilling.symbols.3099ffc7-4cf7-4df6-9b96-7e4bc2bb587c, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
