Class AdditionalSupportingDocuments
- java.lang.Object
-
- com.fourjs.report.facturx.profiles.en16931.AdditionalSupportingDocuments
-
public class AdditionalSupportingDocuments extends Object
BG-24:ADDITIONAL SUPPORTING DOCUMENTSA group of business terms providing information about additional supporting documents substantiating the claims made in the Invoice.
The additional supporting documents can be used for both referencing a document number which is expected to be known by the receiver, an external document (referenced by a URL) or as an embedded document (such as a time report in pdf). The option to link to an external document will be needed, for example in the case of large attachments and/or when sensitive information, e.g. person-related services, has to be separated from the Invoice itself.
CHORUS PRO: If the group "ADDITIONAL SUPPORTING DOCUMENTS" is filled in, one of the following two business terms must be present: Attached Document (BT-125) or External document location (URI) (BT-124)
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument
-
-
Method Summary
-
-
-
Method Detail
-
setSupportingDocumentReference
public AdditionalSupportingDocuments setSupportingDocumentReference(DocumentReference value)
- Parameters:
value
- BT-122:Supporting document referenceAn identifier of the supporting document.
BR-52: Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:IssuerAssignedID
- Returns:
- AdditionalSupportingDocuments
-
setExternalDocumentLocation
public AdditionalSupportingDocuments setExternalDocumentLocation(String value)
- Parameters:
value
- BT-124:External document locationThe URL (Uniform Resource Locator) that identifies where the external document is located.
A means of locating the resource including its primary access mechanism, e.g. http:// or ftp://.External document location shall be used if the Buyer requires additional information to support the Invoice.External documents do not form part of the invoice. Risks can be involved when accessing external documents.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:URIID
- Returns:
- AdditionalSupportingDocuments
-
setTypeCode
public AdditionalSupportingDocuments setTypeCode(Codes.SupportingDocumentTypeCode value)
- Parameters:
value
- BT-122-0:Use for "ADDITIONAL SUPPORTING DOCUMENTS" with TypeCode Value = 916
For this business term, same Xpath for BT-17, BT-18, and BT-122. For BT-18, Value = 916
Use for "ADDITIONAL SUPPORTING DOCUMENTS" with TypeCode "916"
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:TypeCode
- Returns:
- AdditionalSupportingDocuments
-
setSupportingDocumentDescription
public AdditionalSupportingDocuments setSupportingDocumentDescription(String value)
- Parameters:
value
- BT-123:Supporting document descriptionA description of the supporting document.
Such as: timesheet, usage report etc.
CHORUS PRO: Chorus Pro allows only two types of attachements: main attachment and additional attachment.In the case of a PDF / A-3 (Factur-X), only the type of complementary attachment is allowed.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:Name
- Returns:
- AdditionalSupportingDocuments
-
setAttachedDocumentMimeCode
public AdditionalSupportingDocuments setAttachedDocumentMimeCode(Codes.Mime value)
- Parameters:
value
- BT-125-1:Attached document Mime codeThe mime code of the attached document.
Allowed mime codes: - application/pdf- image/png- image/jpeg- text/csv- application/vnd.openxmlformats- officedocument.spreadsheetml.sheet- application/vnd.oasis.opendocument. Spreadsheet
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject/@mimeCode
- Returns:
- AdditionalSupportingDocuments
-
setAttachedDocumentFilename
public AdditionalSupportingDocuments setAttachedDocumentFilename(String value)
- Parameters:
value
- BT-125-2:Attached document FilenameThe file name of the attached document
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject/@filename
- Returns:
- AdditionalSupportingDocuments
-
setAttachedDocument
public AdditionalSupportingDocuments setAttachedDocument(BinaryObject value)
- Parameters:
value
- BT-125:Attached documentAn attached document embedded as binary object or sent together with the invoice.
Attached document is used when documentation shall be stored with the Invoice for future reference or audit purposes.
CHORUS PRO: The attachment must be contained in a ZIP archive, the maximum weight of the attachment is 100 MB.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject
- Returns:
- AdditionalSupportingDocuments
-
setSchemeIdentifier
public AdditionalSupportingDocuments setSchemeIdentifier(Codes.ReferenceCodeIdentifier value)
- Parameters:
value
- BT-18-1:Scheme identifierThe identification scheme identifier of the Invoiced object identifier.
If it may be not clear for the receiver what scheme is used for the identifier, a conditional scheme identifier should be used that shall be chosen from the UNTDID 1153 code list [6] entries.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:ReferenceTypeCode
- Returns:
- AdditionalSupportingDocuments
-
getSupportingDocumentReference
public DocumentReference getSupportingDocumentReference()
BT-122:Supporting document referenceAn identifier of the supporting document.
BR-52: Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122).
- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:IssuerAssignedID
-
getExternalDocumentLocation
public String getExternalDocumentLocation()
BT-124:External document locationThe URL (Uniform Resource Locator) that identifies where the external document is located.
A means of locating the resource including its primary access mechanism, e.g. http:// or ftp://.External document location shall be used if the Buyer requires additional information to support the Invoice.External documents do not form part of the invoice. Risks can be involved when accessing external documents.
- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:URIID
-
getTypeCode
public Codes.SupportingDocumentTypeCode getTypeCode()
BT-122-0:Use for "ADDITIONAL SUPPORTING DOCUMENTS" with TypeCode Value = 916
For this business term, same Xpath for BT-17, BT-18, and BT-122. For BT-18, Value = 916
Use for "ADDITIONAL SUPPORTING DOCUMENTS" with TypeCode "916"
- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:TypeCode
-
getSupportingDocumentDescription
public String getSupportingDocumentDescription()
BT-123:Supporting document descriptionA description of the supporting document.
Such as: timesheet, usage report etc.
CHORUS PRO: Chorus Pro allows only two types of attachements: main attachment and additional attachment.In the case of a PDF / A-3 (Factur-X), only the type of complementary attachment is allowed.
- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:Name
-
getAttachedDocumentMimeCode
public Codes.Mime getAttachedDocumentMimeCode()
BT-125-1:Attached document Mime codeThe mime code of the attached document.
Allowed mime codes: - application/pdf- image/png- image/jpeg- text/csv- application/vnd.openxmlformats- officedocument.spreadsheetml.sheet- application/vnd.oasis.opendocument. Spreadsheet
- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject/@mimeCode
-
getAttachedDocumentFilename
public String getAttachedDocumentFilename()
BT-125-2:Attached document FilenameThe file name of the attached document
- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject/@filename
-
getAttachedDocument
public BinaryObject getAttachedDocument()
BT-125:Attached documentAn attached document embedded as binary object or sent together with the invoice.
Attached document is used when documentation shall be stored with the Invoice for future reference or audit purposes.
CHORUS PRO: The attachment must be contained in a ZIP archive, the maximum weight of the attachment is 100 MB.
- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject
-
getSchemeIdentifier
public Codes.ReferenceCodeIdentifier getSchemeIdentifier()
BT-18-1:Scheme identifierThe identification scheme identifier of the Invoiced object identifier.
If it may be not clear for the receiver what scheme is used for the identifier, a conditional scheme identifier should be used that shall be chosen from the UNTDID 1153 code list [6] entries.
- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:ReferenceTypeCode
-
-