public class ExtendedPrecedingInvoiceReference
extends java.lang.Object
A group of business terms providing information on one preceding Invoice (in case of multiple preceding invoice)
To be used in case:- a preceding invoice is corrected- preceding partial invoices are referred to from a final invoice-preceding pre-payment invoices are referred to from a final invoice
This business group is mandatory in case of a Credit Note which needs to reference more than one invoices it credits, unless the Credit Note refers to a period which must then be present in group BG-14.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:InvoiceReferencedDocument
Modifier and Type | Method and Description |
---|---|
Codes.DateFormat |
getDateFormat()
EXT:Date format
|
java.time.LocalDate |
getPrecedingInvoiceIssueDate()
EXT:Preceding Invoice issue date
|
DocumentReference |
getPrecedingInvoiceReference()
EXT:Preceding Invoice reference
|
Codes.InvoiceTypeCode |
getPrecedingInvoiceTypecode()
EXT:Preceding invoive TypeCode
|
ExtendedPrecedingInvoiceReference |
setPrecedingInvoiceIssueDate(java.time.LocalDate value) |
ExtendedPrecedingInvoiceReference |
setPrecedingInvoiceReference(DocumentReference value) |
ExtendedPrecedingInvoiceReference |
setPrecedingInvoiceTypecode(Codes.InvoiceTypeCode value) |
public ExtendedPrecedingInvoiceReference setPrecedingInvoiceReference(DocumentReference value)
value
- EXT:Preceding Invoice reference
The identification of an Invoice that was previously sent by the Seller.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedID
public ExtendedPrecedingInvoiceReference setPrecedingInvoiceTypecode(Codes.InvoiceTypeCode value)
value
- EXT:Preceding invoive TypeCode
The type of preceding Invoice Document
Can be used in case of final invoive after prepaid invoice, in order to refernce the previous prepaid invoices.Codelist UNCL 1001 restricted like BT-3
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:InvoiceReferencedDocument/ram:TypeCode
public ExtendedPrecedingInvoiceReference setPrecedingInvoiceIssueDate(java.time.LocalDate value)
value
- EXT:Preceding Invoice issue date
The date when the Preceding Invoice was issued.
The Preceding Invoice issue date shall be provided in case the Preceding Invoice identifier is not unique.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString
public DocumentReference getPrecedingInvoiceReference()
The identification of an Invoice that was previously sent by the Seller.
public Codes.InvoiceTypeCode getPrecedingInvoiceTypecode()
The type of preceding Invoice Document
Can be used in case of final invoive after prepaid invoice, in order to refernce the previous prepaid invoices.Codelist UNCL 1001 restricted like BT-3
public Codes.DateFormat getDateFormat() throws ComputationException
Value = 102
Only value "102"
Invoice.setRecompute(boolean)
has been called with a value of false in which case the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString/@format is returnedComputationException
public java.time.LocalDate getPrecedingInvoiceIssueDate()
The date when the Preceding Invoice was issued.
The Preceding Invoice issue date shall be provided in case the Preceding Invoice identifier is not unique.