---
title: "Codeunit 10148 Sales Tax Amount Line Calc"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/10148-sales-tax-amount-line-calc/
type: codeunit
id: 10148
name: "Sales Tax Amount Line Calc"
app: "Base Application"
namespace: Microsoft.Finance.SalesTax
versions: "17-29"
build: 29.0.54011.55644
countries: "US"
obsolete: "Pending 28.0"
checked: 2026-11-20
changed: 2026-10-05
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/"
---

# Codeunit 10148 Sales Tax Amount Line Calc

JOP-AL, https://jonas-paprotka.de/ref/codeunit/10148-sales-tax-amount-line-calc/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Finance.SalesTax |
| Versions | 17-29 |
| Minors | US 17.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/10148-sales-tax-amount-line-calc/editions.json) |
| Obsolete | Pending, tag 28.0, obsolete since 28: Use procedute CalcTaxAmountLine in codeunit SalesTaxCalculate instead. |
| Source file | Local/Finance/SalesTax/SalesTaxAmountLineCalc.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| InitFromServCrMemoLine | (ServiceCrMemoLine: Record "Service Cr.Memo Line") | - | public | 17-29 | - | - |
| InitFromServInvLine | (ServiceInvoiceLine: Record "Service Invoice Line") | - | public | 17-29 | - | - |
| InitFromPurchCrMemoLine | (PurchCrMemoLine: Record "Purch. Cr. Memo Line") | - | public | 17-29 | - | - |
| InitFromPurchInvLine | (PurchInvLine: Record "Purch. Inv. Line") | - | public | 17-29 | - | - |
| InitFromSalesCrMemoLine | (SalesCrMemoLine: Record "Sales Cr.Memo Line") | - | public | 17-29 | - | - |
| InitFromSalesInvLine | (SalesInvoiceLine: Record "Sales Invoice Line") | - | public | 17-29 | - | - |
| CalcSalesOrServLineSalesTaxAmountLine | (var SalesTaxAmountLine: Record "Sales Tax Amount Line"; var TaxAreaLine: Record "Tax Area Line"; TaxCountry: Option US,CA; var TaxArea: Record "Tax Area"; var TaxJurisdiction: Record "Tax Jurisdiction"; ExchangeFactor: Decimal) | - | public | 17-29 | - | - |
| CalcPurchLineSalesTaxAmountLine | (var SalesTaxAmountLine: Record "Sales Tax Amount Line"; var TaxAreaLine: Record "Tax Area Line"; TaxCountry: Option US,CA; var TaxArea: Record "Tax Area"; var TaxJurisdiction: Record "Tax Jurisdiction"; ExchangeFactor: Decimal; TaxDetail: Record "Tax Detail"; PostingDate: Date) | - | public | 17-29 | - | - |
| SetTaxBaseAmount | (var SalesTaxAmountLine: Record "Sales Tax Amount Line"; Value: Decimal; ExchangeFactor: Decimal; Increment: Boolean) | - | public | 17-29 | - | - |

## Source

Symbols: Microsoft.BaseApplication.US.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.

JOP-AL, 2026-11-20.
