---
id: object/codeunit/10740-es
type: object
title: Codeunit 10740 "No Taxable Mgt." (ES)
summary: Codeunit 10740 "No Taxable Mgt." (ES) in the ES country layer (Microsoft.Finance.VAT.Calculation). 12 public procedures, 1 events, 8 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - es 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: bfd142118142e15536f67b50980981e30880d6e5b0251d9061efc269ab7fcfd5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Local/Finance/VAT/Calculation/NoTaxableMgt.Codeunit.al
    title: src/Layers/ES/BaseApp/Local/Finance/VAT/Calculation/NoTaxableMgt.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/es
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9514
object_type: codeunit
object_id: 10740
name: No Taxable Mgt.
namespace: Microsoft.Finance.VAT.Calculation
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: ES
counts:
  fields: 0
  procedures: 50
  events: 1
  subscribers: 8
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 10740 "No Taxable Mgt." (ES)

> Codeunit 10740 "No Taxable Mgt." (ES) in the ES country layer (Microsoft.Finance.VAT.Calculation). 12 public procedures, 1 events, 8 event subscribers. Introduced in BC29, still in BC30.

ES country layer · Microsoft.Finance.VAT.Calculation · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Local/Finance/VAT/Calculation/NoTaxableMgt.Codeunit.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| Permissions | TableData "No Taxable Entry" = rm |

## Events published

- `OnUpdateNoTaxableEntryFromCustomerLedgerEntryOnBeforeCalcAmount(CustLedgerEntry: Record "Cust. Ledger Entry"; var ShouldExit: Boolean)` (integration)

## Event subscriptions

- InsertNoTaxableEntryOnPostGLAcc subscribes to Codeunit "12" OnAfterPostGLAcc
- InsertNoTaxableEntryOnPostVend subscribes to Codeunit "Gen. Jnl.-Post Line" OnAfterPostVend
- InsertNoTaxableEntryOnPostCust subscribes to Codeunit "Gen. Jnl.-Post Line" OnAfterPostCust
- ReverseNoTaxableEntryVend subscribes to Codeunit "Gen. Jnl.-Post Reverse" OnReverseVendLedgEntryOnBeforeInsertVendLedgEntry
- ReverseNoTaxableEntryCust subscribes to Codeunit "Gen. Jnl.-Post Reverse" OnReverseCustLedgEntryOnBeforeInsertCustLedgEntry
- TestPurchLineOnPurchPost subscribes to Codeunit "Purch.-Post" OnAfterTestPurchLine
- TestSalesLineOnSalesPost subscribes to Codeunit "Sales-Post" OnAfterTestSalesLine
- TestGenJnlLineOnGenJnlPost subscribes to Codeunit "Gen. Jnl.-Check Line" OnAfterCheckGenJnlLine

## Procedures

- `FindNoTaxableLinesPurchaseInvoice(var PurchInvLine: Record "Purch. Inv. Line"; VendorNo: Code[20]; DocumentNo: Code[20]; PostingDate: Date): Boolean`
- `FindNoTaxableLinesPurchaseCrMemo(var PurchCrMemoLine: Record "Purch. Cr. Memo Line"; VendorNo: Code[20]; DocumentNo: Code[20]; PostingDate: Date): Boolean`
- `FindNoTaxableLinesSalesInvoice(var SalesInvoiceLine: Record "Sales Invoice Line"; CustomerNo: Code[20]; DocumentNo: Code[20]; PostingDate: Date): Boolean`
- `FindNoTaxableLinesSalesCrMemo(var SalesCrMemoLine: Record "Sales Cr.Memo Line"; CustomerNo: Code[20]; DocumentNo: Code[20]; PostingDate: Date): Boolean`
- `FindNoTaxableLinesServiceInvoice(var ServiceInvoiceLine: Record Microsoft.Service.History."Service Invoice Line"; CustomerNo: Code[20]; DocumentNo: Code[20]; PostingDate: Date): Boolean` (obsolete 27.0: Moved to codeunit Serv. No Taxable Mgt.)
- `FindNoTaxableLinesServiceCrMemo(var ServiceCrMemoLine: Record Microsoft.Service.History."Service Cr.Memo Line"; CustomerNo: Code[20]; DocumentNo: Code[20]; PostingDate: Date): Boolean` (obsolete 27.0: Moved to codeunit Serv. No Taxable Mgt.)
- `InsertNoTaxableEntriesFromSalesLines(var PostedLineRecRef: RecordRef; NoTaxableEntry: Record "No Taxable Entry"; Sign: Integer)`
- `CalcNoTaxableAmountCustomerSimple(var NormalAmount: Decimal; var EUServiceAmount: Decimal; var EU3PartyAmount: Decimal; CustomerNo: Code[20]; FromDate: Date; ToDate: Date; FilterString: Text)`
- `CalcNoTaxableAmountCustomerWithDeliveryCode(var NoTaxableNormalAmount: array[3] of Decimal; var EUServiceAmount: Decimal; var EU3PartyAmount: Decimal; CustomerNo: Code[20]; FromDate: Date; ToDate: Date; FilterString: Text)`
- `CalcNoTaxableAmountVendor(var NormalAmount: Decimal; var EUServiceAmount: Decimal; VendorNo: Code[20]; FromDate: Date; ToDate: Date; FilterString: Text[1024])`
- `UpdateNoTaxableEntryFromVendorLedgerEntry(VendorLedgerEntry: Record "Vendor Ledger Entry")`
- `UpdateNoTaxableEntryFromCustomerLedgerEntry(CustLedgerEntry: Record "Cust. Ledger Entry")`

Plus 29 local procedures.

## Triggers

OnRun

## Recent changes

- 2026-07-17 [#9514 [Main]-Interest Document issued with non-taxable VAT does not generate non-taxable VAT entries in the Spanish localization](../../changes/bcapps/9514.md) (main, BC30, fix)

## Across versions

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

## Deprecations

- procedure FindNoTaxableLinesServiceCrMemo: Pending 27.0 (#if not CLEAN27), "Moved to codeunit Serv. No Taxable Mgt."
- procedure FindNoTaxableLinesServiceInvoice: Pending 27.0 (#if not CLEAN27), "Moved to codeunit Serv. No Taxable Mgt."

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: "codeunit", object_name: "No Taxable Mgt.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

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