public class Invoice
extends java.lang.Object
Cross Industry Invoice
XPath:/rsm:CrossIndustryInvoice
Constructor and Description |
---|
Invoice(Identifier invoiceNumber,
Codes.InvoiceTypeCode invoiceTypeCode,
java.time.LocalDate invoiceIssueDate,
Codes.Currency invoiceCurrencyCode)
Creates an Invoice object
|
public Invoice(Identifier invoiceNumber, Codes.InvoiceTypeCode invoiceTypeCode, java.time.LocalDate invoiceIssueDate, Codes.Currency invoiceCurrencyCode)
invoiceNumber
- BT-1:Invoice number
A unique identification of the Invoice.
The sequential number required in Article 226(2) of the directive 2006/112/EC [2], to uniquely identify the Invoice within the business context, time-frame, operating systems and records of the Seller. It may be based on one or more series of numbers, which may include alphanumeric characters. No identification scheme is to be used.
CHORUSPRO: the invoice number is limited to 20 characters
BR-2: An Invoice shall have an Invoice number (BT-1).
invoiceTypeCode
- BT-3:Invoice type code
A code specifying the functional type of the Invoice.
Commercial invoices and credit notes are defined according the entries in UNTDID 1001 [6].Other entries of UNTDID 1001 [6] with specific invoices or credit notes may be used if applicable.
The types of documents used are:380: Commercial Invoice381: Credit note384: Corrected invoice389: Self-billied invoice (created by the buyer on behalf of the supplier)261: Self billed credit note (not accepted by CHORUSPRO)386: Prepayment invoice751: Invoice information for accounting purposes (not accepted by CHORUSPRO)
BR-4: An Invoice shall have an Invoice type code (BT-3).
invoiceIssueDate
- BT-2:Invoice issue date
The date when the Invoice was issued.
CHORUSPRO: the issue date must be before or equal to the deposit date.
BR-3: An Invoice shall have an Invoice issue date (BT-2).
invoiceCurrencyCode
- BT-5:Invoice currency code
The currency in which all Invoice amounts are given, except for the Total VAT amount in accounting currency.
Only one currency shall be used in the Invoice, except for the Invoice total VAT amount in accounting currency (BT-111) in accordance with article 230 of Directive 2006/112/EC on VAT [2].The lists of valid currencies are registered with the ISO 4217 Maintenance Agency “Codes for the representation of currencies and funds”.
CHORUS PRO: Invoices and credit notes or Chorus Pro are mono-currencies only.
BR-5: An Invoice shall have an Invoice currency code (BT-5).
public void setRecompute(boolean value)
InvoiceTotalAmountWithoutVAT.getInvoiceTotalAmountWithoutVAT()
By default the values are always computed but in the case that the values were explicitly set (e.g. after creating and instance via fromXML(String,boolean)
), it might be desirable to obtain the explicitly set values instead.value
- whether or not to ignore explicitly set values of computed fields and work with computed values insteadpublic void initForUnitTest()
public LanguageIdentifier appendNewLanguageIdentifier()
getLanguageIdentifiers()
public InvoiceNote appendNewInvoiceNote()
getInvoiceNotes()
public InvoiceLine appendNewInvoiceLine(Identifier invoiceLineIdentifier, java.lang.String itemName, Codes.UnitOfMeasure invoicedQuantityUnitOfMeasureCode, Quantity invoicedQuantity)
getInvoiceLines()
invoiceLineIdentifier
- BT-126:Invoice line identifier
A unique identifier for the individual line within the Invoice.
BR-21: Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126).
itemName
- BT-153:Item name
A name for an item.
BR-25: Each Invoice line (BG-25) shall contain the Item name (BT- 153).
invoicedQuantityUnitOfMeasureCode
- BT-130:Invoiced quantity unit of measure code
The unit of measure that applies to the invoiced quantity.
The unit of measure shall be chosen from the lists in UN/ECE Recommendation N°. 20 “Codes for Units of Measure Used in International Trade” [7] and UN/ECE Recommendation N° 21 “Codes for Passengers, Types of Cargo, Packages and Packaging Materials (with Complementary Codes for Package Names)” [19] applying the method described in UN/ECE Rec N° 20 Intro 2.a). Note that in most cases it is not needed for Buyers and Sellers to implement these lists fully in their software. Sellers need only to support the units needed for their goods and services; Buyers only need to verify that the units used in the Invoice are equal to the units used in other documents (such as Contract, Catalogue, Order and Despatch advice).
In particular, the most common units of measurement are:LTR = Liter (1 dm3)MTQ = cubic meterKGM = KilogramMTR = MeterC62 = UnitTNE = Tonne
BR-23: An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130).
invoicedQuantity
- BT-129:Invoiced quantity
The quantity of items (goods or services) that is charged in the Invoice line.
CHORUS PRO: Invoiced quantity is fulfilled on 10 digits maximum.
BR-22: Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129).
public SellerIdentifier appendNewSellerIdentifier()
getSellerIdentifiers()
public SellerIdentifierSchemeIdentifier appendNewSellerIdentifierSchemeIdentifier()
getSellerIdentifierSchemeIdentifiers()
public SellerLegalOrganizationCountrySubdivision appendNewSellerLegalOrganizationCountrySubdivision()
getSellerLegalOrganizationCountrySubdivisions()
public Seller appendNewSeller()
getSellers()
public SellerCountrySubdivision appendNewSellerCountrySubdivision()
getSellerCountrySubdivisions()
public SellerVATIdentifier appendNewSellerVATIdentifier()
getSellerVATIdentifiers()
public BuyerIdentifier appendNewBuyerIdentifier()
getBuyerIdentifiers()
public BuyerIdentifierSchemeIdentifier appendNewBuyerIdentifierSchemeIdentifier()
getBuyerIdentifierSchemeIdentifiers()
public BuyerLegalOrganizationCountrySubdivision appendNewBuyerLegalOrganizationCountrySubdivision()
getBuyerLegalOrganizationCountrySubdivisions()
public Buyer appendNewBuyer()
getBuyers()
public BuyerCountrySubdivision appendNewBuyerCountrySubdivision()
getBuyerCountrySubdivisions()
public BuyerVATIdentifier appendNewBuyerVATIdentifier()
getBuyerVATIdentifiers()
public SalesAgentIdentifier appendNewSalesAgentIdentifier()
getSalesAgentIdentifiers()
public SalesAgentIdentifierSchemeIdentifier appendNewSalesAgentIdentifierSchemeIdentifier()
getSalesAgentIdentifierSchemeIdentifiers()
public SalesAgentLegalOrganizationCountrySubdivision appendNewSalesAgentLegalOrganizationCountrySubdivision()
getSalesAgentLegalOrganizationCountrySubdivisions()
public SalesAgent appendNewSalesAgent()
getSalesAgents()
public SalesAgentCountrySubdivision appendNewSalesAgentCountrySubdivision()
getSalesAgentCountrySubdivisions()
public SalesAgentVATIdentifier appendNewSalesAgentVATIdentifier()
getSalesAgentVATIdentifiers()
public BuyerTaxRepresentativeIdentifier appendNewBuyerTaxRepresentativeIdentifier()
getBuyerTaxRepresentativeIdentifiers()
public BuyerTaxRepresentativeIdentifierSchemeIdentifier appendNewBuyerTaxRepresentativeIdentifierSchemeIdentifier()
getBuyerTaxRepresentativeIdentifierSchemeIdentifiers()
public BuyerTaxRepresentativeLegalOrganizationCountrySubdivision appendNewBuyerTaxRepresentativeLegalOrganizationCountrySubdivision()
getBuyerTaxRepresentativeLegalOrganizationCountrySubdivisions()
public BuyerTaxRepresentative appendNewBuyerTaxRepresentative()
getBuyerTaxRepresentatives()
public BuyerTaxRepresentativeCountrySubdivision appendNewBuyerTaxRepresentativeCountrySubdivision()
getBuyerTaxRepresentativeCountrySubdivisions()
public BuyerTaxRepresentativeVATIdentifier appendNewBuyerTaxRepresentativeVATIdentifier()
getBuyerTaxRepresentativeVATIdentifiers()
public SellerTaxRepresentativeIdentifier appendNewSellerTaxRepresentativeIdentifier()
getSellerTaxRepresentativeIdentifiers()
public SellerTaxRepresentativeIdentifierSchemeIdentifier appendNewSellerTaxRepresentativeIdentifierSchemeIdentifier()
getSellerTaxRepresentativeIdentifierSchemeIdentifiers()
public SellerTaxRepresentativeLegalOrganizationCountrySubdivision appendNewSellerTaxRepresentativeLegalOrganizationCountrySubdivision()
getSellerTaxRepresentativeLegalOrganizationCountrySubdivisions()
public SellerTaxRepresentative appendNewSellerTaxRepresentative()
getSellerTaxRepresentatives()
public SellerTaxRepresentativeCountrySubdivision appendNewSellerTaxRepresentativeCountrySubdivision()
getSellerTaxRepresentativeCountrySubdivisions()
public SellerTaxRepresentativeVATIdentifier appendNewSellerTaxRepresentativeVATIdentifier()
getSellerTaxRepresentativeVATIdentifiers()
public ProductEndUserIdentifier appendNewProductEndUserIdentifier()
getProductEndUserIdentifiers()
public ProductEndUserIdentifierSchemeIdentifier appendNewProductEndUserIdentifierSchemeIdentifier()
getProductEndUserIdentifierSchemeIdentifiers()
public ProductEndUser appendNewProductEndUser()
getProductEndUsers()
public ProductEndUserCountrySubdivision appendNewProductEndUserCountrySubdivision()
getProductEndUserCountrySubdivisions()
public DetailedInformationAboutTheTaxNumberOfTheDeviatingEndUser appendNewDetailedInformationAboutTheTaxNumberOfTheDeviatingEndUser()
getDetailedInformationAboutTheTaxNumberOfTheDeviatingEndUsers()
public SalesOrderReference appendNewSalesOrderReference()
getSalesOrderReferences()
public PurchaseOrderReference appendNewPurchaseOrderReference()
getPurchaseOrderReferences()
public QuotationReferencedDocument appendNewQuotationReferencedDocument()
getQuotationReferencedDocuments()
public ContractReference appendNewContractReference()
getContractReferences()
public AdditionalSupportingDocuments appendNewAdditionalSupportingDocuments()
getAdditionalSupportingDocuments()
public BuyerAgentIdentifier appendNewBuyerAgentIdentifier()
getBuyerAgentIdentifiers()
public BuyerAgentIdentifierSchemeIdentifier appendNewBuyerAgentIdentifierSchemeIdentifier()
getBuyerAgentIdentifierSchemeIdentifiers()
public BuyerAgentLegalOrganizationCountrySubdivision appendNewBuyerAgentLegalOrganizationCountrySubdivision()
getBuyerAgentLegalOrganizationCountrySubdivisions()
public BuyerAgent appendNewBuyerAgent()
getBuyerAgents()
public BuyerAgentCountrySubdivision appendNewBuyerAgentCountrySubdivision()
getBuyerAgentCountrySubdivisions()
public BuyerAgentVATIdentifier appendNewBuyerAgentVATIdentifier()
getBuyerAgentVATIdentifiers()
public UltimateCustomerOrderReferencedDocument appendNewUltimateCustomerOrderReferencedDocument()
getUltimateCustomerOrderReferencedDocuments()
public DetailedInformationAboutTheDeliveryMethod appendNewDetailedInformationAboutTheDeliveryMethod()
getDetailedInformationAboutTheDeliveryMethods()
public DeliverToIdentifier appendNewDeliverToIdentifier()
getDeliverToIdentifiers()
public DeliverToIdentifierSchemeIdentifier appendNewDeliverToIdentifierSchemeIdentifier()
getDeliverToIdentifierSchemeIdentifiers()
public DeliverTo appendNewDeliverTo()
getDeliverTos()
public DeliverToCountrySubdivision appendNewDeliverToCountrySubdivision()
getDeliverToCountrySubdivisions()
public DetailedInformationOnTaxInformationOfTheGoodRecipient appendNewDetailedInformationOnTaxInformationOfTheGoodRecipient()
getDetailedInformationOnTaxInformationOfTheGoodRecipients()
public UltimateShipToIdentifier appendNewUltimateShipToIdentifier()
getUltimateShipToIdentifiers()
public UltimateShipToIdentifierSchemeIdentifier appendNewUltimateShipToIdentifierSchemeIdentifier()
getUltimateShipToIdentifierSchemeIdentifiers()
public UltimateShipTo appendNewUltimateShipTo()
getUltimateShipTos()
public UltimateShipToCountrySubdivision appendNewUltimateShipToCountrySubdivision()
getUltimateShipToCountrySubdivisions()
public DetailedInformationOnTaxInformationOfTheFinalRecipient appendNewDetailedInformationOnTaxInformationOfTheFinalRecipient()
getDetailedInformationOnTaxInformationOfTheFinalRecipients()
public ShipFromIdentifier appendNewShipFromIdentifier()
getShipFromIdentifiers()
public ShipFromIdentifierSchemeIdentifier appendNewShipFromIdentifierSchemeIdentifier()
getShipFromIdentifierSchemeIdentifiers()
public ShipFrom appendNewShipFrom()
getShipFroms()
public ShipFromCountrySubdivision appendNewShipFromCountrySubdivision()
getShipFromCountrySubdivisions()
public DetailedInformationAboutTheTaxRegistration appendNewDetailedInformationAboutTheTaxRegistration()
getDetailedInformationAboutTheTaxRegistrations()
public DespatchAdviceReference appendNewDespatchAdviceReference()
getDespatchAdviceReferences()
public ReceivingAdviceReference appendNewReceivingAdviceReference()
getReceivingAdviceReferences()
public DetailedInformationAboutTheCorrespondingDeliveryNote appendNewDetailedInformationAboutTheCorrespondingDeliveryNote()
getDetailedInformationAboutTheCorrespondingDeliveryNotes()
public InvoicerIdentifier appendNewInvoicerIdentifier()
getInvoicerIdentifiers()
public InvoicerIdentifierSchemeIdentifier appendNewInvoicerIdentifierSchemeIdentifier()
getInvoicerIdentifierSchemeIdentifiers()
public Invoicer appendNewInvoicer()
getInvoicers()
public InvoicerCountrySubdivision appendNewInvoicerCountrySubdivision()
getInvoicerCountrySubdivisions()
public InvoicerTradeVATID appendNewInvoicerTradeVATID()
getInvoicerTradeVATIDs()
public InvoiceeIdentifier appendNewInvoiceeIdentifier()
getInvoiceeIdentifiers()
public InvoiceeIdentifierSchemeIdentifier appendNewInvoiceeIdentifierSchemeIdentifier()
getInvoiceeIdentifierSchemeIdentifiers()
public Invoicee appendNewInvoicee()
getInvoicees()
public InvoiceeCountrySubdivision appendNewInvoiceeCountrySubdivision()
getInvoiceeCountrySubdivisions()
public InvoiceeTradeVATID appendNewInvoiceeTradeVATID()
getInvoiceeTradeVATIDs()
public PayeeIdentifier appendNewPayeeIdentifier()
getPayeeIdentifiers()
public PayeeIdentifierSchemeIdentifier appendNewPayeeIdentifierSchemeIdentifier()
getPayeeIdentifierSchemeIdentifiers()
public Payee appendNewPayee()
getPayees()
public PayeeCountrySubdivision appendNewPayeeCountrySubdivision()
getPayeeCountrySubdivisions()
public PayeeDetailedInformationAboutTheTaxRegistraction appendNewPayeeDetailedInformationAboutTheTaxRegistraction()
getPayeeDetailedInformationAboutTheTaxRegistractions()
public PayerIdentifier appendNewPayerIdentifier()
getPayerIdentifiers()
public PayerIdentifierSchemeIdentifier appendNewPayerIdentifierSchemeIdentifier()
getPayerIdentifierSchemeIdentifiers()
public Payer appendNewPayer()
getPayers()
public PayerCountrySubdivision appendNewPayerCountrySubdivision()
getPayerCountrySubdivisions()
public PayerDetailedInformationAboutTheTaxRegistraction appendNewPayerDetailedInformationAboutTheTaxRegistraction()
getPayerDetailedInformationAboutTheTaxRegistractions()
public PaymentInstructions appendNewPaymentInstructions()
getPaymentInstructions()
public VATBreakdown appendNewVATBreakdown(Codes.VATCategoryCode vATCategoryCode)
getVATBreakdowns()
vATCategoryCode
- BT-118:VAT category code
Coded identification of a VAT category.
The following entries of UNTDID 5305 [6] are used (further clarification between brackets):- Standard rate (Liable for VAT in a standard way)- Zero rated goods (Liable for VAT with a percentage rate of zero)- Exempt from tax (VAT/IGIC/IPSI)- VAT Reverse Charge (Reverse charge VAT/IGIC/IPSI rules apply)- VAT exempt for intra community supply of goods (VAT/IGIC/IPSI not levied due to Intra-community supply rules)- Free export item, tax not charged (VAT/IGIC/IPSI not levied due to export outside of the EU)- Services outside scope of tax (Sale is not subject to VAT/IGIC/IPSI)- Canary Islands General Indirect Tax (Liable for IGIC tax)- Liable for IPSI (Ceuta/Melilla tax)
The VAT category codes are as follows:S = Standard VAT rateZ = Zero rated goodsE = VAT exemptAE = Reverse chargeK = Intra-Community supply (specific reverse charge)G = Exempt VAT for Export outside EUO = Outside VAT scopeL = Canary IslandsM = Ceuta and Mellila
BR-47: Each VAT breakdown (BG-23) shall be defined through a VAT category code (BT-118).
public DocumentLevelAllowances appendNewDocumentLevelAllowances()
getDocumentLevelAllowances()
public DetailedInformationOnLogisticsServiceFees appendNewDetailedInformationOnLogisticsServiceFees()
getDetailedInformationOnLogisticsServiceFees()
public PaymentTerms appendNewPaymentTerms()
getPaymentTerms()
public InvoiceTotalAmountWithoutVAT appendNewInvoiceTotalAmountWithoutVAT(Codes.Currency currencyCode)
getInvoiceTotalAmountWithoutVATs()
Please note that by default every invoice already has one InvoiceTotalAmountWithoutVAT object}.currencyCode
- EXT:Currency codepublic InvoiceTotalVATAmount appendNewInvoiceTotalVATAmount()
getInvoiceTotalVATAmounts()
Please note that by default every invoice already has one InvoiceTotalVATAmount object for the currency of the invoice getInvoiceCurrencyCode()
.public InvoiceTotalAmountWithVAT appendNewInvoiceTotalAmountWithVAT(Codes.Currency currencyCode)
getInvoiceTotalAmountWithVATs()
Please note that by default every invoice already has one InvoiceTotalAmountWithVAT object}.currencyCode
- EXT:Currency codepublic PrecedingInvoiceReference appendNewPrecedingInvoiceReference()
getPrecedingInvoiceReferences()
public BuyerAccountingReference appendNewBuyerAccountingReference()
getBuyerAccountingReferences()
public AdvancePayment appendNewAdvancePayment()
getAdvancePayments()
public java.util.List<LanguageIdentifier> getLanguageIdentifiers()
appendNewLanguageIdentifier()
public java.util.List<InvoiceNote> getInvoiceNotes()
appendNewInvoiceNote()
public java.util.List<InvoiceLine> getInvoiceLines()
appendNewInvoiceLine(Identifier,String,Codes.UnitOfMeasure,Quantity)
public java.util.List<SellerIdentifier> getSellerIdentifiers()
appendNewSellerIdentifier()
public java.util.List<SellerIdentifierSchemeIdentifier> getSellerIdentifierSchemeIdentifiers()
appendNewSellerIdentifierSchemeIdentifier()
public java.util.List<SellerLegalOrganizationCountrySubdivision> getSellerLegalOrganizationCountrySubdivisions()
appendNewSellerLegalOrganizationCountrySubdivision()
public java.util.List<Seller> getSellers()
appendNewSeller()
public java.util.List<SellerCountrySubdivision> getSellerCountrySubdivisions()
appendNewSellerCountrySubdivision()
public java.util.List<SellerVATIdentifier> getSellerVATIdentifiers()
appendNewSellerVATIdentifier()
public java.util.List<BuyerIdentifier> getBuyerIdentifiers()
appendNewBuyerIdentifier()
public java.util.List<BuyerIdentifierSchemeIdentifier> getBuyerIdentifierSchemeIdentifiers()
appendNewBuyerIdentifierSchemeIdentifier()
public java.util.List<BuyerLegalOrganizationCountrySubdivision> getBuyerLegalOrganizationCountrySubdivisions()
appendNewBuyerLegalOrganizationCountrySubdivision()
public java.util.List<Buyer> getBuyers()
appendNewBuyer()
public java.util.List<BuyerCountrySubdivision> getBuyerCountrySubdivisions()
appendNewBuyerCountrySubdivision()
public java.util.List<BuyerVATIdentifier> getBuyerVATIdentifiers()
appendNewBuyerVATIdentifier()
public java.util.List<SalesAgentIdentifier> getSalesAgentIdentifiers()
appendNewSalesAgentIdentifier()
public java.util.List<SalesAgentIdentifierSchemeIdentifier> getSalesAgentIdentifierSchemeIdentifiers()
appendNewSalesAgentIdentifierSchemeIdentifier()
public java.util.List<SalesAgentLegalOrganizationCountrySubdivision> getSalesAgentLegalOrganizationCountrySubdivisions()
appendNewSalesAgentLegalOrganizationCountrySubdivision()
public java.util.List<SalesAgent> getSalesAgents()
appendNewSalesAgent()
public java.util.List<SalesAgentCountrySubdivision> getSalesAgentCountrySubdivisions()
appendNewSalesAgentCountrySubdivision()
public java.util.List<SalesAgentVATIdentifier> getSalesAgentVATIdentifiers()
appendNewSalesAgentVATIdentifier()
public java.util.List<BuyerTaxRepresentativeIdentifier> getBuyerTaxRepresentativeIdentifiers()
appendNewBuyerTaxRepresentativeIdentifier()
public java.util.List<BuyerTaxRepresentativeIdentifierSchemeIdentifier> getBuyerTaxRepresentativeIdentifierSchemeIdentifiers()
appendNewBuyerTaxRepresentativeIdentifierSchemeIdentifier()
public java.util.List<BuyerTaxRepresentativeLegalOrganizationCountrySubdivision> getBuyerTaxRepresentativeLegalOrganizationCountrySubdivisions()
appendNewBuyerTaxRepresentativeLegalOrganizationCountrySubdivision()
public java.util.List<BuyerTaxRepresentative> getBuyerTaxRepresentatives()
appendNewBuyerTaxRepresentative()
public java.util.List<BuyerTaxRepresentativeCountrySubdivision> getBuyerTaxRepresentativeCountrySubdivisions()
appendNewBuyerTaxRepresentativeCountrySubdivision()
public java.util.List<BuyerTaxRepresentativeVATIdentifier> getBuyerTaxRepresentativeVATIdentifiers()
appendNewBuyerTaxRepresentativeVATIdentifier()
public java.util.List<SellerTaxRepresentativeIdentifier> getSellerTaxRepresentativeIdentifiers()
appendNewSellerTaxRepresentativeIdentifier()
public java.util.List<SellerTaxRepresentativeIdentifierSchemeIdentifier> getSellerTaxRepresentativeIdentifierSchemeIdentifiers()
appendNewSellerTaxRepresentativeIdentifierSchemeIdentifier()
public java.util.List<SellerTaxRepresentativeLegalOrganizationCountrySubdivision> getSellerTaxRepresentativeLegalOrganizationCountrySubdivisions()
appendNewSellerTaxRepresentativeLegalOrganizationCountrySubdivision()
public java.util.List<SellerTaxRepresentative> getSellerTaxRepresentatives()
appendNewSellerTaxRepresentative()
public java.util.List<SellerTaxRepresentativeCountrySubdivision> getSellerTaxRepresentativeCountrySubdivisions()
appendNewSellerTaxRepresentativeCountrySubdivision()
public java.util.List<SellerTaxRepresentativeVATIdentifier> getSellerTaxRepresentativeVATIdentifiers()
appendNewSellerTaxRepresentativeVATIdentifier()
public java.util.List<ProductEndUserIdentifier> getProductEndUserIdentifiers()
appendNewProductEndUserIdentifier()
public java.util.List<ProductEndUserIdentifierSchemeIdentifier> getProductEndUserIdentifierSchemeIdentifiers()
appendNewProductEndUserIdentifierSchemeIdentifier()
public java.util.List<ProductEndUser> getProductEndUsers()
appendNewProductEndUser()
public java.util.List<ProductEndUserCountrySubdivision> getProductEndUserCountrySubdivisions()
appendNewProductEndUserCountrySubdivision()
public java.util.List<DetailedInformationAboutTheTaxNumberOfTheDeviatingEndUser> getDetailedInformationAboutTheTaxNumberOfTheDeviatingEndUsers()
appendNewDetailedInformationAboutTheTaxNumberOfTheDeviatingEndUser()
public java.util.List<SalesOrderReference> getSalesOrderReferences()
appendNewSalesOrderReference()
public java.util.List<PurchaseOrderReference> getPurchaseOrderReferences()
appendNewPurchaseOrderReference()
public java.util.List<QuotationReferencedDocument> getQuotationReferencedDocuments()
appendNewQuotationReferencedDocument()
public java.util.List<ContractReference> getContractReferences()
appendNewContractReference()
public java.util.List<AdditionalSupportingDocuments> getAdditionalSupportingDocuments()
appendNewAdditionalSupportingDocuments()
public java.util.List<BuyerAgentIdentifier> getBuyerAgentIdentifiers()
appendNewBuyerAgentIdentifier()
public java.util.List<BuyerAgentIdentifierSchemeIdentifier> getBuyerAgentIdentifierSchemeIdentifiers()
appendNewBuyerAgentIdentifierSchemeIdentifier()
public java.util.List<BuyerAgentLegalOrganizationCountrySubdivision> getBuyerAgentLegalOrganizationCountrySubdivisions()
appendNewBuyerAgentLegalOrganizationCountrySubdivision()
public java.util.List<BuyerAgent> getBuyerAgents()
appendNewBuyerAgent()
public java.util.List<BuyerAgentCountrySubdivision> getBuyerAgentCountrySubdivisions()
appendNewBuyerAgentCountrySubdivision()
public java.util.List<BuyerAgentVATIdentifier> getBuyerAgentVATIdentifiers()
appendNewBuyerAgentVATIdentifier()
public java.util.List<UltimateCustomerOrderReferencedDocument> getUltimateCustomerOrderReferencedDocuments()
appendNewUltimateCustomerOrderReferencedDocument()
public java.util.List<DetailedInformationAboutTheDeliveryMethod> getDetailedInformationAboutTheDeliveryMethods()
appendNewDetailedInformationAboutTheDeliveryMethod()
public java.util.List<DeliverToIdentifier> getDeliverToIdentifiers()
appendNewDeliverToIdentifier()
public java.util.List<DeliverToIdentifierSchemeIdentifier> getDeliverToIdentifierSchemeIdentifiers()
appendNewDeliverToIdentifierSchemeIdentifier()
public java.util.List<DeliverTo> getDeliverTos()
appendNewDeliverTo()
public java.util.List<DeliverToCountrySubdivision> getDeliverToCountrySubdivisions()
appendNewDeliverToCountrySubdivision()
public java.util.List<DetailedInformationOnTaxInformationOfTheGoodRecipient> getDetailedInformationOnTaxInformationOfTheGoodRecipients()
appendNewDetailedInformationOnTaxInformationOfTheGoodRecipient()
public java.util.List<UltimateShipToIdentifier> getUltimateShipToIdentifiers()
appendNewUltimateShipToIdentifier()
public java.util.List<UltimateShipToIdentifierSchemeIdentifier> getUltimateShipToIdentifierSchemeIdentifiers()
appendNewUltimateShipToIdentifierSchemeIdentifier()
public java.util.List<UltimateShipTo> getUltimateShipTos()
appendNewUltimateShipTo()
public java.util.List<UltimateShipToCountrySubdivision> getUltimateShipToCountrySubdivisions()
appendNewUltimateShipToCountrySubdivision()
public java.util.List<DetailedInformationOnTaxInformationOfTheFinalRecipient> getDetailedInformationOnTaxInformationOfTheFinalRecipients()
appendNewDetailedInformationOnTaxInformationOfTheFinalRecipient()
public java.util.List<ShipFromIdentifier> getShipFromIdentifiers()
appendNewShipFromIdentifier()
public java.util.List<ShipFromIdentifierSchemeIdentifier> getShipFromIdentifierSchemeIdentifiers()
appendNewShipFromIdentifierSchemeIdentifier()
public java.util.List<ShipFrom> getShipFroms()
appendNewShipFrom()
public java.util.List<ShipFromCountrySubdivision> getShipFromCountrySubdivisions()
appendNewShipFromCountrySubdivision()
public java.util.List<DetailedInformationAboutTheTaxRegistration> getDetailedInformationAboutTheTaxRegistrations()
appendNewDetailedInformationAboutTheTaxRegistration()
public java.util.List<DespatchAdviceReference> getDespatchAdviceReferences()
appendNewDespatchAdviceReference()
public java.util.List<ReceivingAdviceReference> getReceivingAdviceReferences()
appendNewReceivingAdviceReference()
public java.util.List<DetailedInformationAboutTheCorrespondingDeliveryNote> getDetailedInformationAboutTheCorrespondingDeliveryNotes()
appendNewDetailedInformationAboutTheCorrespondingDeliveryNote()
public java.util.List<InvoicerIdentifier> getInvoicerIdentifiers()
appendNewInvoicerIdentifier()
public java.util.List<InvoicerIdentifierSchemeIdentifier> getInvoicerIdentifierSchemeIdentifiers()
appendNewInvoicerIdentifierSchemeIdentifier()
public java.util.List<Invoicer> getInvoicers()
appendNewInvoicer()
public java.util.List<InvoicerCountrySubdivision> getInvoicerCountrySubdivisions()
appendNewInvoicerCountrySubdivision()
public java.util.List<InvoicerTradeVATID> getInvoicerTradeVATIDs()
appendNewInvoicerTradeVATID()
public java.util.List<InvoiceeIdentifier> getInvoiceeIdentifiers()
appendNewInvoiceeIdentifier()
public java.util.List<InvoiceeIdentifierSchemeIdentifier> getInvoiceeIdentifierSchemeIdentifiers()
appendNewInvoiceeIdentifierSchemeIdentifier()
public java.util.List<Invoicee> getInvoicees()
appendNewInvoicee()
public java.util.List<InvoiceeCountrySubdivision> getInvoiceeCountrySubdivisions()
appendNewInvoiceeCountrySubdivision()
public java.util.List<InvoiceeTradeVATID> getInvoiceeTradeVATIDs()
appendNewInvoiceeTradeVATID()
public java.util.List<PayeeIdentifier> getPayeeIdentifiers()
appendNewPayeeIdentifier()
public java.util.List<PayeeIdentifierSchemeIdentifier> getPayeeIdentifierSchemeIdentifiers()
appendNewPayeeIdentifierSchemeIdentifier()
public java.util.List<Payee> getPayees()
appendNewPayee()
public java.util.List<PayeeCountrySubdivision> getPayeeCountrySubdivisions()
appendNewPayeeCountrySubdivision()
public java.util.List<PayeeDetailedInformationAboutTheTaxRegistraction> getPayeeDetailedInformationAboutTheTaxRegistractions()
appendNewPayeeDetailedInformationAboutTheTaxRegistraction()
public java.util.List<PayerIdentifier> getPayerIdentifiers()
appendNewPayerIdentifier()
public java.util.List<PayerIdentifierSchemeIdentifier> getPayerIdentifierSchemeIdentifiers()
appendNewPayerIdentifierSchemeIdentifier()
public java.util.List<Payer> getPayers()
appendNewPayer()
public java.util.List<PayerCountrySubdivision> getPayerCountrySubdivisions()
appendNewPayerCountrySubdivision()
public java.util.List<PayerDetailedInformationAboutTheTaxRegistraction> getPayerDetailedInformationAboutTheTaxRegistractions()
appendNewPayerDetailedInformationAboutTheTaxRegistraction()
public java.util.List<PaymentInstructions> getPaymentInstructions()
appendNewPaymentInstructions()
public java.util.List<VATBreakdown> getVATBreakdowns()
appendNewVATBreakdown(Codes.VATCategoryCode)
public java.util.List<DocumentLevelAllowances> getDocumentLevelAllowances()
appendNewDocumentLevelAllowances()
public java.util.List<DetailedInformationOnLogisticsServiceFees> getDetailedInformationOnLogisticsServiceFees()
appendNewDetailedInformationOnLogisticsServiceFees()
public java.util.List<PaymentTerms> getPaymentTerms()
appendNewPaymentTerms()
public java.util.List<InvoiceTotalAmountWithoutVAT> getInvoiceTotalAmountWithoutVATs()
appendNewInvoiceTotalAmountWithoutVAT(Codes.Currency)
public java.util.List<InvoiceTotalVATAmount> getInvoiceTotalVATAmounts()
appendNewInvoiceTotalVATAmount()
public java.util.List<InvoiceTotalAmountWithVAT> getInvoiceTotalAmountWithVATs()
appendNewInvoiceTotalAmountWithVAT(Codes.Currency)
public java.util.List<PrecedingInvoiceReference> getPrecedingInvoiceReferences()
appendNewPrecedingInvoiceReference()
public java.util.List<BuyerAccountingReference> getBuyerAccountingReferences()
appendNewBuyerAccountingReference()
public java.util.List<AdvancePayment> getAdvancePayments()
appendNewAdvancePayment()
public Invoice setTestIndicator(java.lang.Boolean value)
value
- EXT:Indicator
Indicates if the invoice document is a test one
To be used only in case of a test invoice, with value = true
XPath:/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext/ram:TestIndicator/udt:Indicator
public Invoice setBusinessProcessType(java.lang.String value)
value
- BT-23:Business process type
Identifies the business process context in which the transaction appears, to enable the Buyer to process the Invoice in an appropriate way.
To be specified by the Buyer.
CHORUSPRO: this data makes it possible to inform the "cadre de facturation" (billing framework, which could be invoice from agent, co-contractor, subcontractor, invoicing part of a public works contract, etc.). The codes to be used are defined in the CHORUSPRO specifications: A1 (invoice deposit), A2 (prepaid invoice deposit), ... By default (in the absence of this field), the case A1 is applied.
XPath:/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext/ram:BusinessProcessSpecifiedDocumentContextParameter/ram:ID
public Invoice setInvoiceNumber(Identifier value)
value
- BT-1:Invoice number
A unique identification of the Invoice.
The sequential number required in Article 226(2) of the directive 2006/112/EC [2], to uniquely identify the Invoice within the business context, time-frame, operating systems and records of the Seller. It may be based on one or more series of numbers, which may include alphanumeric characters. No identification scheme is to be used.
CHORUSPRO: the invoice number is limited to 20 characters
BR-2: An Invoice shall have an Invoice number (BT-1).
XPath:/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:ID
public Invoice setName(java.lang.String value)
value
- EXT:Document name (free text)
XPath:/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:Name
public Invoice setInvoiceTypeCode(Codes.InvoiceTypeCode value)
value
- BT-3:Invoice type code
A code specifying the functional type of the Invoice.
Commercial invoices and credit notes are defined according the entries in UNTDID 1001 [6].Other entries of UNTDID 1001 [6] with specific invoices or credit notes may be used if applicable.
The types of documents used are:380: Commercial Invoice381: Credit note384: Corrected invoice389: Self-billied invoice (created by the buyer on behalf of the supplier)261: Self billed credit note (not accepted by CHORUSPRO)386: Prepayment invoice751: Invoice information for accounting purposes (not accepted by CHORUSPRO)
BR-4: An Invoice shall have an Invoice type code (BT-3).
XPath:/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:TypeCode
public Invoice setInvoiceIssueDate(java.time.LocalDate value)
value
- BT-2:Invoice issue date
The date when the Invoice was issued.
CHORUSPRO: the issue date must be before or equal to the deposit date.
BR-3: An Invoice shall have an Invoice issue date (BT-2).
XPath:/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:IssueDateTime/udt:DateTimeString
public Invoice setCopyIndicator(java.lang.Boolean value)
value
- EXT:
XPath:/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:CopyIndicator/udt:Indicator
public Invoice setCompleteDateTime(java.lang.String value)
value
- EXT:Contractual due date of the invoice, Value
XPath:/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:EffectiveSpecifiedPeriod/ram:CompleteDateTime/udt:DateTimeString
public Invoice setBuyerReference(java.lang.String value)
value
- BT-10:Buyer reference
An identifier assigned by the Buyer used for internal routing purposes.
The identifier is defined by the Buyer (e.g. contact ID, department, office id, project code), but provided by the Seller in the Invoice.
CHORUS PRO: for the public sector, it is the "Service Exécutant". It is mandatory for some buyers. It must belong to the Chorus Pro repository. It is limited to 100 characters.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerReference
public Invoice setSellerName(java.lang.String value)
value
- BT-27:Seller name
The full formal name by which the Seller is registered in the national registry of legal entities or as a Taxable person or otherwise trades as a person or persons.
BR-6: An Invoice shall contain the Seller name (BT-27).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:Name
public Invoice setSellerAdditionalLegalInformation(java.lang.String value)
value
- BT-33:Seller additional legal information
Additional legal information relevant for the Seller.
Such as share capital.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:Description
public Invoice setSellerLegalOrganizationSchemeIdentiferAttribute(Codes.SchemeIdentifier value)
value
- BT-30-1:Seller legal registration identifier identification scheme identifier
The identification scheme identifier of the Seller legal registration identifier.
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization/ram:ID/@schemeID
public Invoice setSellerLegalOrganizationIdentifer(Identifier value)
value
- BT-30:Seller legal registration identifier
An identifier issued by an official registrar that identifies the Seller as a legal entity or person.
If no identification scheme is specified, it should be known by Buyer and Seller.
BR-CO-26: In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization/ram:ID
public Invoice setSellerLegalOrganizationTradingName(java.lang.String value)
value
- BT-28:Seller trading name
A name by which the Seller is known, other than Seller name (also known as Business name).
This may be used if different from the Seller name.
CHORUS PRO: this field is limied to 99 characters.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName
public Invoice setSellerLegalOrganizationPostCode(java.lang.String value)
value
- EXT:Postcode Code
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setSellerLegalOrganizationAddressLine1(java.lang.String value)
value
- EXT:Line One
The main address line in an address.
Usually the street name and number or post office box.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineOne
public Invoice setSellerLegalOrganizationAddressLine2(java.lang.String value)
value
- EXT:Line Two
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineTwo
public Invoice setSellerLegalOrganizationAddressLine3(java.lang.String value)
value
- EXT:Line Three
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineThree
public Invoice setSellerLegalOrganizationCity(java.lang.String value)
value
- EXT:City Name
The common name of the city, town or village, where the Seller address is located.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CityName
public Invoice setSellerLegalOrganizationCountryCode(Codes.CountryCodeList value)
value
- EXT:Country ID
A code that identifies the country.
If no tax representative is specified, this is the country where VAT is liable. The lists of valid countries are registered with the EN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CountryID
public Invoice setSellerPostCode(java.lang.String value)
value
- BT-38:Seller post code
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setSellerAddressLine1(java.lang.String value)
value
- BT-35:Seller address line 1
The main address line in an address.
Usually the street name and number or post office box.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:LineOne
public Invoice setSellerAddressLine2(java.lang.String value)
value
- BT-36:Seller address line 2
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:LineTwo
public Invoice setSellerAddressLine3(java.lang.String value)
value
- BT-162:Seller address line 3
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:LineThree
public Invoice setSellerCity(java.lang.String value)
value
- BT-37:Seller city
The common name of the city, town or village, where the Seller address is located.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:CityName
public Invoice setSellerCountryCode(Codes.CountryCodeList value)
value
- BT-40:Seller country code
A code that identifies the country.
If no tax representative is specified, this is the country where VAT is liable. The lists of valid countries are registered with the EN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
BR-9: The Seller postal address (BG-5) shall contain a Seller country code (BT-40).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:CountryID
public Invoice setSellerElectronicAddressScheme(Codes.ElectronicAddressScheme value)
value
- BT-34-1:Seller electronic address identification scheme identifier
The identification scheme identifier of the Seller electronic address
The scheme identifier shall be chosen from a list to be maintained by the Connecting Europe Facility.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID
public Invoice setSellerElectronicAddress(Identifier value)
value
- BT-34:Seller electronic address
Identifies the Seller's electronic address to which the application level response to the invoice may be delivered.The identification scheme identifier of the Seller electronic address.
The scheme identifier shall be chosen from a list to be maintained by the Connecting Europe Facility.
BR-62: The Seller electronic address (BT-34) shall have a Scheme identifier.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:URIUniversalCommunication/ram:URIID
public Invoice setBuyerName(java.lang.String value)
value
- BT-44:Buyer name
The full name of the Buyer.
CHORUS PRO: this field is limied to 99 characters.
BR-7: An Invoice shall contain the Buyer name (BT-44).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:Name
public Invoice setBuyerLegalOrganizationSchemeIdentiferAttribute(Codes.SchemeIdentifier value)
value
- BT-47-1:scheme identifier attribute
Scheme identifier for Buyer legal identifier
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:ID/@schemeID
public Invoice setBuyerLegalOrganizationIdentifer(Identifier value)
value
- BT-47:Buyer legal registration identifier
An identifier issued by an official registrar that identifies the Buyer as a legal entity or person.The identification scheme identifier of the Buyer legal registration identifier.
If no identification scheme is specified, it should be known by Buyer and Seller, e.g. the identifier that is exclusively used in the applicable legal environment.If used, the identification scheme shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
CHORUSPRO: the identifier of the buyer (public entity) is mandatory and is always a SIRET number
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:ID
public Invoice setBuyerLegalOrganizationTradingName(java.lang.String value)
value
- BT-45:Buyer trading name
A name by which the Buyer is known, other than Buyer name (also known as Business name).
This may be used if different from the Buyer name.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName
public Invoice setBuyerLegalOrganizationPostCode(java.lang.String value)
value
- EXT:Postcode Code
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setBuyerLegalOrganizationAddressLine1(java.lang.String value)
value
- EXT:Line One
The main address line in an address.
Usually the street name and number or post office box.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineOne
public Invoice setBuyerLegalOrganizationAddressLine2(java.lang.String value)
value
- EXT:Line Two
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineTwo
public Invoice setBuyerLegalOrganizationAddressLine3(java.lang.String value)
value
- EXT:Line Three
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineThree
public Invoice setBuyerLegalOrganizationCity(java.lang.String value)
value
- EXT:City Name
The common name of the city, town or village, where the Buyer's address is located.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CityName
public Invoice setBuyerLegalOrganizationCountryCode(Codes.CountryCodeList value)
value
- EXT:Country ID
A code that identifies the country.
The lists of valid countries are registered with the EN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CountryID
public Invoice setBuyerPostCode(java.lang.String value)
value
- BT-53:Buyer post code
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setBuyerAddressLine1(java.lang.String value)
value
- BT-50:Buyer address line 1
The main address line in an address.
Usually the street name and number or post office box.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress/ram:LineOne
public Invoice setBuyerAddressLine2(java.lang.String value)
value
- BT-51:Buyer address line 2
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress/ram:LineTwo
public Invoice setBuyerAddressLine3(java.lang.String value)
value
- BT-163:Buyer address line 3
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress/ram:LineThree
public Invoice setBuyerCity(java.lang.String value)
value
- BT-52:Buyer city
The common name of the city, town or village, where the Buyer's address is located.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress/ram:CityName
public Invoice setBuyerCountryCode(Codes.CountryCodeList value)
value
- BT-55:Buyer country code
A code that identifies the country.
The lists of valid countries are registered with the EN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
BR-11: The Buyer postal address shall contain a Buyer country code (BT-55).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress/ram:CountryID
public Invoice setBuyerElectronicAddressScheme(Codes.ElectronicAddressScheme value)
value
- BT-49-1:scheme identifier attribute
Scheme identifier for Buyer electronic address
The scheme identifier shall be chosen from a list to be maintained by the Connecting Europe Facility.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID
public Invoice setBuyerElectronicAddress(Identifier value)
value
- BT-49:Buyer electronic address
Identifies the Buyer's electronic address to which the invoice is delivered.
The scheme identifier shall be chosen from a list to be maintained by the Connecting Europe Facility.
BR-63: The Buyer electronic address (BT-49) shall have a Scheme identifier.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:URIUniversalCommunication/ram:URIID
public Invoice setSalesAgentName(java.lang.String value)
value
- EXT:Sales Agent name
The full name of the Sales Agent
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:Name
public Invoice setRoleCode(java.lang.String value)
value
- EXT:
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:RoleCode
public Invoice setSalesAgentLegalOrganizationSchemeIdentiferAttribute(java.lang.String value)
value
- EXT:schemeID
Scheme identifier for Sales Agentlegal identifier
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:SpecifiedLegalOrganization/ram:ID/@schemeID
public Invoice setSalesAgentLegalOrganizationIdentifer(java.lang.String value)
value
- EXT:ID
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:SpecifiedLegalOrganization/ram:ID
public Invoice setSalesAgentLegalOrganizationTradingName(java.lang.String value)
value
- EXT:TradingBusinessName
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName
public Invoice setSalesAgentLegalOrganizationPostCode(java.lang.String value)
value
- EXT:Post code
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setSalesAgentLegalOrganizationAddressLine1(java.lang.String value)
value
- EXT:Address Line 1
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineOne
public Invoice setSalesAgentLegalOrganizationAddressLine2(java.lang.String value)
value
- EXT:Address Line 2
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineTwo
public Invoice setSalesAgentLegalOrganizationAddressLine3(java.lang.String value)
value
- EXT:Address Line 3
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineThree
public Invoice setSalesAgentLegalOrganizationCity(java.lang.String value)
value
- EXT:City
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CityName
public Invoice setSalesAgentLegalOrganizationCountryCode(Codes.CountryCodeList value)
value
- EXT:Country Code
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CountryID
public Invoice setSalesAgentPostCode(java.lang.String value)
value
- EXT:Sales Agent post code
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setSalesAgentAddressLine1(java.lang.String value)
value
- EXT:Sales Agent address line 1
The main address line in an address.
Usually the street name and number or the post office box.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:PostalTradeAddress/ram:LineOne
public Invoice setSalesAgentAddressLine2(java.lang.String value)
value
- EXT:Sales Agent address line 2
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:PostalTradeAddress/ram:LineTwo
public Invoice setSalesAgentAddressLine3(java.lang.String value)
value
- EXT:Sales Agent address line 3
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:PostalTradeAddress/ram:LineThree
public Invoice setSalesAgentCity(java.lang.String value)
value
- EXT:Sales Agent city
The common name of the city, town or village, where the tax representative address is located.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:PostalTradeAddress/ram:CityName
public Invoice setSalesAgentCountryCode(Codes.CountryCodeList value)
value
- EXT:Sales Agent country code
A code that identifies the country.
Country where VAT is liable. The lists of valid countries are registered with theEN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:PostalTradeAddress/ram:CountryID
public Invoice setSalesAgentElectronicAddressScheme(Codes.SchemeIdentifierAttribute value)
value
- EXT:schemeID
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID
public Invoice setSalesAgentElectronicAddress(java.lang.String value)
value
- EXT:Sales Agent Electronic Address
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SalesAgentTradeParty/ram:URIUniversalCommunication/ram:URIID
public Invoice setBuyerTaxRepresentativeName(java.lang.String value)
value
- EXT:BUYER tax representative name
The full name of the BUYER's tax representative party.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:Name
public Invoice setBuyerTaxRepresentativeRoleCode(java.lang.String value)
value
- EXT:
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:RoleCode
public Invoice setBuyerTaxRepresentativeLegalOrganizationSchemeIdentiferAttribute(java.lang.String value)
value
- EXT:
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:ID/@schemeID
public Invoice setBuyerTaxRepresentativeLegalOrganizationIdentifer(java.lang.String value)
value
- EXT:
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:ID
public Invoice setBuyerTaxRepresentativeLegalOrganizationTradingName(java.lang.String value)
value
- EXT:
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName
public Invoice setBuyerTaxRepresentativeLegalOrganizationPostCode(java.lang.String value)
value
- EXT:Post code
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setBuyerTaxRepresentativeLegalOrganizationAddressLine1(java.lang.String value)
value
- EXT:Address Line 1
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineOne
public Invoice setBuyerTaxRepresentativeLegalOrganizationAddressLine2(java.lang.String value)
value
- EXT:Address Line 2
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineTwo
public Invoice setBuyerTaxRepresentativeLegalOrganizationAddressLine3(java.lang.String value)
value
- EXT:Address Line 3
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineThree
public Invoice setBuyerTaxRepresentativeLegalOrganizationCity(java.lang.String value)
value
- EXT:City
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CityName
public Invoice setBuyerTaxRepresentativeLegalOrganizationCountryCode(Codes.CountryCodeList value)
value
- EXT:Country Code
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CountryID
public Invoice setBuyerTaxRepresentativePostCode(java.lang.String value)
value
- EXT:Tax representative post code
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setBuyerTaxRepresentativeAddressLine1(java.lang.String value)
value
- EXT:Tax representative address line 1
The main address line in an address.
Usually the street name and number or the post office box.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:LineOne
public Invoice setBuyerTaxRepresentativeAddressLine2(java.lang.String value)
value
- EXT:Tax representative address line 2
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:LineTwo
public Invoice setBuyerTaxRepresentativeAddressLine3(java.lang.String value)
value
- EXT:Tax representative address line 3
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:LineThree
public Invoice setBuyerTaxRepresentativeCity(java.lang.String value)
value
- EXT:Tax representative city
The common name of the city, town or village, where the tax representative address is located.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:CityName
public Invoice setBuyerTaxRepresentativeCountryCode(Codes.CountryCodeList value)
value
- EXT:Tax representative country code
A code that identifies the country.
Country where VAT is liable. The lists of valid countries are registered with theEN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
BR-20: The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:CountryID
public Invoice setBuyerTaxRepresentativeElectronicAddressScheme(Codes.SchemeIdentifierAttribute value)
value
- EXT:Electronic Address Type
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID
public Invoice setBuyerTaxRepresentativeElectronicAddress(java.lang.String value)
value
- EXT:Electronic address
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTaxRepresentativeTradeParty/ram:URIUniversalCommunication/ram:URIID
public Invoice setSellerTaxRepresentativeName(java.lang.String value)
value
- BT-62:Seller tax representative name
The full name of the Seller's tax representative party.
BR-18: The Seller tax representative name (BT-62) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:Name
public Invoice setSellerTaxRepresentativeLegalOrganizationSchemeIdentiferAttribute(java.lang.String value)
value
- EXT:Scheme identifier attribute
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:ID/@schemeID
public Invoice setSellerTaxRepresentativeLegalOrganizationIdentifer(java.lang.String value)
value
- EXT:
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:ID
public Invoice setSellerTaxRepresentativeLegalOrganizationTradingName(java.lang.String value)
value
- EXT:
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName
public Invoice setSellerTaxRepresentativeLegalOrganizationPostCode(java.lang.String value)
value
- EXT:Post code
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setSellerTaxRepresentativeLegalOrganizationAddressLine1(java.lang.String value)
value
- EXT:Address Line 1
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineOne
public Invoice setSellerTaxRepresentativeLegalOrganizationAddressLine2(java.lang.String value)
value
- EXT:Address Line 2
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineTwo
public Invoice setSellerTaxRepresentativeLegalOrganizationAddressLine3(java.lang.String value)
value
- EXT:Address Line 3
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineThree
public Invoice setSellerTaxRepresentativeLegalOrganizationCity(java.lang.String value)
value
- EXT:City
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CityName
public Invoice setSellerTaxRepresentativeLegalOrganizationCountryCode(Codes.CountryCodeList value)
value
- EXT:Country Code
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CountryID
public Invoice setSellerTaxRepresentativePostCode(java.lang.String value)
value
- BT-67:Tax representative post code
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setSellerTaxRepresentativeAddressLine1(java.lang.String value)
value
- BT-64:Tax representative address line 1
The main address line in an address.
Usually the street name and number or the post office box.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:LineOne
public Invoice setSellerTaxRepresentativeAddressLine2(java.lang.String value)
value
- BT-65:Tax representative address line 2
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:LineTwo
public Invoice setSellerTaxRepresentativeAddressLine3(java.lang.String value)
value
- BT-164:Tax representative address line 3
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:LineThree
public Invoice setSellerTaxRepresentativeCity(java.lang.String value)
value
- BT-66:Tax representative city
The common name of the city, town or village, where the tax representative address is located.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:CityName
public Invoice setSellerTaxRepresentativeCountryCode(Codes.CountryCodeList value)
value
- BT-69:Tax representative country code
A code that identifies the country.
Country where VAT is liable. The lists of valid countries are registered with theEN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
BR-20: The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:CountryID
public Invoice setSellerTaxRepresentativeElectronicAddressScheme(Codes.SchemeIdentifierAttribute value)
value
- EXT:Electronic Address Type Scheme identifier attribute
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID
public Invoice setSellerTaxRepresentativeElectronicAddress(java.lang.String value)
value
- EXT:Electronic address
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:URIUniversalCommunication/ram:URIID
public Invoice setProductEndUserName(java.lang.String value)
value
- EXT:Deviating end user identifier Name / Company Name
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:Name
public Invoice setProductEndUserLegalOrganizationSchemeIdentiferAttribute(java.lang.String value)
value
- EXT:Scheme identifier attribute
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:SpecifiedLegalOrganization/ram:ID/@schemeID
public Invoice setProductEndUserLegalOrganizationIdentifer(java.lang.String value)
value
- EXT:Company Registration Number
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:SpecifiedLegalOrganization/ram:ID
public Invoice setProductEndUserLegalOrganizationTradingName(java.lang.String value)
value
- EXT:Trading Business Name
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName
public Invoice setProductEndUserPostCode(java.lang.String value)
value
- EXT:Post Code
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setProductEndUserAddressLine1(java.lang.String value)
value
- EXT:Address Line 1
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:PostalTradeAddress/ram:LineOne
public Invoice setProductEndUserAddressLine2(java.lang.String value)
value
- EXT:Address Line 2
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:PostalTradeAddress/ram:LineTwo
public Invoice setProductEndUserAddressLine3(java.lang.String value)
value
- EXT:Address Line 3
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:PostalTradeAddress/ram:LineThree
public Invoice setProductEndUserCity(java.lang.String value)
value
- EXT:City
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:PostalTradeAddress/ram:CityName
public Invoice setProductEndUserCountryCode(Codes.CountryCodeList value)
value
- EXT:Country Code
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:PostalTradeAddress/ram:CountryID
public Invoice setProductEndUserElectronicAddressScheme(Codes.SchemeIdentifierAttribute value)
value
- EXT:Electronic Address Type Scheme identifier attribute
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID
public Invoice setProductEndUserElectronicAddress(java.lang.String value)
value
- EXT:Electronic address
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:URIUniversalCommunication/ram:URIID
public Invoice setDeliveryTypeCode(java.lang.String value)
value
- EXT:Delivery condition (Code)
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ApplicableTradeDeliveryTerms/ram:DeliveryTypeCode
public Invoice setBuyerAgentRoleCode(java.lang.String value)
value
- EXT:
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:RoleCode
public Invoice setBuyerAgentLegalOrganizationSchemeIdentiferAttribute(java.lang.String value)
value
- EXT:schemeID
Scheme identifier for BUYER Agentlegal identifier
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:SpecifiedLegalOrganization/ram:ID/@schemeID
public Invoice setBuyerAgentLegalOrganizationIdentifer(java.lang.String value)
value
- EXT:ID
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:SpecifiedLegalOrganization/ram:ID
public Invoice setBuyerAgentLegalOrganizationTradingName(java.lang.String value)
value
- EXT:TradingBusinessName
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName
public Invoice setBuyerAgentLegalOrganizationPostCode(java.lang.String value)
value
- EXT:Post code
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setBuyerAgentLegalOrganizationAddressLine1(java.lang.String value)
value
- EXT:Address Line 1
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineOne
public Invoice setBuyerAgentLegalOrganizationAddressLine2(java.lang.String value)
value
- EXT:Address Line 2
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineTwo
public Invoice setBuyerAgentLegalOrganizationAddressLine3(java.lang.String value)
value
- EXT:Address Line 3
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:LineThree
public Invoice setBuyerAgentLegalOrganizationCity(java.lang.String value)
value
- EXT:City
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CityName
public Invoice setBuyerAgentLegalOrganizationCountryCode(Codes.CountryCodeList value)
value
- EXT:Country Code
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:SpecifiedLegalOrganization/ram:PostalTradeAddress/ram:CountryID
public Invoice setBuyerAgentPostCode(java.lang.String value)
value
- EXT:Buyer Agent post code
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setBuyerAgentAddressLine1(java.lang.String value)
value
- EXT:Buyer Agent address line 1
The main address line in an address.
Usually the street name and number or the post office box.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:PostalTradeAddress/ram:LineOne
public Invoice setBuyerAgentAddressLine2(java.lang.String value)
value
- EXT:Buyer Agent address line 2
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:PostalTradeAddress/ram:LineTwo
public Invoice setBuyerAgentAddressLine3(java.lang.String value)
value
- EXT:Buyer Agent address line 3
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:PostalTradeAddress/ram:LineThree
public Invoice setBuyerAgentCity(java.lang.String value)
value
- EXT:Buyer Agent city
The common name of the city, town or village, where the tax representative address is located.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:PostalTradeAddress/ram:CityName
public Invoice setBuyerAgentCountryCode(Codes.CountryCodeList value)
value
- EXT:Buyer Agent country code
A code that identifies the country.
Country where VAT is liable. The lists of valid countries are registered with theEN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:PostalTradeAddress/ram:CountryID
public Invoice setBuyerAgentElectronicAddressScheme(Codes.SchemeIdentifierAttribute value)
value
- EXT:schemeID
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID
public Invoice setBuyerAgentElectronicAddress(java.lang.String value)
value
- EXT:Buyer Agent Electronic Address
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerAgentTradeParty/ram:URIUniversalCommunication/ram:URIID
public Invoice setProjectReference(DocumentReference value)
value
- BT-11:Project reference
The identification of the project the invoice refers to
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SpecifiedProcuringProject/ram:ID
public Invoice setProjectName(java.lang.String value)
value
- BT-11-0:Project name
Value : "Project Reference"
Use "Project reference" as default value for Name.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SpecifiedProcuringProject/ram:Name
public Invoice setDeliverToName(java.lang.String value)
value
- BT-70:Deliver to party name
The name of the party to which the goods and services are delivered.
Shall be used if the Deliver to party is different from the Buyer.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:Name
public Invoice setDeliverToLegalOrganizationSchemeIdentiferAttribute(java.lang.String value)
value
- EXT:Scheme identifier attribute
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:SpecifiedLegalOrganization/ram:ID/@schemeID
public Invoice setDeliverToLegalOrganizationIdentifer(java.lang.String value)
value
- EXT:Company Registration Number
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:SpecifiedLegalOrganization/ram:ID
public Invoice setDeliverToLegalOrganizationTradingName(java.lang.String value)
value
- EXT:Trading Business Name
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName
public Invoice setDeliverToPostCode(java.lang.String value)
value
- BT-78:Deliver to post code
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setDeliverToAddressLine1(java.lang.String value)
value
- BT-75:Deliver to address line 1
The main address line in an address.
Usually the street name and number.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:PostalTradeAddress/ram:LineOne
public Invoice setDeliverToAddressLine2(java.lang.String value)
value
- BT-76:Deliver to address line 2
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:PostalTradeAddress/ram:LineTwo
public Invoice setDeliverToAddressLine3(java.lang.String value)
value
- BT-165:Deliver to address line 3
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:PostalTradeAddress/ram:LineThree
public Invoice setDeliverToCity(java.lang.String value)
value
- BT-77:Deliver to city
The common name of the city, town or village, where the deliver to address is located.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:PostalTradeAddress/ram:CityName
public Invoice setDeliverToCountryCode(Codes.CountryCodeList value)
value
- BT-80:Deliver to country code
A code that identifies the country.
The lists of valid countries are registered with the EN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
BR-57: Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:PostalTradeAddress/ram:CountryID
public Invoice setDeliverToElectronicAddressScheme(Codes.ElectronicAddressScheme value)
value
- EXT:Electronic Address Type Electronic Address Type
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID
public Invoice setDeliverToElectronicAddress(java.lang.String value)
value
- EXT:Electronic address
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:URIUniversalCommunication/ram:URIID
public Invoice setUltimateShipToName(java.lang.String value)
value
- EXT:Final Recipient Name / Company Name
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:Name
public Invoice setUltimateShipToLegalOrganizationSchemeIdentiferAttribute(java.lang.String value)
value
- EXT:Scheme identifier attribute
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:SpecifiedLegalOrganization/ram:ID/@schemeID
public Invoice setUltimateShipToLegalOrganizationIdentifer(java.lang.String value)
value
- EXT:Company Registration Number
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:SpecifiedLegalOrganization/ram:ID
public Invoice setUltimateShipToLegalOrganizationTradingName(java.lang.String value)
value
- EXT:Trading Business Name
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName
public Invoice setUltimateShipToPostCode(java.lang.String value)
value
- EXT:Final recipient post code
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setUltimateShipToAddressLine1(java.lang.String value)
value
- EXT:Final recipient address line 1
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:PostalTradeAddress/ram:LineOne
public Invoice setUltimateShipToAddressLine2(java.lang.String value)
value
- EXT:Final recipient address line 2
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:PostalTradeAddress/ram:LineTwo
public Invoice setUltimateShipToAddressLine3(java.lang.String value)
value
- EXT:Final recipient address line 3
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:PostalTradeAddress/ram:LineThree
public Invoice setUltimateShipToCity(java.lang.String value)
value
- EXT:Final recipient city
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:PostalTradeAddress/ram:CityName
public Invoice setUltimateShipToCountryCode(Codes.CountryCodeList value)
value
- EXT:Final recipient country (Code)
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:PostalTradeAddress/ram:CountryID
public Invoice setUltimateShipToElectronicAddressScheme(Codes.SchemeIdentifierAttribute value)
value
- EXT:Electronic Address Type Electronic address type
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID
public Invoice setUltimateShipToElectronicAddress(java.lang.String value)
value
- EXT:Electronic address
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:URIUniversalCommunication/ram:URIID
public Invoice setShipFromName(java.lang.String value)
value
- EXT:Deviating sender name / company name
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:Name
public Invoice setShipFromLegalOrganizationSchemeIdentiferAttribute(java.lang.String value)
value
- EXT:Scheme identifier attribute
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:SpecifiedLegalOrganization/ram:ID/@schemeID
public Invoice setShipFromLegalOrganizationIdentifer(java.lang.String value)
value
- EXT:Company Registration Number
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:SpecifiedLegalOrganization/ram:ID
public Invoice setShipFromLegalOrganizationTradingName(java.lang.String value)
value
- EXT:Trading Business Name
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName
public Invoice setShipFromPostCode(java.lang.String value)
value
- EXT:Sender post code
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setShipFromAddressLine1(java.lang.String value)
value
- EXT:Sender address line 1
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:PostalTradeAddress/ram:LineOne
public Invoice setShipFromAddressLine2(java.lang.String value)
value
- EXT:Sender address line 2
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:PostalTradeAddress/ram:LineTwo
public Invoice setShipFromAddressLine3(java.lang.String value)
value
- EXT:Sender address line 3
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:PostalTradeAddress/ram:LineThree
public Invoice setShipFromCity(java.lang.String value)
value
- EXT:Sender city
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:PostalTradeAddress/ram:CityName
public Invoice setShipFromCountryCode(Codes.CountryCodeList value)
value
- EXT:Sender country (Code)
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:PostalTradeAddress/ram:CountryID
public Invoice setShipFromElectronicAddressScheme(Codes.SchemeIdentifierAttribute value)
value
- EXT:Electronic Address Type Electronic address type
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID
public Invoice setShipFromElectronicAddress(java.lang.String value)
value
- EXT:Electronic address
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:URIUniversalCommunication/ram:URIID
public Invoice setActualDeliveryDate(java.time.LocalDate value)
value
- BT-72:Actual delivery date
the date on which the supply of goods or services was made or completed.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ActualDeliverySupplyChainEvent/ram:OccurrenceDateTime/udt:DateTimeString
public Invoice setBankAssignedCreditorIdentifier(Identifier value)
value
- BT-90:Bank assigned creditor identifier
Unique banking reference identifier of the Payee or Seller assigned by the Payee or Seller bank.
Used in order to pre-notify the Buyer of a SEPA direct debit.
This is the ICS for SEPA direct debits
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:CreditorReferenceID
public Invoice setRemittanceInformation(java.lang.String value)
value
- BT-83:Remittance information
A textual value used to establish a link between the payment and the Invoice, issued by the Seller.
Used for creditor's critical reconciliation information. This information element helps the Seller to assign an incoming payment to the relevant payment process. When specifying the textual value, which is commonly the invoice number of the invoice being paid, but may be another seller reference, the buyer should indicate this reference in his payment order when executing the payment. In a payment transaction this reference is transferred back to the Seller as Remittance Information.In order to allow for automatic processing of cross-border SEPA payments, only Latin characters should be used in this field, with a maximum of 140 characters. Reference section 1.4 of the SEPA credit transfer and SEPA direct debit scheme implementation guides [13] and [14] for details of the allowed characters. Other rules may apply for SEPA payments within national borders.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PaymentReference
public Invoice setVATAccountingCurrencyCode(Codes.Currency value)
value
- BT-6:VAT accounting currency code
The currency used for VAT accounting and reporting purposes as accepted or required in the country of the Seller.
Shall be used in combination with the Invoice total VAT amount in accounting currency (BT-111) when the VAT accounting currency code differs from the Invoice currency code.The lists of valid currencies are registered with the ISO 4217 Maintenance Agency “Codes for the representation of currencies and funds”. Please refer to Article 230 of the Council Directive 2006/112/EC [2] for more information.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:TaxCurrencyCode
public Invoice setInvoiceCurrencyCode(Codes.Currency value)
value
- BT-5:Invoice currency code
The currency in which all Invoice amounts are given, except for the Total VAT amount in accounting currency.
Only one currency shall be used in the Invoice, except for the Invoice total VAT amount in accounting currency (BT-111) in accordance with article 230 of Directive 2006/112/EC on VAT [2].The lists of valid currencies are registered with the ISO 4217 Maintenance Agency “Codes for the representation of currencies and funds”.
CHORUS PRO: Invoices and credit notes or Chorus Pro are mono-currencies only.
BR-5: An Invoice shall have an Invoice currency code (BT-5).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceCurrencyCode
public Invoice setSellerReferenceNumber(java.lang.String value)
value
- EXT:Seller reference number
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceIssuerReference
public Invoice setInvoicerName(java.lang.String value)
value
- EXT:Name
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:Name
public Invoice setInvoicerLegalOrganizationSchemeIdentiferAttribute(java.lang.String value)
value
- EXT:schemeID
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:SpecifiedLegalOrganization/ram:ID/@schemeID
public Invoice setInvoicerLegalOrganizationIdentifer(java.lang.String value)
value
- EXT:ID
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:SpecifiedLegalOrganization/ram:ID
public Invoice setInvoicerLegalOrganizationTradingName(java.lang.String value)
value
- EXT:Trading Business Name
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName
public Invoice setInvoicerPostCode(java.lang.String value)
value
- EXT:Postcode Code
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setInvoicerAddressLine1(java.lang.String value)
value
- EXT:Line One
The main address line in an address.
Usually the street name and number or post office box.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:PostalTradeAddress/ram:LineOne
public Invoice setInvoicerAddressLine2(java.lang.String value)
value
- EXT:Line Two
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:PostalTradeAddress/ram:LineTwo
public Invoice setInvoicerAddressLine3(java.lang.String value)
value
- EXT:Line Three
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:PostalTradeAddress/ram:LineThree
public Invoice setInvoicerCity(java.lang.String value)
value
- EXT:City Name
The common name of the city, town or village, where the Seller address is located.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:PostalTradeAddress/ram:CityName
public Invoice setInvoicerCountryCode(Codes.CountryCodeList value)
value
- EXT:Country ID
A code that identifies the country.
If no tax representative is specified, this is the country where VAT is liable. The lists of valid countries are registered with the EN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:PostalTradeAddress/ram:CountryID
public Invoice setInvoicerElectronicAddressScheme(Codes.SchemeIdentifierAttribute value)
value
- EXT:schemeID
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID
public Invoice setInvoicerElectronicAddress(java.lang.String value)
value
- EXT:URIID
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:URIUniversalCommunication/ram:URIID
public Invoice setInvoiceeName(java.lang.String value)
value
- EXT:Name
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:Name
public Invoice setInvoiceeLegalOrganizationSchemeIdentiferAttribute(java.lang.String value)
value
- EXT:schemeID
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:SpecifiedLegalOrganization/ram:ID/@schemeID
public Invoice setInvoiceeLegalOrganizationIdentifer(java.lang.String value)
value
- EXT:ID
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:SpecifiedLegalOrganization/ram:ID
public Invoice setInvoiceeLegalOrganizationTradingName(java.lang.String value)
value
- EXT:Trading Business Name
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName
public Invoice setInvoiceePostCode(java.lang.String value)
value
- EXT:Postcode Code
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setInvoiceeAddressLine1(java.lang.String value)
value
- EXT:Line One
The main address line in an address.
Usually the street name and number or post office box.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:PostalTradeAddress/ram:LineOne
public Invoice setInvoiceeAddressLine2(java.lang.String value)
value
- EXT:Line Two
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:PostalTradeAddress/ram:LineTwo
public Invoice setInvoiceeAddressLine3(java.lang.String value)
value
- EXT:Line Three
An additional address line in an address that can be used to give further details supplementing the main line.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:PostalTradeAddress/ram:LineThree
public Invoice setInvoiceeCity(java.lang.String value)
value
- EXT:City Name
The common name of the city, town or village, where the Seller address is located.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:PostalTradeAddress/ram:CityName
public Invoice setInvoiceeCountryCode(Codes.CountryCodeList value)
value
- EXT:Country ID
A code that identifies the country.
If no tax representative is specified, this is the country where VAT is liable. The lists of valid countries are registered with the EN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:PostalTradeAddress/ram:CountryID
public Invoice setInvoiceeElectronicAddressScheme(Codes.SchemeIdentifierAttribute value)
value
- EXT:schemeID
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID
public Invoice setInvoiceeElectronicAddress(java.lang.String value)
value
- EXT:URIID
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:URIUniversalCommunication/ram:URIID
public Invoice setPayeeName(java.lang.String value)
value
- BT-59:Payee name
The name of the Payee.
Shall be used when the Payee is different from the Seller. The Payee name may however be the same as the Seller name.
If the PAYEE party bock is present, the name of the Payee is mandatory
BR-17: The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:Name
public Invoice setPayeeLegalOrganizationSchemeIdentiferAttribute(Codes.SchemeIdentifier value)
value
- BT-61-1:Scheme identifier
The identification scheme identifier of the Payee legal registration identifier.
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:SpecifiedLegalOrganization/ram:ID/@schemeID
public Invoice setPayeeLegalOrganizationIdentifer(Identifier value)
value
- BT-61:Payee legal registration identifierScheme identifier
An identifier issued by an official registrar that identifies the Payee as a legal entity or person.The identification scheme identifier of the Payee legal registration identifier.
If no scheme is specified, it should be known by Buyer and Seller, e.g. the identifier that is exclusively used in the applicable legal environment.If used, the identification scheme shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:SpecifiedLegalOrganization/ram:ID
public Invoice setPayeeLegalOrganizationTradingName(java.lang.String value)
value
- EXT:Trading Business Name
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName
public Invoice setPayeePostCode(java.lang.String value)
value
- EXT:Payee post code
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setPayeeAddressLine1(java.lang.String value)
value
- EXT:Payee address line 1
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:PostalTradeAddress/ram:LineOne
public Invoice setPayeeAddressLine2(java.lang.String value)
value
- EXT:Payee address line 2
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:PostalTradeAddress/ram:LineTwo
public Invoice setPayeeAddressLine3(java.lang.String value)
value
- EXT:Payee address line 3
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:PostalTradeAddress/ram:LineThree
public Invoice setPayeeCity(java.lang.String value)
value
- EXT:Payee city
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:PostalTradeAddress/ram:CityName
public Invoice setPayeeCountryCode(Codes.CountryCodeList value)
value
- EXT:Payee country (Code)
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:PostalTradeAddress/ram:CountryID
public Invoice setPayeeElectronicAddressScheme(Codes.SchemeIdentifierAttribute value)
value
- EXT:schemeID
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID
public Invoice setPayeeElectronicAddress(java.lang.String value)
value
- EXT:URIID
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:URIUniversalCommunication/ram:URIID
public Invoice setPayerName(java.lang.String value)
value
- EXT:Payer name
The name of the Payer.
Shall be used when the Payee is different from the Seller. The Payee name may however be the same as the Seller name.
If the PAYEE party bock is present, the name of the Payee is mandatory
BR-17: The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayerTradeParty/ram:Name
public Invoice setPayerRoleCode(java.lang.String value)
value
- EXT:Payer Role Code
A code specifying the role of this trade party.
To be chosen from the entries in UNCL 3035, for instance :AB : Buyer Agent / representativeMOP : Market operator
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayerTradeParty/ram:RoleCode
public Invoice setPayerLegalOrganizationSchemeIdentiferAttribute(java.lang.String value)
value
- EXT:Scheme identifier
The identification scheme identifier of the Payer legal registration identifier.
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayerTradeParty/ram:SpecifiedLegalOrganization/ram:ID/@schemeID
public Invoice setPayerLegalOrganizationIdentifer(Identifier value)
value
- EXT:Payer legal registration identifierScheme identifier
An identifier issued by an official registrar that identifies the Payer as a legal entity or person.The identification scheme identifier of the Payer legal registration identifier.
If no scheme is specified, it should be known by Buyer and Seller, e.g. the identifier that is exclusively used in the applicable legal environment.If used, the identification scheme shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayerTradeParty/ram:SpecifiedLegalOrganization/ram:ID
public Invoice setPayerLegalOrganizationTradingName(java.lang.String value)
value
- EXT:Trading Business Name
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayerTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName
public Invoice setPayerPostCode(java.lang.String value)
value
- EXT:Post code
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayerTradeParty/ram:PostalTradeAddress/ram:PostcodeCode
public Invoice setPayerAddressLine1(java.lang.String value)
value
- EXT:Address Line 1
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayerTradeParty/ram:PostalTradeAddress/ram:LineOne
public Invoice setPayerAddressLine2(java.lang.String value)
value
- EXT:Address Line 2
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayerTradeParty/ram:PostalTradeAddress/ram:LineTwo
public Invoice setPayerAddressLine3(java.lang.String value)
value
- EXT:Address Line 3
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayerTradeParty/ram:PostalTradeAddress/ram:LineThree
public Invoice setPayerCity(java.lang.String value)
value
- EXT:City
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayerTradeParty/ram:PostalTradeAddress/ram:CityName
public Invoice setPayerCountryCode(Codes.CountryCodeList value)
value
- EXT:Country Code
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayerTradeParty/ram:PostalTradeAddress/ram:CountryID
public Invoice setPayerElectronicAddressScheme(Codes.SchemeIdentifierAttribute value)
value
- EXT:schemeID
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayerTradeParty/ram:URIUniversalCommunication/ram:URIID/@schemeID
public Invoice setPayerElectronicAddress(java.lang.String value)
value
- EXT:URIID
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayerTradeParty/ram:URIUniversalCommunication/ram:URIID
public Invoice setSourceCurrencyCode(Codes.Currency value)
value
- EXT:Source Currency Code
The code specifying the source currency of a trade related currency conversion.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:TaxApplicableTradeCurrencyExchange/ram:SourceCurrencyCode
public Invoice setTargetCurrencyCode(Codes.Currency value)
value
- EXT:Target Currency Code
The code specifying the target currency of a trade related currency conversion.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:TaxApplicableTradeCurrencyExchange/ram:TargetCurrencyCode
public Invoice setConversionRate(Decimal value)
value
- EXT:Conversion Rate
The rate factor used for conversion from the source currency to the target currency for trade purposes.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:TaxApplicableTradeCurrencyExchange/ram:ConversionRate
public Invoice setConversionRateDateTime(java.lang.String value)
value
- EXT:Exchange rate date, value
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:TaxApplicableTradeCurrencyExchange/ram:ConversionRateDateTime/udt:DateTimeString
public Invoice setDescription(java.lang.String value)
value
- EXT:Description
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod/ram:Description
public Invoice setInvoicingPeriodStartDate(java.time.LocalDate value)
value
- BT-73:Invoicing period start date
The date when the Invoice period starts.
The initial date of delivery of goods or services.
This date must be less than or equal to the period end date (BT-74), if it exists
BR-CO-19: If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod/ram:StartDateTime/udt:DateTimeString
public Invoice setInvoicingPeriodEndDate(java.time.LocalDate value)
value
- BT-74:Invoicing period end date
The date when the Invoice period ends.
The date on which the delivery of goods or services was completed.
This date must be greater than or equal to the period start date (BT-73), if it exists
BR-29: If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73).BR-CO-19: If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod/ram:EndDateTime/udt:DateTimeString
public Invoice setSumOfChargesOnDocumentLevel(Amount value)
value
- BT-108:Sum of charges on document level
Sum of all charges on document level in the Invoice.
Charges on line level are included in the Invoice line net amount which is summed up into the Sum of Invoice line net amount.
BR-CO-12: Sum of charges on document level (BT-108) = ? Document level charge amount (BT-99).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:ChargeTotalAmount
public Invoice setSumOfAllowancesOnDocumentLevel(Amount value)
value
- BT-107:Sum of allowances on document level
Sum of all allowances on document level in the Invoice.
Allowances on line level are included in the Invoice line net amount which is summed up into the Sum of Invoice line net amount.
BR-CO-11: Sum of allowances on document level (BT-107) = ? Document level allowance amount (BT-92).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:AllowanceTotalAmount
public Invoice setRoundingAmount(Amount value)
value
- BT-114:Rounding amount
The amount to be added to the invoice total to round the amount to be paid.
This mechanism is not applied in France.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:RoundingAmount
public Invoice setPaidAmount(Amount value)
value
- BT-113:Paid amount
The sum of amounts which have been paid in advance.
This amount is subtracted from the invoice total amount with VAT to calculate the amount due for payment.
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TotalPrepaidAmount
public java.lang.Boolean getTestIndicator()
Indicates if the invoice document is a test one
To be used only in case of a test invoice, with value = true
public java.lang.String getBusinessProcessType()
Identifies the business process context in which the transaction appears, to enable the Buyer to process the Invoice in an appropriate way.
To be specified by the Buyer.
CHORUSPRO: this data makes it possible to inform the "cadre de facturation" (billing framework, which could be invoice from agent, co-contractor, subcontractor, invoicing part of a public works contract, etc.). The codes to be used are defined in the CHORUSPRO specifications: A1 (invoice deposit), A2 (prepaid invoice deposit), ... By default (in the absence of this field), the case A1 is applied.
public Identifier getSpecificationIdentifier() throws ComputationException
An identification of the specification containing the total set of rules regarding semantic content, cardinalities and business rules to which the data contained in the instance document conforms.
This identifies compliance or conformance to this document. Compliant invoices specify: urn:cen.eu:en16931:2017. Invoices, compliant to a user specification may identify that user specification here.No identification scheme is to be used.
For profile Minimum : urn:factur-x.eu:1p0:minimumFor profile BASIC WL : urn:factur-x.eu:1p0:basicwlFor profile BASIC : urn:cen.eu:en16931:2017#compliant#urn:factur-x.eu:1p0:basicFor Profile EN 16931 (Comfort) : urn:cen.eu:en16931:2017For Profile EXTENDED : urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended
BR-1: An Invoice shall have a Specification identifier (BT-24).
setRecompute(boolean)
has been called with a value of false in which case the value /rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID is returnedComputationException
public Identifier getInvoiceNumber()
A unique identification of the Invoice.
The sequential number required in Article 226(2) of the directive 2006/112/EC [2], to uniquely identify the Invoice within the business context, time-frame, operating systems and records of the Seller. It may be based on one or more series of numbers, which may include alphanumeric characters. No identification scheme is to be used.
CHORUSPRO: the invoice number is limited to 20 characters
BR-2: An Invoice shall have an Invoice number (BT-1).
public java.lang.String getName()
public Codes.InvoiceTypeCode getInvoiceTypeCode()
A code specifying the functional type of the Invoice.
Commercial invoices and credit notes are defined according the entries in UNTDID 1001 [6].Other entries of UNTDID 1001 [6] with specific invoices or credit notes may be used if applicable.
The types of documents used are:380: Commercial Invoice381: Credit note384: Corrected invoice389: Self-billied invoice (created by the buyer on behalf of the supplier)261: Self billed credit note (not accepted by CHORUSPRO)386: Prepayment invoice751: Invoice information for accounting purposes (not accepted by CHORUSPRO)
BR-4: An Invoice shall have an Invoice type code (BT-3).
public Codes.DateFormat getDateFormat() throws ComputationException
Value= 102
Only value "102"
setRecompute(boolean)
has been called with a value of false in which case the value /rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:IssueDateTime/udt:DateTimeString/@format is returnedComputationException
public java.time.LocalDate getInvoiceIssueDate()
The date when the Invoice was issued.
CHORUSPRO: the issue date must be before or equal to the deposit date.
BR-3: An Invoice shall have an Invoice issue date (BT-2).
public java.lang.Boolean getCopyIndicator()
public Codes.DateFormat getCompleteDateTimeFormat() throws ComputationException
setRecompute(boolean)
has been called with a value of false in which case the value /rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:EffectiveSpecifiedPeriod/ram:CompleteDateTime/udt:DateTimeString/@format is returnedComputationException
public java.lang.String getCompleteDateTime()
public java.lang.String getBuyerReference()
An identifier assigned by the Buyer used for internal routing purposes.
The identifier is defined by the Buyer (e.g. contact ID, department, office id, project code), but provided by the Seller in the Invoice.
CHORUS PRO: for the public sector, it is the "Service Exécutant". It is mandatory for some buyers. It must belong to the Chorus Pro repository. It is limited to 100 characters.
public java.lang.String getSellerName()
The full formal name by which the Seller is registered in the national registry of legal entities or as a Taxable person or otherwise trades as a person or persons.
BR-6: An Invoice shall contain the Seller name (BT-27).
public java.lang.String getSellerAdditionalLegalInformation()
Additional legal information relevant for the Seller.
Such as share capital.
public Codes.SchemeIdentifier getSellerLegalOrganizationSchemeIdentiferAttribute()
The identification scheme identifier of the Seller legal registration identifier.
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
public Identifier getSellerLegalOrganizationIdentifer()
An identifier issued by an official registrar that identifies the Seller as a legal entity or person.
If no identification scheme is specified, it should be known by Buyer and Seller.
BR-CO-26: In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present.
public java.lang.String getSellerLegalOrganizationTradingName()
A name by which the Seller is known, other than Seller name (also known as Business name).
This may be used if different from the Seller name.
CHORUS PRO: this field is limied to 99 characters.
public java.lang.String getSellerLegalOrganizationPostCode()
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
public java.lang.String getSellerLegalOrganizationAddressLine1()
The main address line in an address.
Usually the street name and number or post office box.
public java.lang.String getSellerLegalOrganizationAddressLine2()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getSellerLegalOrganizationAddressLine3()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getSellerLegalOrganizationCity()
The common name of the city, town or village, where the Seller address is located.
public Codes.CountryCodeList getSellerLegalOrganizationCountryCode()
A code that identifies the country.
If no tax representative is specified, this is the country where VAT is liable. The lists of valid countries are registered with the EN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
public java.lang.String getSellerPostCode()
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
public java.lang.String getSellerAddressLine1()
The main address line in an address.
Usually the street name and number or post office box.
public java.lang.String getSellerAddressLine2()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getSellerAddressLine3()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getSellerCity()
The common name of the city, town or village, where the Seller address is located.
public Codes.CountryCodeList getSellerCountryCode()
A code that identifies the country.
If no tax representative is specified, this is the country where VAT is liable. The lists of valid countries are registered with the EN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
BR-9: The Seller postal address (BG-5) shall contain a Seller country code (BT-40).
public Codes.ElectronicAddressScheme getSellerElectronicAddressScheme()
The identification scheme identifier of the Seller electronic address
The scheme identifier shall be chosen from a list to be maintained by the Connecting Europe Facility.
public Identifier getSellerElectronicAddress()
Identifies the Seller's electronic address to which the application level response to the invoice may be delivered.The identification scheme identifier of the Seller electronic address.
The scheme identifier shall be chosen from a list to be maintained by the Connecting Europe Facility.
BR-62: The Seller electronic address (BT-34) shall have a Scheme identifier.
public java.lang.String getBuyerName()
The full name of the Buyer.
CHORUS PRO: this field is limied to 99 characters.
BR-7: An Invoice shall contain the Buyer name (BT-44).
public Codes.SchemeIdentifier getBuyerLegalOrganizationSchemeIdentiferAttribute()
Scheme identifier for Buyer legal identifier
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
public Identifier getBuyerLegalOrganizationIdentifer()
An identifier issued by an official registrar that identifies the Buyer as a legal entity or person.The identification scheme identifier of the Buyer legal registration identifier.
If no identification scheme is specified, it should be known by Buyer and Seller, e.g. the identifier that is exclusively used in the applicable legal environment.If used, the identification scheme shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
CHORUSPRO: the identifier of the buyer (public entity) is mandatory and is always a SIRET number
public java.lang.String getBuyerLegalOrganizationTradingName()
A name by which the Buyer is known, other than Buyer name (also known as Business name).
This may be used if different from the Buyer name.
public java.lang.String getBuyerLegalOrganizationPostCode()
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
public java.lang.String getBuyerLegalOrganizationAddressLine1()
The main address line in an address.
Usually the street name and number or post office box.
public java.lang.String getBuyerLegalOrganizationAddressLine2()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getBuyerLegalOrganizationAddressLine3()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getBuyerLegalOrganizationCity()
The common name of the city, town or village, where the Buyer's address is located.
public Codes.CountryCodeList getBuyerLegalOrganizationCountryCode()
A code that identifies the country.
The lists of valid countries are registered with the EN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
public java.lang.String getBuyerPostCode()
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
public java.lang.String getBuyerAddressLine1()
The main address line in an address.
Usually the street name and number or post office box.
public java.lang.String getBuyerAddressLine2()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getBuyerAddressLine3()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getBuyerCity()
The common name of the city, town or village, where the Buyer's address is located.
public Codes.CountryCodeList getBuyerCountryCode()
A code that identifies the country.
The lists of valid countries are registered with the EN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
BR-11: The Buyer postal address shall contain a Buyer country code (BT-55).
public Codes.ElectronicAddressScheme getBuyerElectronicAddressScheme()
Scheme identifier for Buyer electronic address
The scheme identifier shall be chosen from a list to be maintained by the Connecting Europe Facility.
public Identifier getBuyerElectronicAddress()
Identifies the Buyer's electronic address to which the invoice is delivered.
The scheme identifier shall be chosen from a list to be maintained by the Connecting Europe Facility.
BR-63: The Buyer electronic address (BT-49) shall have a Scheme identifier.
public java.lang.String getSalesAgentName()
The full name of the Sales Agent
public java.lang.String getRoleCode()
public java.lang.String getSalesAgentLegalOrganizationSchemeIdentiferAttribute()
Scheme identifier for Sales Agentlegal identifier
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
public java.lang.String getSalesAgentLegalOrganizationIdentifer()
public java.lang.String getSalesAgentLegalOrganizationTradingName()
public java.lang.String getSalesAgentLegalOrganizationPostCode()
public java.lang.String getSalesAgentLegalOrganizationAddressLine1()
public java.lang.String getSalesAgentLegalOrganizationAddressLine2()
public java.lang.String getSalesAgentLegalOrganizationAddressLine3()
public java.lang.String getSalesAgentLegalOrganizationCity()
public Codes.CountryCodeList getSalesAgentLegalOrganizationCountryCode()
public java.lang.String getSalesAgentPostCode()
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
public java.lang.String getSalesAgentAddressLine1()
The main address line in an address.
Usually the street name and number or the post office box.
public java.lang.String getSalesAgentAddressLine2()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getSalesAgentAddressLine3()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getSalesAgentCity()
The common name of the city, town or village, where the tax representative address is located.
public Codes.CountryCodeList getSalesAgentCountryCode()
A code that identifies the country.
Country where VAT is liable. The lists of valid countries are registered with theEN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
public Codes.SchemeIdentifierAttribute getSalesAgentElectronicAddressScheme()
public java.lang.String getSalesAgentElectronicAddress()
public java.lang.String getBuyerTaxRepresentativeName()
The full name of the BUYER's tax representative party.
public java.lang.String getBuyerTaxRepresentativeRoleCode()
public java.lang.String getBuyerTaxRepresentativeLegalOrganizationSchemeIdentiferAttribute()
public java.lang.String getBuyerTaxRepresentativeLegalOrganizationIdentifer()
public java.lang.String getBuyerTaxRepresentativeLegalOrganizationTradingName()
public java.lang.String getBuyerTaxRepresentativeLegalOrganizationPostCode()
public java.lang.String getBuyerTaxRepresentativeLegalOrganizationAddressLine1()
public java.lang.String getBuyerTaxRepresentativeLegalOrganizationAddressLine2()
public java.lang.String getBuyerTaxRepresentativeLegalOrganizationAddressLine3()
public java.lang.String getBuyerTaxRepresentativeLegalOrganizationCity()
public Codes.CountryCodeList getBuyerTaxRepresentativeLegalOrganizationCountryCode()
public java.lang.String getBuyerTaxRepresentativePostCode()
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
public java.lang.String getBuyerTaxRepresentativeAddressLine1()
The main address line in an address.
Usually the street name and number or the post office box.
public java.lang.String getBuyerTaxRepresentativeAddressLine2()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getBuyerTaxRepresentativeAddressLine3()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getBuyerTaxRepresentativeCity()
The common name of the city, town or village, where the tax representative address is located.
public Codes.CountryCodeList getBuyerTaxRepresentativeCountryCode()
A code that identifies the country.
Country where VAT is liable. The lists of valid countries are registered with theEN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
BR-20: The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11).
public Codes.SchemeIdentifierAttribute getBuyerTaxRepresentativeElectronicAddressScheme()
public java.lang.String getBuyerTaxRepresentativeElectronicAddress()
public java.lang.String getSellerTaxRepresentativeName()
The full name of the Seller's tax representative party.
BR-18: The Seller tax representative name (BT-62) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11).
public java.lang.String getSellerTaxRepresentativeLegalOrganizationSchemeIdentiferAttribute()
public java.lang.String getSellerTaxRepresentativeLegalOrganizationIdentifer()
public java.lang.String getSellerTaxRepresentativeLegalOrganizationTradingName()
public java.lang.String getSellerTaxRepresentativeLegalOrganizationPostCode()
public java.lang.String getSellerTaxRepresentativeLegalOrganizationAddressLine1()
public java.lang.String getSellerTaxRepresentativeLegalOrganizationAddressLine2()
public java.lang.String getSellerTaxRepresentativeLegalOrganizationAddressLine3()
public java.lang.String getSellerTaxRepresentativeLegalOrganizationCity()
public Codes.CountryCodeList getSellerTaxRepresentativeLegalOrganizationCountryCode()
public java.lang.String getSellerTaxRepresentativePostCode()
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
public java.lang.String getSellerTaxRepresentativeAddressLine1()
The main address line in an address.
Usually the street name and number or the post office box.
public java.lang.String getSellerTaxRepresentativeAddressLine2()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getSellerTaxRepresentativeAddressLine3()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getSellerTaxRepresentativeCity()
The common name of the city, town or village, where the tax representative address is located.
public Codes.CountryCodeList getSellerTaxRepresentativeCountryCode()
A code that identifies the country.
Country where VAT is liable. The lists of valid countries are registered with theEN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
BR-20: The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11).
public Codes.SchemeIdentifierAttribute getSellerTaxRepresentativeElectronicAddressScheme()
public java.lang.String getSellerTaxRepresentativeElectronicAddress()
public java.lang.String getProductEndUserName()
public java.lang.String getProductEndUserLegalOrganizationSchemeIdentiferAttribute()
public java.lang.String getProductEndUserLegalOrganizationIdentifer()
public java.lang.String getProductEndUserLegalOrganizationTradingName()
public java.lang.String getProductEndUserPostCode()
public java.lang.String getProductEndUserAddressLine1()
public java.lang.String getProductEndUserAddressLine2()
public java.lang.String getProductEndUserAddressLine3()
public java.lang.String getProductEndUserCity()
public Codes.CountryCodeList getProductEndUserCountryCode()
public Codes.SchemeIdentifierAttribute getProductEndUserElectronicAddressScheme()
public java.lang.String getProductEndUserElectronicAddress()
public java.lang.String getDeliveryTypeCode()
public java.lang.String getBuyerAgentRoleCode()
public java.lang.String getBuyerAgentLegalOrganizationSchemeIdentiferAttribute()
Scheme identifier for BUYER Agentlegal identifier
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
public java.lang.String getBuyerAgentLegalOrganizationIdentifer()
public java.lang.String getBuyerAgentLegalOrganizationTradingName()
public java.lang.String getBuyerAgentLegalOrganizationPostCode()
public java.lang.String getBuyerAgentLegalOrganizationAddressLine1()
public java.lang.String getBuyerAgentLegalOrganizationAddressLine2()
public java.lang.String getBuyerAgentLegalOrganizationAddressLine3()
public java.lang.String getBuyerAgentLegalOrganizationCity()
public Codes.CountryCodeList getBuyerAgentLegalOrganizationCountryCode()
public java.lang.String getBuyerAgentPostCode()
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
public java.lang.String getBuyerAgentAddressLine1()
The main address line in an address.
Usually the street name and number or the post office box.
public java.lang.String getBuyerAgentAddressLine2()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getBuyerAgentAddressLine3()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getBuyerAgentCity()
The common name of the city, town or village, where the tax representative address is located.
public Codes.CountryCodeList getBuyerAgentCountryCode()
A code that identifies the country.
Country where VAT is liable. The lists of valid countries are registered with theEN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
public Codes.SchemeIdentifierAttribute getBuyerAgentElectronicAddressScheme()
public java.lang.String getBuyerAgentElectronicAddress()
public DocumentReference getProjectReference()
The identification of the project the invoice refers to
public java.lang.String getProjectName()
Value : "Project Reference"
Use "Project reference" as default value for Name.
public java.lang.String getDeliverToName()
The name of the party to which the goods and services are delivered.
Shall be used if the Deliver to party is different from the Buyer.
public java.lang.String getDeliverToLegalOrganizationSchemeIdentiferAttribute()
public java.lang.String getDeliverToLegalOrganizationIdentifer()
public java.lang.String getDeliverToLegalOrganizationTradingName()
public java.lang.String getDeliverToPostCode()
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
public java.lang.String getDeliverToAddressLine1()
The main address line in an address.
Usually the street name and number.
public java.lang.String getDeliverToAddressLine2()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getDeliverToAddressLine3()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getDeliverToCity()
The common name of the city, town or village, where the deliver to address is located.
public Codes.CountryCodeList getDeliverToCountryCode()
A code that identifies the country.
The lists of valid countries are registered with the EN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
BR-57: Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80).
public Codes.ElectronicAddressScheme getDeliverToElectronicAddressScheme()
public java.lang.String getDeliverToElectronicAddress()
public java.lang.String getUltimateShipToName()
public java.lang.String getUltimateShipToLegalOrganizationSchemeIdentiferAttribute()
public java.lang.String getUltimateShipToLegalOrganizationIdentifer()
public java.lang.String getUltimateShipToLegalOrganizationTradingName()
public java.lang.String getUltimateShipToPostCode()
public java.lang.String getUltimateShipToAddressLine1()
public java.lang.String getUltimateShipToAddressLine2()
public java.lang.String getUltimateShipToAddressLine3()
public java.lang.String getUltimateShipToCity()
public Codes.CountryCodeList getUltimateShipToCountryCode()
public Codes.SchemeIdentifierAttribute getUltimateShipToElectronicAddressScheme()
public java.lang.String getUltimateShipToElectronicAddress()
public java.lang.String getShipFromName()
public java.lang.String getShipFromLegalOrganizationSchemeIdentiferAttribute()
public java.lang.String getShipFromLegalOrganizationIdentifer()
public java.lang.String getShipFromLegalOrganizationTradingName()
public java.lang.String getShipFromPostCode()
public java.lang.String getShipFromAddressLine1()
public java.lang.String getShipFromAddressLine2()
public java.lang.String getShipFromAddressLine3()
public java.lang.String getShipFromCity()
public Codes.CountryCodeList getShipFromCountryCode()
public Codes.SchemeIdentifierAttribute getShipFromElectronicAddressScheme()
public java.lang.String getShipFromElectronicAddress()
public Codes.DateFormat getActualDeliveryDateFormat() throws ComputationException
Value = 102
Only value "102"
setRecompute(boolean)
has been called with a value of false in which case the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ActualDeliverySupplyChainEvent/ram:OccurrenceDateTime/udt:DateTimeString/@format is returnedComputationException
public java.time.LocalDate getActualDeliveryDate()
the date on which the supply of goods or services was made or completed.
public Identifier getBankAssignedCreditorIdentifier()
Unique banking reference identifier of the Payee or Seller assigned by the Payee or Seller bank.
Used in order to pre-notify the Buyer of a SEPA direct debit.
This is the ICS for SEPA direct debits
public java.lang.String getRemittanceInformation()
A textual value used to establish a link between the payment and the Invoice, issued by the Seller.
Used for creditor's critical reconciliation information. This information element helps the Seller to assign an incoming payment to the relevant payment process. When specifying the textual value, which is commonly the invoice number of the invoice being paid, but may be another seller reference, the buyer should indicate this reference in his payment order when executing the payment. In a payment transaction this reference is transferred back to the Seller as Remittance Information.In order to allow for automatic processing of cross-border SEPA payments, only Latin characters should be used in this field, with a maximum of 140 characters. Reference section 1.4 of the SEPA credit transfer and SEPA direct debit scheme implementation guides [13] and [14] for details of the allowed characters. Other rules may apply for SEPA payments within national borders.
public Codes.Currency getVATAccountingCurrencyCode()
The currency used for VAT accounting and reporting purposes as accepted or required in the country of the Seller.
Shall be used in combination with the Invoice total VAT amount in accounting currency (BT-111) when the VAT accounting currency code differs from the Invoice currency code.The lists of valid currencies are registered with the ISO 4217 Maintenance Agency “Codes for the representation of currencies and funds”. Please refer to Article 230 of the Council Directive 2006/112/EC [2] for more information.
public Codes.Currency getInvoiceCurrencyCode()
The currency in which all Invoice amounts are given, except for the Total VAT amount in accounting currency.
Only one currency shall be used in the Invoice, except for the Invoice total VAT amount in accounting currency (BT-111) in accordance with article 230 of Directive 2006/112/EC on VAT [2].The lists of valid currencies are registered with the ISO 4217 Maintenance Agency “Codes for the representation of currencies and funds”.
CHORUS PRO: Invoices and credit notes or Chorus Pro are mono-currencies only.
BR-5: An Invoice shall have an Invoice currency code (BT-5).
public java.lang.String getSellerReferenceNumber()
public java.lang.String getInvoicerName()
public java.lang.String getInvoicerLegalOrganizationSchemeIdentiferAttribute()
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
public java.lang.String getInvoicerLegalOrganizationIdentifer()
public java.lang.String getInvoicerLegalOrganizationTradingName()
public java.lang.String getInvoicerPostCode()
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
public java.lang.String getInvoicerAddressLine1()
The main address line in an address.
Usually the street name and number or post office box.
public java.lang.String getInvoicerAddressLine2()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getInvoicerAddressLine3()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getInvoicerCity()
The common name of the city, town or village, where the Seller address is located.
public Codes.CountryCodeList getInvoicerCountryCode()
A code that identifies the country.
If no tax representative is specified, this is the country where VAT is liable. The lists of valid countries are registered with the EN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
public Codes.SchemeIdentifierAttribute getInvoicerElectronicAddressScheme()
public java.lang.String getInvoicerElectronicAddress()
public java.lang.String getInvoiceeName()
public java.lang.String getInvoiceeLegalOrganizationSchemeIdentiferAttribute()
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
public java.lang.String getInvoiceeLegalOrganizationIdentifer()
public java.lang.String getInvoiceeLegalOrganizationTradingName()
public java.lang.String getInvoiceePostCode()
The identifier for an addressable group of properties according to the relevant postal service.
Such as a ZIP code or a post code.
public java.lang.String getInvoiceeAddressLine1()
The main address line in an address.
Usually the street name and number or post office box.
public java.lang.String getInvoiceeAddressLine2()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getInvoiceeAddressLine3()
An additional address line in an address that can be used to give further details supplementing the main line.
public java.lang.String getInvoiceeCity()
The common name of the city, town or village, where the Seller address is located.
public Codes.CountryCodeList getInvoiceeCountryCode()
A code that identifies the country.
If no tax representative is specified, this is the country where VAT is liable. The lists of valid countries are registered with the EN ISO 3166-1 Maintenance agency, “Codes for the representation of names of countries and their subdivisions”.
public Codes.SchemeIdentifierAttribute getInvoiceeElectronicAddressScheme()
public java.lang.String getInvoiceeElectronicAddress()
public java.lang.String getPayeeName()
The name of the Payee.
Shall be used when the Payee is different from the Seller. The Payee name may however be the same as the Seller name.
If the PAYEE party bock is present, the name of the Payee is mandatory
BR-17: The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4).
public Codes.SchemeIdentifier getPayeeLegalOrganizationSchemeIdentiferAttribute()
The identification scheme identifier of the Payee legal registration identifier.
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
public Identifier getPayeeLegalOrganizationIdentifer()
An identifier issued by an official registrar that identifies the Payee as a legal entity or person.The identification scheme identifier of the Payee legal registration identifier.
If no scheme is specified, it should be known by Buyer and Seller, e.g. the identifier that is exclusively used in the applicable legal environment.If used, the identification scheme shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
public java.lang.String getPayeeLegalOrganizationTradingName()
public java.lang.String getPayeePostCode()
public java.lang.String getPayeeAddressLine1()
public java.lang.String getPayeeAddressLine2()
public java.lang.String getPayeeAddressLine3()
public java.lang.String getPayeeCity()
public Codes.CountryCodeList getPayeeCountryCode()
public Codes.SchemeIdentifierAttribute getPayeeElectronicAddressScheme()
public java.lang.String getPayeeElectronicAddress()
public java.lang.String getPayerName()
The name of the Payer.
Shall be used when the Payee is different from the Seller. The Payee name may however be the same as the Seller name.
If the PAYEE party bock is present, the name of the Payee is mandatory
BR-17: The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4).
public java.lang.String getPayerRoleCode()
A code specifying the role of this trade party.
To be chosen from the entries in UNCL 3035, for instance :AB : Buyer Agent / representativeMOP : Market operator
public java.lang.String getPayerLegalOrganizationSchemeIdentiferAttribute()
The identification scheme identifier of the Payer legal registration identifier.
If used, the identification scheme identifier shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
For a SIREN or a SIRET, the value of this field is "0002"
public Identifier getPayerLegalOrganizationIdentifer()
An identifier issued by an official registrar that identifies the Payer as a legal entity or person.The identification scheme identifier of the Payer legal registration identifier.
If no scheme is specified, it should be known by Buyer and Seller, e.g. the identifier that is exclusively used in the applicable legal environment.If used, the identification scheme shall be chosen from the entries of the list published by the ISO/IEC 6523 maintenance agency.
public java.lang.String getPayerLegalOrganizationTradingName()
public java.lang.String getPayerPostCode()
public java.lang.String getPayerAddressLine1()
public java.lang.String getPayerAddressLine2()
public java.lang.String getPayerAddressLine3()
public java.lang.String getPayerCity()
public Codes.CountryCodeList getPayerCountryCode()
public Codes.SchemeIdentifierAttribute getPayerElectronicAddressScheme()
public java.lang.String getPayerElectronicAddress()
public Codes.Currency getSourceCurrencyCode()
The code specifying the source currency of a trade related currency conversion.
public Codes.Currency getTargetCurrencyCode()
The code specifying the target currency of a trade related currency conversion.
public Decimal getConversionRate()
The rate factor used for conversion from the source currency to the target currency for trade purposes.
public Codes.DateFormat getConversionRateDateTimeFormat() throws ComputationException
setRecompute(boolean)
has been called with a value of false in which case the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:TaxApplicableTradeCurrencyExchange/ram:ConversionRateDateTime/udt:DateTimeString/@format is returnedComputationException
public java.lang.String getConversionRateDateTime()
public java.lang.String getDescription()
public Codes.DateFormat getInvoicingPeriodStartDateFormat() throws ComputationException
Value = 102
Only value "102"
setRecompute(boolean)
has been called with a value of false in which case the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod/ram:StartDateTime/udt:DateTimeString/@format is returnedComputationException
public java.time.LocalDate getInvoicingPeriodStartDate()
The date when the Invoice period starts.
The initial date of delivery of goods or services.
This date must be less than or equal to the period end date (BT-74), if it exists
BR-CO-19: If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both.
public Codes.DateFormat getInvoicingPeriodEndDateFormat() throws ComputationException
Value = 102
Only value "102"
setRecompute(boolean)
has been called with a value of false in which case the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod/ram:EndDateTime/udt:DateTimeString/@format is returnedComputationException
public java.time.LocalDate getInvoicingPeriodEndDate()
The date when the Invoice period ends.
The date on which the delivery of goods or services was completed.
This date must be greater than or equal to the period start date (BT-73), if it exists
BR-29: If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73).BR-CO-19: If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both.
public Amount getSumOfInvoiceLineNetAmount() throws ComputationException
Sum of all Invoice line net amounts in the Invoice.
BR-12: An Invoice shall have the Sum of Invoice line net amount (BT-106).BR-CO-10: Sum of Invoice line net amount (BT-106) = ? Invoice line net amount (BT-131).
setRecompute(boolean)
has been called with a value of false in which case the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:LineTotalAmount is returnedComputationException
public Amount getSumOfChargesOnDocumentLevel()
Sum of all charges on document level in the Invoice.
Charges on line level are included in the Invoice line net amount which is summed up into the Sum of Invoice line net amount.
BR-CO-12: Sum of charges on document level (BT-108) = ? Document level charge amount (BT-99).
public Amount getSumOfAllowancesOnDocumentLevel()
Sum of all allowances on document level in the Invoice.
Allowances on line level are included in the Invoice line net amount which is summed up into the Sum of Invoice line net amount.
BR-CO-11: Sum of allowances on document level (BT-107) = ? Document level allowance amount (BT-92).
public Amount getRoundingAmount()
The amount to be added to the invoice total to round the amount to be paid.
This mechanism is not applied in France.
public Amount getPaidAmount()
The sum of amounts which have been paid in advance.
This amount is subtracted from the invoice total amount with VAT to calculate the amount due for payment.
public Amount getAmountDueForPayment() throws ComputationException
The outstanding amount that is requested to be paid.
This amount is the Invoice total amount with VAT minus the paid amount that has been paid in advance. The amount is zero in case of a fully paid Invoice. The amount may be negative; in that case the Seller owes the amount to the Buyer.
BR-15: An Invoice shall have the Amount due for payment (BT- 115).BR-CO-16: Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) + Rounding amount (BT-114).
setRecompute(boolean)
has been called with a value of false in which case the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:DuePayableAmount is returnedComputationException
public void toXML(java.io.PrintStream out) throws java.io.IOException, FacturXException
out
- the print stream to write tojava.io.IOException
FacturXException
public void toXML(java.io.PrintWriter out) throws java.io.IOException, FacturXException
out
- the print stream to write tojava.io.IOException
FacturXException
public java.lang.String getXMLAsDataURL() throws java.io.IOException, FacturXException
java.io.IOException
FacturXException
public void toJUnitJavaSourceCode(java.io.PrintStream out, java.lang.String packageName, java.lang.String className, java.lang.String referenceFilesDirectory) throws FacturXException
out
- the print stream to write topackageName
- the package name to use in the package declarationclassName
- the name to use as class name for the test classreferenceFilesDirectory
- the directory in which the test expects the reference output xml file that is named className+".xml"
FacturXException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static java.lang.String joinVeryLongString(java.lang.String[] chunks)
public static Invoice fromXML(java.lang.String fileName, boolean recompute) throws java.io.IOException
fileName
- the Factur-X XML file to read fromrecompute
- specifies whether or not computed fields are computed or the values from the file are used insteadjava.io.IOException