---
title: "Table 19 Cust. Invoice Disc."
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/19-cust-invoice-disc/
type: table
id: 19
name: "Cust. Invoice Disc."
app: "Base Application"
namespace: Microsoft.Sales.Pricing
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/19-cust-invoice-disc/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 19 Cust. Invoice Disc.

Jonas Paprotka, https://jonas-paprotka.de/ref/table/19-cust-invoice-disc/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Sales.Pricing |
| Versions | 17-28 |
| Source file | Sales/Pricing/CustInvoiceDisc.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Code | Code[20] | 17-28 | - | - |
| 2 | Minimum Amount | Decimal | 17-28 | - | - |
| 3 | Discount % | Decimal | 17-28 | - | - |
| 4 | Service Charge | Decimal | 17-28 | - | - |
| 5 | Currency Code | Code[10] | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Code, Currency Code, Minimum Amount | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetRec | (Code[20], Code[10], Date, Decimal) | - | public | 17-28 | Pending 27.0 | Replaced by W1 procedure GetRecord() |
| GetRecord | (Code[20], Code[10], Date, Decimal) | Boolean | public | 27-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeGetRec | (var Record Cust. Invoice Disc., var Code[20], var Code[10], var Date, var Decimal) | 17-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
