Project

General

Profile

Actions

Task #19532

closed

MCL - File Reference / HBL Invoicing - "Separate Invoice for Disbursement" generates 2 invoices but both contain all charges

Added by Redmine Admin 6 months ago. Updated 3 months ago.

Status:
Closed
Priority:
High
Assignee:
-
Start date:
03/11/2026
Due date:
03/11/2026
% Done:

100%

Estimated time:
0:00 h
Spent time:
GitLab ID:
4005
GitLab Milestone:
GitLab Ticket Number:
1279
GitLab Time Logged:
14400
Lock Timeline Date:
No
gitlab project trace:

Description

Tenant: MCL

Environment: Production v 1.1.18

Issue:

When the user selects "Separate Invoice for Disbursement" for an HBL that contains 1 disbursement charge, the system generates 2 invoices as expected. However, both generated invoices contain all charges, instead of separating the disbursement charge from the non-disbursement charges.

Preconditions

  • File Reference exists with HBL charges.
  • There is 1 charge marked as Disbursement.
  • Other charges are non-disbursement.
  • User has access to generate invoices from the HBL invoice screen.

Test Data / Reference

  • File Reference: MCL26SFI03019

Steps to Reproduce

  1. Open Ocean Import → File Reference.
  2. Open file reference MCL26SFI03019.
  3. Go to the HBL Charges / Invoice screen.
  4. Ensure there is 1 disbursement charge and other normal charges.
  5. Select "Separate Invoice for Disbursement".
  6. Generate invoices.
  7. Open the list of generated invoices.

Actual Result

  • The system generates 2 invoices.
  • One invoice is marked with Disbursement = Yes and the other with Disbursement = No.
  • However, both invoices contain all charges.
  • There is no separation between:
    • the disbursement charge, and
    • the remaining non-disbursement charges.

Expected Result
When "Separate Invoice for Disbursement" is selected:

  • The disbursement invoice should contain only the disbursement charge(s).
  • The standard/non-disbursement invoice should contain only the other charges.
  • Charges must not be duplicated across both invoices.

File Reference - HBL Sales Charges

On the HBL charges screen, only one charge is marked as Disbursement.

image.png{width="1132" height="539"}

Activity Log for File Reference last updated on 10-Mar-2026 15:50

image.png{width="898" height="198"}

Invoice screen

  1. The user selected "Separate Invoice for Disbursement"
  2. The system has generated 2 invoices, including the one for disbursement; however, note that both invoices are listing all the charges. No differentiation between the disbursement charge and the other charges.

image.png{width="1392" height="355"}

Invoice creation logged on 10-Mar-2026 16:01image.png{width="885" height="171"}

Attached are the 2 invoices generated by the system.

Invoice-MCL26INV03045-2026-03-10.pdf

Invoice-MCL26INV03044-2026-03-10.pdf


GitLab Sync Log

[{"id": "40150", "author": "Avisham", "hours": 4.0, "created": "2026-03-11T11:29:58.513Z", "log_date": "2026-03-10", "comment": "Imported from GitLab by @Avisham on 2026-03-11T11:29:58.513Z: 4h-(4.0)h spend at: 2026-03-10", "status": "active", "deleted_by": "", "redmine_entry_id": 12600}]

Actions

Also available in: Atom PDF