Merge branch 'ladapos-master'

This commit is contained in:
langfr
2026-05-28 15:40:49 +01:00
2 changed files with 48 additions and 16 deletions

View File

@@ -72,6 +72,14 @@ public class IncludedNote {
return new IncludedNote(content, SubjectCode.PMD); return new IncludedNote(content, SubjectCode.PMD);
} }
public static IncludedNote additionalInformationNote(String content) {
return new IncludedNote(content, SubjectCode.ACB);
}
public static IncludedNote invoiceInstructionNote(String content) {
return new IncludedNote(content, SubjectCode.INV);
}
public static IncludedNote unspecifiedNote(String content) { public static IncludedNote unspecifiedNote(String content) {
return new IncludedNote(content, null); return new IncludedNote(content, null);
} }

View File

@@ -2,7 +2,25 @@ package org.mustangproject;
/** /**
* EN16931-ID: BT-21 - the qualification of the free text on the invoice from BT-22 * EN16931-ID: BT-21 - the qualification of the free text on the invoice from BT-22
* In the first step only the recommended codes are implemented. * @see <a href="https://service.unece.org/trade/untdid/d96a/uncl/uncl4451.htm">UNTDID - D.96A - Element 4451</a> for a complete list of codes
*
* In the first step only the recommended codes are implemented:
* AAI : General information / Allgemeine Informationen
* SUR : Supplier remarks / Anmerkungen des Verkäufers
* REG : Regulatory information / Regulatorische Informationen
* ABL : Government information / Rechtliche Informationen
* TXD : Tax declaration / Informationen zur Steuer
* CUS : Customs declaration information / Zollinformationen
*
* plus
* ACY : Introduction
* AAK : Price conditions
* ABZ : Instructions/information about revolving documentary credit
* PMT : Payment information
* PMD : Payment detail/remittance information
* AAB : Terms of payments
* ACB : Additional information
* INV : Invoice instruction
*/ */
public enum SubjectCode { public enum SubjectCode {
/** /**
@@ -38,22 +56,28 @@ public enum SubjectCode {
*/ */
AAK, AAK,
/** /**
* Vehicle licence number * Instructions/information about revolving documentary credit
*/ */
ABZ, ABZ,
/** /**
* Payment information * Payment information
*/ */
PMT, PMT,
/** /**
* Payment detail/remittance information * Payment detail/remittance information
*/ */
PMD,
PMD, /**
/** * Payment term
* Payment term */
*/ AAB,
AAB /**
* Additional information
*/
ACB,
/**
* Invoice instruction
*/
INV
} }