---
id: object/table/12137-it
type: object
title: Table 12137 "Purch. Withh. Contribution" (IT)
summary: Table 12137 "Purch. Withh. Contribution" (IT) in the IT country layer (Microsoft.Finance.WithholdingTax). 34 fields, 7 public procedures, 5 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - it layer
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 2ba44b5645387b823fceee03a1be8a89e42123044399ae2696a6ad04f8c9e920
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/IT/BaseApp/Local/Finance/WithholdingTax/PurchWithhContribution.Table.al
    title: src/Layers/IT/BaseApp/Local/Finance/WithholdingTax/PurchWithhContribution.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/it
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9417
object_type: table
object_id: 12137
name: Purch. Withh. Contribution
namespace: Microsoft.Finance.WithholdingTax
app: Base Application
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: IT
counts:
  fields: 34
  procedures: 14
  events: 5
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Table 12137 "Purch. Withh. Contribution" (IT)

> Table 12137 "Purch. Withh. Contribution" (IT) in the IT country layer (Microsoft.Finance.WithholdingTax). 34 fields, 7 public procedures, 5 events. Introduced in BC29, still in BC30.

IT country layer · Microsoft.Finance.WithholdingTax · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/IT/BaseApp/Local/Finance/WithholdingTax/PurchWithhContribution.Table.al) · facts from BC29

An object of the [IT localization](../../localizations/it.md), not part of W1.

## Properties

| Property | Value |
|---|---|
| Caption | Purch. Withh. Contribution |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Document Type | Option | — | OptionCaption: Quote,Order,Invoice,Credit Memo,Blanket Order |
| 2 | No. | Code[20] | — |  |
| 5 | Total Amount | Decimal | — |  |
| 6 | Base - Excluded Amount | Decimal | — |  |
| 7 | Non Taxable Amount By Treaty | Decimal | — |  |
| 8 | Non Taxable Amount % | Decimal | — |  |
| 9 | Non Taxable Amount | Decimal | — |  |
| 10 | Taxable Base | Decimal | — |  |
| 11 | Withholding Tax Code | Code[20] | — | TableRelation "Withhold Code".Code |
| 12 | Withholding Tax % | Decimal | — |  |
| 13 | Withholding Tax Amount | Decimal | — |  |
| 14 | Social Security Code | Code[20] | — | TableRelation "Contribution Code".Code where("Contribution Type" = filter(INPS)) |
| 15 | Gross Amount | Decimal | — |  |
| 16 | Soc.Sec.Non Taxable Amount | Decimal | — |  |
| 17 | Contribution Base | Decimal | — |  |
| 18 | Social Security % | Decimal | — |  |
| 19 | Total Social Security Amount | Decimal | — |  |
| 20 | Free-Lance % | Decimal | — |  |
| 21 | Free-Lance Amount | Decimal | — |  |
| 22 | Company Amount | Decimal | — |  |
| 25 | Date Related | Date | — |  |
| 26 | Payable Amount | Decimal | — |  |
| 27 | Payment Date | Date | — |  |
| 28 | Currency Code | Code[10] | — |  |
| 30 | INAIL Code | Code[20] | — | TableRelation "Contribution Code".Code where("Contribution Type" = filter(INAIL)) |
| 31 | INAIL Gross Amount | Decimal | — |  |
| 32 | INAIL Non Taxable Amount | Decimal | — |  |
| 33 | INAIL Contribution Base | Decimal | — |  |
| 34 | INAIL Per Mil | Decimal | — |  |
| 35 | INAIL Total Amount | Decimal | — |  |
| 36 | INAIL Free-Lance % | Decimal | — |  |
| 37 | INAIL Free-Lance Amount | Decimal | — |  |
| 38 | INAIL Company Amount | Decimal | — |  |
| 39 | WHT Amount Manual | Decimal | — |  |

## Keys

- Key1: Document Type, No. (clustered)

## Events published

- `OnBeforeCheckBaseExcludedAmount(var PurchWithhContribution: Record "Purch. Withh. Contribution"; xPurchWithhContribution: Record "Purch. Withh. Contribution"; var IsHandled: Boolean)` (integration)
- `OnBeforeCheckNonTaxableAmountByTreaty(var PurchWithhContribution: Record "Purch. Withh. Contribution"; xPurchWithhContribution: Record "Purch. Withh. Contribution"; var IsHandled: Boolean)` (integration)
- `OnValorizzaRitenuteOnBeforeValidateWithholdingTaxAmount(var PurchWithhContribution: Record "Purch. Withh. Contribution")` (integration)
- `OnValorizzaINPSOnBeforeCalcAssoggettato(var Assoggettato: Decimal; Vendor: Record Vendor; PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)` (integration)
- `OnCreateRecordOnBeforeInsertPurchWithhContribution(var PurchWithhContribution: Record "Purch. Withh. Contribution"; PurchaseHeader: Record "Purchase Header"; Vendor: Record Vendor)` (integration)

## Procedures

- `ValorizzaRitenute()`
- `ValorizzaINPS(GrossAmount: Decimal)`
- `GetHeader()`
- `ValorizzaINAIL(GrossAmountINAIL: Decimal)`
- `CreateRecord(PurchaseHeader: Record "Purchase Header"; Vend: Record Vendor)`
- `UpdateDateRelatedWithPurchHeaderDocDate(PurchaseHeader: Record "Purchase Header")`
- `DeleteRecByPurchHeader(PurchaseHeader: Record "Purchase Header")`

Plus 2 local procedures.

## Recent changes

- 2026-07-15 [#9417 [ALAppExtensions #30221][Event Request] table 12137 "Purch. Withh. Contribution"](../../changes/bcapps/9417.md) (main, BC30, feature)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Purch. Withh. Contribution")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

A IT country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
