Class PrecedingInvoiceReference
- All Implemented Interfaces:
Reference
BG-3 PRECEDING INVOICE REFERENCE — A group of business terms providing information on one or more preceding Invoices.
The EN 16931 business terms and groups implemented by this class:
| Represents | BG-3 |
|---|---|
| Business terms (value fields) | BT-25, BT-26, BT-26-0 |
Documentation of the represented business group:
| Description | EN | A group of business terms providing information on one or more preceding Invoices. |
|---|---|---|
| FR | Groupe de termes métiers fournissant des informations sur une Facture antérieure qui doit être rectifiée ou faire l’objet d’une facture d’avoir. | |
| Usage note | EN | To be used in case: - a preceding invoice is corrected - preceding partial invoices are refered to from a final invoice - preceding pre-payment invoices are refered to from a final invoice |
| FR | À utiliser dans les cas suivants : - la correction d'une facture précédente- la facture finale faisant référence à des factures partielles précédentes- la facture finale faisant référence à des factures de pré-paiement précédentes | |
| Conditions (CIUS) | EN | This business group is mandatory in case of a Credit Note in order to reference the invoices it credits, unless the Credit Note refers to a period which must then be present in group BG-14. |
| FR | Ce groupe est obligatoire en cas d'avoir pour référencer la ou les facture(s) auxquelle(s) l'avoir se réfère, sauf si l'avoir se réfère à une période qui doit alors être renseignée dans le groupe BG-14. |
- Since:
- 1.0.06/2.2
-
Method Summary
Modifier and TypeMethodDescriptiongetDate()Returns BT-26 Preceding Invoice issue date — The date when the Preceding Invoice was issued.Returns BT-26-0 Date format.getID()Returns BT-25 Preceding Invoice reference — The identification of an Invoice that was previously sent by the Seller.Sets BT-26 Preceding Invoice issue date — The date when the Preceding Invoice was issued.Sets BT-25 Preceding Invoice reference — The identification of an Invoice that was previously sent by the Seller.
-
Method Details
-
setID
Sets BT-25 Preceding Invoice reference — The identification of an Invoice that was previously sent by the Seller.Rule: BR-55: Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25).
XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedIDFR: Numéro de facture antérieure — Numéro de facture antérieure Identification d'une Facture précédemment envoyée par le Vendeur.
- Parameters:
value- the value to set- Returns:
- this
PrecedingInvoiceReferencefor chaining - Since:
- 1.09.2/2.5.2
-
setDate
Sets BT-26 Preceding Invoice issue date — The date when the Preceding Invoice was issued.Usage: The Preceding Invoice issue date shall be provided in case the Preceding Invoice identifier is not unique.
XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeStringFR: Date d'émission de facture antérieure — Date à laquelle la Facture antérieure a été émise.
- Parameters:
value- the value to set- Returns:
- this
PrecedingInvoiceReferencefor chaining - Since:
- 1.09.2/2.5.2
-
getID
Returns BT-25 Preceding Invoice reference — The identification of an Invoice that was previously sent by the Seller.Rule: BR-55: Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25).
XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedIDFR: Numéro de facture antérieure — Numéro de facture antérieure Identification d'une Facture précédemment envoyée par le Vendeur.
- Returns:
- the
BT-25value - Since:
- 1.09.2/2.5.2
-
getDate
Returns BT-26 Preceding Invoice issue date — The date when the Preceding Invoice was issued.Usage: The Preceding Invoice issue date shall be provided in case the Preceding Invoice identifier is not unique.
XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeStringFR: Date d'émission de facture antérieure — Date à laquelle la Facture antérieure a été émise.
- Returns:
- the
BT-26value - Since:
- 1.09.2/2.5.2
-
getDateFormat
Returns BT-26-0 Date format.Usage: Only value "102"
Rule: Only value "102"
XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString/@formatFR: Format
- Returns:
- the
BT-26-0value - Throws:
ComputationException- Since:
- 1.0.06/2.2
-