diff --git a/library/src/main/java/org/mustangproject/IncludedNote.java b/library/src/main/java/org/mustangproject/IncludedNote.java index 4d0fee52..1c114272 100644 --- a/library/src/main/java/org/mustangproject/IncludedNote.java +++ b/library/src/main/java/org/mustangproject/IncludedNote.java @@ -72,6 +72,14 @@ public class IncludedNote { 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) { return new IncludedNote(content, null); } diff --git a/library/src/main/java/org/mustangproject/SubjectCode.java b/library/src/main/java/org/mustangproject/SubjectCode.java index 5095dd33..73903e2b 100644 --- a/library/src/main/java/org/mustangproject/SubjectCode.java +++ b/library/src/main/java/org/mustangproject/SubjectCode.java @@ -2,7 +2,25 @@ package org.mustangproject; /** * 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 UNTDID - D.96A - Element 4451 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 { /** @@ -38,22 +56,28 @@ public enum SubjectCode { */ AAK, /** - * Vehicle licence number + * Instructions/information about revolving documentary credit */ ABZ, - /** - * Payment information - */ - PMT, - /** - * Payment detail/remittance information - */ - - PMD, - /** - * Payment term - */ - AAB - + /** + * Payment information + */ + PMT, + /** + * Payment detail/remittance information + */ + PMD, + /** + * Payment term + */ + AAB, + /** + * Additional information + */ + ACB, + /** + * Invoice instruction + */ + INV }