Class ExtendedPrecedingInvoiceReference
- java.lang.Object
-
- com.fourjs.report.facturx.profiles.extended.ExtendedPrecedingInvoiceReference
-
public class ExtendedPrecedingInvoiceReference extends Object
EXT:PRECEDING INVOICE REFERENCEA 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
-
-
Method Summary
-
-
-
Method Detail
-
setPrecedingInvoiceReference
public ExtendedPrecedingInvoiceReference setPrecedingInvoiceReference(DocumentReference value)
- Parameters:
value- EXT:Preceding Invoice referenceThe identification of an Invoice that was previously sent by the Seller.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedID
- Returns:
- ExtendedPrecedingInvoiceReference
-
setPrecedingInvoiceTypecode
public ExtendedPrecedingInvoiceReference setPrecedingInvoiceTypecode(Codes.InvoiceTypeCode value)
- Parameters:
value- EXT:Preceding invoive TypeCodeThe 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
- Returns:
- ExtendedPrecedingInvoiceReference
-
setPrecedingInvoiceIssueDate
public ExtendedPrecedingInvoiceReference setPrecedingInvoiceIssueDate(LocalDate value)
- Parameters:
value- EXT:Preceding Invoice issue dateThe 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
- Returns:
- ExtendedPrecedingInvoiceReference
-
getPrecedingInvoiceReference
public DocumentReference getPrecedingInvoiceReference()
-
getPrecedingInvoiceReferenceForJAXB
public String getPrecedingInvoiceReferenceForJAXB()
-
getPrecedingInvoiceTypecode
public Codes.InvoiceTypeCode getPrecedingInvoiceTypecode()
-
getPrecedingInvoiceTypecodeForJAXB
public Codes.InvoiceTypeCode getPrecedingInvoiceTypecodeForJAXB()
-
getDateFormat
public Codes.DateFormat getDateFormat() throws ComputationException
- Throws:
ComputationException
-
getDateFormatForJAXB
public Codes.DateFormat getDateFormatForJAXB()
-
getPrecedingInvoiceIssueDate
public LocalDate getPrecedingInvoiceIssueDate()
-
getPrecedingInvoiceIssueDateForJAXB
public String getPrecedingInvoiceIssueDateForJAXB()
-
-