Class BuyerVATIdentifier


  • public class BuyerVATIdentifier
    extends Object
    BT-48-00:(BUYER VAT IDENTIFIER)

    XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedTaxRegistration

    • Method Detail

      • setBuyerVATIdentifier

        public BuyerVATIdentifier setBuyerVATIdentifier​(Identifier value)
        Parameters:
        value - BT-48:Buyer VAT identifier

        The Buyer's VAT identifier (also known as Buyer VAT identification number).

        VAT number prefixed by a country code based on EN ISO 3166-1 "Codes for the representation of names of countries and their subdivisions"

        CHORUSPRO: If entered, ChorusPro will not integrate the VAT ID of the buyer because it is the SIRET number that is used to identify a buyer for public entities (BT-47)

        BR-CO-9: The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’.

        XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID

        Returns:
        BuyerVATIdentifier
      • getBuyerVATIdentifierSchemeIdentifier

        public Codes.SchemeIdentifierVA getBuyerVATIdentifierSchemeIdentifier()
                                                                       throws ComputationException
        BT-48-0:scheme identifier attribute

        Scheme identifier for Buyer VAT Identifier

        Value = VA

        @schemeID="VA"

        Returns:
        a computed value unless an explicit value has been set and Invoice.setRecompute(boolean) has been called with a value of false in which case the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID/@schemeID is returned
        Throws:
        ComputationException
      • getBuyerVATIdentifier

        public Identifier getBuyerVATIdentifier()
        BT-48:Buyer VAT identifier

        The Buyer's VAT identifier (also known as Buyer VAT identification number).

        VAT number prefixed by a country code based on EN ISO 3166-1 "Codes for the representation of names of countries and their subdivisions"

        CHORUSPRO: If entered, ChorusPro will not integrate the VAT ID of the buyer because it is the SIRET number that is used to identify a buyer for public entities (BT-47)

        BR-CO-9: The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’.

        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID