---
id: change/bcapps/13243
type: change
title: "#13243 [main] Wrong Financial entries in Import Duty GST Calculation"
summary: Fixed incorrect GST and import duty financial entries when invoicing partially received purchase orders for Import and SEZ vendors by ensuring Qty. to invoice reflects only received-but-not-invoiced quantities.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit gst vendor ledger entry
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-11-17T00:58:32.309Z"
  flags: []
generated:
  at: "2026-11-28T00:12:53.289Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 748fa0b51adc441348602c785c466ef860d29070
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13243
    title: "microsoft/BCApps#13243: [main] Wrong Financial entries in Import Duty GST Calculation"
    date: "2026-11-16"
    commit: 748fa0b51adc441348602c785c466ef860d29070
    t: null
    quote: Incorrect GST/import duty financial entries can occur when invoicing partially received purchase orders for Import and SEZ vendors.
links:
  learn: []
  objects:
    - object/codeunit/18082-in
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/India/GST-TCS-on-Payment
      title: GST TCS on Vendor Payment
      label: possibly related
      why: Documents GST calculations on vendor payments including import duty and ledger entries.
      by: model
number: 13243
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13243
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-16T00:52:20Z"
author: Shikhverma
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 1
  additions: 64
  deletions: 0
  al: 1
apps:
  - INGST
objects_touched:
  - key: codeunit/18082
    page: codeunit/18082-in
    type: codeunit
    id: 18082
    name: GST Vendor Ledger Entry
    app: INGST
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 13726
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/13726
fixes_issues: []
work_items:
  - 651401
systems:
  - finance
quote: Incorrect GST/import duty financial entries can occur when invoicing partially received purchase orders for Import and SEZ vendors.
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #13243 [main] Wrong Financial entries in Import Duty GST Calculation

> Fixed incorrect GST and import duty financial entries when invoicing partially received purchase orders for Import and SEZ vendors by ensuring Qty. to invoice reflects only received-but-not-invoiced quantities.

[Pull request](https://github.com/microsoft/BCApps/pull/13243) · merged into `main` (BC30) on 2026-11-16 by Shikhverma · 1 file (+64 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Corrects GST/import duty financial entries for partial receipts on import and SEZ purchase orders
- Qty. to invoice now calculated correctly after receipt posting and undo receipt operations
- Prevents inclusion of not-yet-received quantities in invoice calculations
- Applies to GST Vendor Ledger Entry processing for Indian GST compliance
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 18082 "GST Vendor Ledger Entry"](../../objects/codeunit/18082-in.md), INGST (IN layer): modified

## Also merged into

- [#13726](https://github.com/microsoft/BCApps/pull/13726) into `releases/29.x` on 2026-11-15

## Context

- Work items: AB#651401
- Labels: Team: Finance
- Systems: finance
- From the description: "Incorrect GST/import duty financial entries can occur when invoicing partially received purchase orders for Import and SEZ vendors."

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [GST TCS on Vendor Payment](https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/India/GST-TCS-on-Payment) — possibly related: Documents GST calculations on vendor payments including import duty and ledger entries. (model-linked)

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
