---
id: object/codeunit/18161-in
type: object
title: Codeunit 18161 "e-Invoice Management for Ser." (IN)
summary: Codeunit 18161 "e-Invoice Management for Ser." (IN) in the IN country layer (Microsoft.Finance.GST.Services). 2 public procedures, 3 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - in 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: 26320e3ad7f3dfe5a74517e09edaa1044253098b96acefd6778e762c2cb0bdb3
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/IN/INGST/app/GSTService/src/Codeunit/eInvoiceManagementforSer.Codeunit.al
    title: src/Apps/IN/INGST/app/GSTService/src/Codeunit/eInvoiceManagementforSer.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/in
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9613
object_type: codeunit
object_id: 18161
name: e-Invoice Management for Ser.
namespace: Microsoft.Finance.GST.Services
app: INGST
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: IN
counts:
  fields: 0
  procedures: 11
  events: 0
  subscribers: 3
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 18161 "e-Invoice Management for Ser." (IN)

> Codeunit 18161 "e-Invoice Management for Ser." (IN) in the IN country layer (Microsoft.Finance.GST.Services). 2 public procedures, 3 event subscribers. Introduced in BC29, still in BC30.

IN country layer · Microsoft.Finance.GST.Services · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/IN/INGST/app/GSTService/src/Codeunit/eInvoiceManagementforSer.Codeunit.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata "Service Invoice Header" = rm, tabledata "Service Cr.Memo Header" = rm |

## Event subscriptions

- OnAfterValidateIRNHashOnInvoice subscribes to Table "Service Invoice Header" OnAfterValidateEvent (IRN Hash)
- OnAfterValidateIRNHashOnCreditMemo subscribes to Table "Service Cr.Memo Header" OnAfterValidateEvent (IRN Hash)
- CreateJsonFile subscribes to Codeunit "Service-Post" OnAfterPostServiceDoc

## Procedures

- `GenerateIRN(DocNo: Code[20]; CallByTable: Integer)`
- `IsGSTApplicable(DocumentNo: Code[20]; TableID: Integer): Boolean`

Plus 6 local procedures.

## Recent changes

- 2026-07-29 [#9613 [Master] - Sustainability: Specific Carbon Tracking, Item Charge emissions & setup fixes (Bugs 641051, 641486, 641487, 641049, 641222, 641055, 641289, 641224, 641309)](../../changes/bcapps/9613.md) (main, BC30, fix)

## 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: "codeunit", object_name: "e-Invoice Management for Ser.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

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