struct
Zugpferd::TradeParty
- Zugpferd::TradeParty
- Struct
- Value
- Object
Overview
Represents a trade party — either the seller (BG-4) or the buyer (BG-7).
Used for both SellerTradeParty and BuyerTradeParty in the CII XML.
Defined in:
zugpferd/trade_party.crConstructors
Instance Method Summary
-
#address : TradeAddress | Nil
Postal address (BG-5 for seller, BG-8 for buyer).
-
#address=(address : TradeAddress | Nil)
Postal address (BG-5 for seller, BG-8 for buyer).
-
#contact_email : String | Nil
Contact e-mail address (BT-43).
-
#contact_email=(contact_email : String | Nil)
Contact e-mail address (BT-43).
-
#contact_name : String | Nil
Contact person name (BT-41).
-
#contact_name=(contact_name : String | Nil)
Contact person name (BT-41).
-
#contact_phone : String | Nil
Contact telephone number (BT-42).
-
#contact_phone=(contact_phone : String | Nil)
Contact telephone number (BT-42).
-
#electronic_address : String | Nil
Electronic address used for routing (BT-34 for seller, BT-49 for buyer).
-
#electronic_address=(electronic_address : String | Nil)
Electronic address used for routing (BT-34 for seller, BT-49 for buyer).
-
#electronic_address_scheme : String | Nil
Scheme identifier for
#electronic_address(BT-34-1 / BT-49-1); defaults to "EM". -
#electronic_address_scheme=(electronic_address_scheme : String | Nil)
Scheme identifier for
#electronic_address(BT-34-1 / BT-49-1); defaults to "EM". -
#global_id : String | Nil
Global identifier for the party (BT-29 for seller, BT-46 for buyer).
-
#global_id=(global_id : String | Nil)
Global identifier for the party (BT-29 for seller, BT-46 for buyer).
-
#global_id_scheme : String | Nil
Scheme identifier for
#global_id(BT-29-1 / BT-46-1), e.g. -
#global_id_scheme=(global_id_scheme : String | Nil)
Scheme identifier for
#global_id(BT-29-1 / BT-46-1), e.g. -
#name : String
Legal or trading name of the party (BT-27 for seller, BT-44 for buyer).
-
#name=(name : String)
Legal or trading name of the party (BT-27 for seller, BT-44 for buyer).
-
#tax_registrations : Array(TaxRegistration)
VAT and tax number registrations (BT-31/32 for seller, BT-63/64 for buyer).
-
#tax_registrations=(tax_registrations : Array(TaxRegistration))
VAT and tax number registrations (BT-31/32 for seller, BT-63/64 for buyer).
Constructor Detail
Instance Method Detail
Postal address (BG-5 for seller, BG-8 for buyer).
Required for BASIC_WL and above; only country_id is emitted for MINIMUM.
Postal address (BG-5 for seller, BG-8 for buyer).
Required for BASIC_WL and above; only country_id is emitted for MINIMUM.
Contact e-mail address (BT-43). Only emitted for BASIC_WL and above.
Contact e-mail address (BT-43). Only emitted for BASIC_WL and above.
Contact person name (BT-41). Only emitted for BASIC_WL and above.
Contact telephone number (BT-42). Only emitted for BASIC_WL and above.
Contact telephone number (BT-42). Only emitted for BASIC_WL and above.
Electronic address used for routing (BT-34 for seller, BT-49 for buyer). Scheme "EM" = e-mail; "9930" = DE:VAT (used in PEPPOL). Only emitted for BASIC_WL and above.
Electronic address used for routing (BT-34 for seller, BT-49 for buyer). Scheme "EM" = e-mail; "9930" = DE:VAT (used in PEPPOL). Only emitted for BASIC_WL and above.
Scheme identifier for #electronic_address (BT-34-1 / BT-49-1); defaults to "EM".
Scheme identifier for #electronic_address (BT-34-1 / BT-49-1); defaults to "EM".
Global identifier for the party (BT-29 for seller, BT-46 for buyer). Common scheme codes: "0088" = GS1 GLN, "0060" = DUNS.
Global identifier for the party (BT-29 for seller, BT-46 for buyer). Common scheme codes: "0088" = GS1 GLN, "0060" = DUNS.
Scheme identifier for #global_id (BT-29-1 / BT-46-1), e.g. "0088".
Scheme identifier for #global_id (BT-29-1 / BT-46-1), e.g. "0088".
VAT and tax number registrations (BT-31/32 for seller, BT-63/64 for buyer).
At least one entry with scheme VA (VAT ID) is required for BASIC and above.
VAT and tax number registrations (BT-31/32 for seller, BT-63/64 for buyer).
At least one entry with scheme VA (VAT ID) is required for BASIC and above.