Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 2.87 KB

File metadata and controls

34 lines (28 loc) · 2.87 KB

AvalaraSdk::EInvoicing::V1::TradingPartner

Properties

Name Type Description Notes
id String Avalara unique ID of the participant in the directory. [optional][readonly]
name String Name of the participant (typically, the name of the business entity).
network String The network where the participant is present. When creating or updating a trading partner, the value provided for the attribute 'network' will be ignored. [optional][readonly]
registration_date String Registration date of the participant if available. [optional]
identifiers Array<Identifier> A list of identifiers associated with the trading partner. Each identifier should consistently include the fields name, and value to maintain clarity and ensure consistent structure across entries. When creating or updating a trading partner, the attribute 'name' must be agreed upon with Avalara to ensure consistency. Failing to adhere to the agreed values will result in a validation error. Further, when creating or updating a trading partner, the value provided for the attribute 'displayName' will be ignored and instead retrieved from the standard set of display names maintained.
addresses Array<Address>
supported_document_types Array<SupportedDocumentTypes> A list of document types supported by the trading partner for exchange. Each document type identifier value must match the standard list maintained by Avalara, which includes Peppol and other public network document type identifier schemes and values, as well as any approved partner-specific identifiers. The 'value' field must exactly match an entry from the provided document identifier list. Any attempt to submit unsupported document types will result in a validation error. Further, when creating or updating a trading partner, the value provided for the attributes 'name' and 'supportedByAvalara' will be ignored.
consents Consents [optional]
extensions Array<Extension> Optional array used to carry additional metadata or configuration values that may be required by specific networks. When creating or updating a trading partner, the keys provided in the 'extensions' attribute must be selected from a predefined list of supported extensions. Using any unsupported keys will result in a validation error. [optional]

Example

require 'avalara_sdk'

instance = AvalaraSdk::EInvoicing::V1::TradingPartner.new(
  id: null,
  name: null,
  network: null,
  registration_date: null,
  identifiers: null,
  addresses: null,
  supported_document_types: null,
  consents: null,
  extensions: null
)