---
title: "Table 55 Invoice Posting Buffer"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/55-invoice-posting-buffer/
type: table
id: 55
name: "Invoice Posting Buffer"
app: "Base Application"
namespace: Microsoft.Finance.ReceivablesPayables
versions: "19-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/55-invoice-posting-buffer/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 55 Invoice Posting Buffer

Jonas Paprotka, https://jonas-paprotka.de/ref/table/55-invoice-posting-buffer/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Finance.ReceivablesPayables |
| Versions | 19-28 |
| Source file | Finance/ReceivablesPayables/InvoicePostingBuffer.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Group ID | Text[1000] | 19-28 | - | - |
| 2 | Type | Enum Invoice Posting Line Type | 19-28 | - | - |
| 3 | G/L Account | Code[20] | 19-28 | - | - |
| 4 | Global Dimension 1 Code | Code[20] | 19-28 | - | - |
| 5 | Global Dimension 2 Code | Code[20] | 19-28 | - | - |
| 6 | Job No. | Code[20] | 19-28 | - | - |
| 7 | Amount | Decimal | 19-28 | - | - |
| 8 | VAT Amount | Decimal | 19-28 | - | - |
| 10 | Gen. Bus. Posting Group | Code[20] | 19-28 | - | - |
| 11 | Gen. Prod. Posting Group | Code[20] | 19-28 | - | - |
| 12 | VAT Calculation Type | Enum Tax Calculation Type | 19-28 | - | - |
| 14 | VAT Base Amount | Decimal | 19-28 | - | - |
| 17 | System-Created Entry | Boolean | 19-28 | - | - |
| 18 | Tax Area Code | Code[20] | 19-28 | - | - |
| 19 | Tax Liable | Boolean | 19-28 | - | - |
| 20 | Tax Group Code | Code[20] | 19-28 | - | - |
| 21 | Quantity | Decimal | 19-28 | - | - |
| 22 | Use Tax | Boolean | 19-28 | - | - |
| 23 | VAT Bus. Posting Group | Code[20] | 19-28 | - | - |
| 24 | VAT Prod. Posting Group | Code[20] | 19-28 | - | - |
| 25 | Amount (ACY) | Decimal | 19-28 | - | - |
| 26 | VAT Amount (ACY) | Decimal | 19-28 | - | - |
| 29 | VAT Base Amount (ACY) | Decimal | 19-28 | - | - |
| 31 | VAT Difference | Decimal | 19-28 | - | - |
| 32 | VAT % | Decimal | 19-28 | - | - |
| 35 | VAT Base Before Pmt. Disc. | Decimal | 19-28 | - | - |
| 40 | Journal Templ. Name | Code[10] | 20-28 | - | - |
| 215 | Entry Description | Text[100] | 19-28 | - | - |
| 480 | Dimension Set ID | Integer | 19-28 | - | - |
| 1000 | Additional Grouping Identifier | Code[20] | 19-28 | - | - |
| 1700 | Deferral Code | Code[10] | 19-28 | - | - |
| 1701 | Deferral Line No. | Integer | 19-28 | - | - |
| 5600 | FA Posting Date | Date | 19-28 | - | - |
| 5601 | FA Posting Type | Enum Purchase FA Posting Type | 19-28 | - | - |
| 5602 | Depreciation Book Code | Code[10] | 19-28 | - | - |
| 5603 | Salvage Value | Decimal | 19-28 | - | - |
| 5605 | Depr. until FA Posting Date | Boolean | 19-28 | - | - |
| 5606 | Depr. Acquisition Cost | Boolean | 19-28 | - | - |
| 5609 | Maintenance Code | Code[10] | 19-28 | - | - |
| 5610 | Insurance No. | Code[20] | 19-28 | - | - |
| 5611 | Budgeted FA No. | Code[20] | 19-28 | - | - |
| 5612 | Duplicate in Depreciation Book | Code[10] | 19-28 | - | - |
| 5613 | Use Duplication List | Boolean | 19-28 | - | - |
| 5614 | Fixed Asset Line No. | Integer | 19-28 | - | - |
| 6200 | Non-Deductible VAT % | Decimal | 22-28 | - | - |
| 6201 | Non-Deductible VAT Base | Decimal | 22-28 | - | - |
| 6202 | Non-Deductible VAT Amount | Decimal | 22-28 | - | - |
| 6203 | Non-Deductible VAT Base ACY | Decimal | 22-28 | - | - |
| 6204 | Non-Deductible VAT Amount ACY | Decimal | 22-28 | - | - |
| 6205 | Non-Deductible VAT Diff. | Decimal | 22-28 | - | - |
| 12102 | No. of Fixed Asset Cards | Integer | 27-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| key1, clustered | Group ID | 19-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| PrepareSales | (var Record Sales Line) | - | public | 19-27 | Pending 25.0 | Replaced by procedure PrepareInvoicePostingBuffer in codeunit Sales Post Invoice |
| CalcDiscount | (Boolean, Decimal, Decimal) | - | public | 19-28 | - | - |
| SetAccount | (Code[20], var Decimal, var Decimal, var Decimal, var Decimal) | - | public | 19-28 | - | - |
| SetAmounts | (Decimal, Decimal, Decimal, Decimal, Decimal, Decimal, Decimal) | - | public | 19-28 | - | - |
| PreparePurchase | (var Record Purchase Line) | - | public | 19-27 | Pending 25.0 | Replaced by procedure PrepareInvoicePostingBuffer in codeunit Purch. Post Invoice |
| CalcDiscountNoVAT | (Decimal, Decimal) | - | public | 19-28 | - | - |
| SetSalesTaxForPurchLine | (Record Purchase Line) | - | public | 19-27 | Pending 25.0 | Replaced by procedure SetSalesTax in codeunit Purch. Post Invoice |
| SetSalesTaxForSalesLine | (Record Sales Line) | - | public | 19-27 | Pending 25.0 | Replaced by procedure SetSalesTax in codeunit Sales Post Invoice |
| ReverseAmounts | () | - | public | 19-28 | - | - |
| SetAmountsNoVAT | (Decimal, Decimal, Decimal) | - | public | 19-28 | - | - |
| PrepareService | (var Record Service Line) | - | public | 19-27 | Pending 25.0 | Replaced by procedure PrepareInvoicePostingBuffer in codeunit Service Post Invoice |
| PreparePrepmtAdjBuffer | (Record Invoice Posting Buffer, Code[20], Decimal, Boolean) | - | public | 19-28 | - | - |
| Update | (Record Invoice Posting Buffer) | - | public | 19-28 | - | - |
| Update | (Record Invoice Posting Buffer, var Integer, var Integer) | - | public | 19-28 | - | - |
| BuildPrimaryKey | () | - | public | 19-28 | - | - |
| UpdateVATBase | (var Decimal, var Decimal) | - | public | 19-28 | - | - |
| ApplyRoundingForFinalPosting | () | - | public | 19-28 | - | - |
| ClearVATFields | () | - | public | 19-28 | - | - |
| CopyToGenJnlLine | (var Record Gen. Journal Line) | - | public | 19-28 | - | - |
| CopyToGenJnlLineFA | (var Record Gen. Journal Line) | - | public | 19-28 | - | - |
| PadField | (Text, Integer) | Text | public | 21-28 | - | - |
| UpdateEntryDescription | (Boolean, Integer, Text[100], Text[100], Boolean) | - | public | 25-28 | Pending 26.0 | Replaced by earlier implementation without parameter SetLineNo |
| RunOnAfterPrepareSales | (var Record Sales Line, var Record Invoice Posting Buffer) | - | internal | 25-27 | - | - |
| RunOnAfterPreparePurchase | (var Record Purchase Line, var Record Invoice Posting Buffer) | - | internal | 25-27 | - | - |
| RunOnAfterPrepareService | (var Record Service Line, var Record Invoice Posting Buffer) | - | internal | 25-27 | - | - |
| RunOnBeforePrepareSales | (var Record Invoice Posting Buffer, var Record Sales Line) | - | internal | 25-27 | - | - |
| UpdateEntryDescription | (Boolean, Integer, Text[100], Text[100]) | - | public | 26-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterPrepareSales | (var Record Sales Line, var Record Invoice Posting Buffer) | 19-27 | Pending 25.0 | Replaced by event OnAfterPrepareInvoicePostingBuffer in codeunit Sales Post Invoice Events |
| Integration event | OnAfterPreparePurchase | (var Record Purchase Line, var Record Invoice Posting Buffer) | 19-27 | Pending 25.0 | Replaced by event OnAfterPrepareInvoicePostingBuffer in Purch. Post Invoice Events |
| Integration event | OnAfterPrepareService | (var Record Service Line, var Record Invoice Posting Buffer) | 19-27 | Pending 25.0 | Replaced by event OnAfterPrepareInvoicePostingBuffer in codeunit Service Post Invoice |
| Integration event | OnAfterBuildPrimaryKey | (var Record Invoice Posting Buffer) | 19-28 | - | - |
| Integration event | OnUpdateOnAfterModify | (var Record Invoice Posting Buffer, Record Invoice Posting Buffer) | 19-28 | - | - |
| Integration event | OnAfterUpdate | (var Record Invoice Posting Buffer, var Record Invoice Posting Buffer) | 19-28 | - | - |
| Integration event | OnBeforeCalcDiscount | (var Record Invoice Posting Buffer, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeCalcDiscountNoVAT | (var Record Invoice Posting Buffer, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeUpdate | (var Record Invoice Posting Buffer, var Record Invoice Posting Buffer) | 19-28 | - | - |
| Integration event | OnUpdateOnBeforeModify | (var Record Invoice Posting Buffer, Record Invoice Posting Buffer) | 19-28 | - | - |
| Integration event | OnBeforePrepareSales | (var Record Invoice Posting Buffer, var Record Sales Line) | 19-27 | Pending 25.0 | Moved to codeunit Sales Post Invoice Events |
| Integration event | OnFillPrepmtAdjBufferOnBeforeAssignInvoicePostingBuffer | (var Record Invoice Posting Buffer, Record Invoice Posting Buffer) | 19-28 | - | - |
| Integration event | OnAfterCopyToGenJnlLine | (var Record Gen. Journal Line, Record Invoice Posting Buffer) | 19-28 | - | - |
| Integration event | OnAfterCopyToGenJnlLineFA | (var Record Gen. Journal Line, Record Invoice Posting Buffer) | 19-28 | - | - |
| Integration event | OnAfterAdjustRoundingForUpdate | (var Record Invoice Posting Buffer, Record Invoice Posting Buffer) | 22-28 | - | - |
| Integration event | OnAfterApplyRoundingForFinalPosting | (var Record Invoice Posting Buffer, Record Invoice Posting Buffer) | 22-28 | - | - |
| Integration event | OnBuildPrimaryKeyAfterDeferralCode | (var Text, Record Invoice Posting Buffer) | 22-28 | - | - |
| Integration event | OnCalcDiscountOnAfterUpdateVATAmount | (var Record Invoice Posting Buffer, Boolean, Decimal, Decimal) | 22-28 | - | - |
| Integration event | OnBeforeClearVATFields | (var Record Invoice Posting Buffer, var Boolean) | 25-28 | - | - |
| Integration event | OnAfterSetAccount | (var Record Invoice Posting Buffer, Code[20]) | 25-28 | - | - |
| Integration event | OnAfterReverseAmounts | (var Record Invoice Posting Buffer) | 25-28 | - | - |
| Integration event | OnBeforeUpdateEntryDescription | (var Record Invoice Posting Buffer, var Text[100], var Text[100], var Boolean) | 26-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.
