Accounting Automation - Organizations

Send organization

NameDescription
RootChain.io schema for an organization
PartyIdentifierA code and context that can be used to uniquely identify a location.
LocationA single location associated with the organization.
PhoneNumberA phone number and type object.
EmailAddressAn email address and type object.
ContactA single point of contact in an organization.
AccountingDetailsAll accounting specific details associated with how the organization is managed in the sender's system.
PaymentTermsThe agreed upon conditions for the debtor will remit payment and any discounts that may be provided for early repayment.
CustomPropertiesAn object an input converter can utilize to pass any custom data back into a flow that can potentially be utilized by an output converter.
NameData TypeDescriptionRequired
accounting_system_identifierStringThe 'primary key' uniquely identifying the organization in the sender's accounting system.YES
nameStringThe entity's name.YES
statusStringAn indicator of the location's current status in the sender's system. Allowed values: active, inactive.
native_organization_typesArray<String>
identifiersArray<PartyIdentifier>All applicable identifiers that can be used to identify the organization.
locationsArray<Location>All the addresses associated with the organization.
contactsArray<Contact>All the contacts associated with the organization.
accounting_detailsArray<AccountingDetails>All the accounting details associated with the organization.
custom_propertiesCustomProperties
created_atDateTimeThe date this record was created.
updated_atDateTimeThe date this record was updated.
NameData TypeDescriptionRequired
codeStringThe identifier codeYES
code_typeStringThe type of data that the identifier code represents. The accounting_system_external_identifier should be included to relay the "natural" identifier of the organization used by the sender's system. Typically this would represent what some systems call an Organization Code, EDI Identifier or Company Code. Allowed values: accounting_system_external_identifier, tax_id, iata, scac, legal_entity_id, duns.YES
code_countryStringThe 2 character ISO-3166-2 country code that the id code was issued in / by.
NameData TypeDescriptionRequired
accounting_system_identifierStringThe 'primary key' uniquely identifying the location in the sender's accounting system.
identifiersArray<PartyIdentifier>An array of all applicable identifiers that can be used to identify the location.
nameStringA name for the address. Typically the name of the business located at the address.
address_1StringThe address' street number and name.
address_2StringThe address' secondary address information.
cityStringThe address' city component.
country_subdivisionStringThe country specific subdivision code. This could represent a county, province, state, etc. In order to maximize interoperability, you should utilize the ISO 3166-2 country subdivision identifiers when providing this data.
countryStringThe address' 2 character ISO-3166-2 country Code.
postal_codeStringThe unique postal code identifier for the address.
unlocodeStringA UN/Locode identifier associated with the address.
phone_numbersArray<PhoneNumber>All phone numbers associated directly with the location but not necessarily an individual contact at that location. For instance, this may represent the primary front desk number and a fax number.
email_addressesArray<EmailAddress>All email addresses associated directly with the location.
statusStringAn indicator of the location's current status in the sender's system. Allowed values: active, inactive.
custom_propertiesCustomProperties
NameData TypeDescriptionRequired
phone_typeStringThe type of phone number. Allowed values: main, mobile, work, home, fax, other.YES
phone_numberStringThe actual phone number. When at all possible, to increase interoperability, phone numbers should be formatted according to RFC3966. Also see libphonenumber when parsing phone numbers.YES
NameData TypeDescriptionRequired
email_typeStringThe type of email address. Allowed values: main, work, personal, other.YES
email_addressStringThe email addressYES
NameData TypeDescriptionRequired
accounting_system_identifierStringThe 'primary key' uniquely identifying the contact in the sender's accounting system.
nameStringThe full name of the contact.
courtesy_titleStringA title used before the contact's fullname as a professional greeting.
job_titleStringThe contact's job title.
email_addressesArray<EmailAddress>All email addresses associated directly with the contact.
phone_numbersArray<PhoneNumber>
statusStringAn indicator of the contact's current status in the sender's system. Allowed values: active, inactive.
languageStringThe ISO 639-2 code identifying the primary language of the contact.
location_identifiersArray<String>The location identifiers for all the organization locations this contact is linked with.
custom_propertiesCustomProperties
NameData TypeDescriptionRequired
accounting_system_company_codeStringA specific sub-entity company code that these details utilized for. For systems that maintain no sub-entities or for details that are considered the default accross every company this property should not be sent. When sending or receiving invoices from/to this accounting system, this code should align with the invoice's company_code property.
apBooleanIf true, the organization is considered a vendor in the sender's accounting system and can expect to be a debtor on invoices issue by this organization.YES
ap_currencyStringThe ISO 4217 currency code indicating the default currency the organization expects to accounting system to remit payment in. This is NOT the currency of record that the accounting system will utilize for tracking payments to this organization.
ap_group_codeStringThe accounting system's native code that identifies the AP group this organization has been classified into.
ap_termsPaymentTerms
arBooleanIf true, the organization is considered a customer in the sender's accounting system and the sender will be listed as a creditor on invoices issued to the organization.YES
ar_currencyStringThe ISO 4217 currency code indicating the default currency the organization expects to accounting system to billed in. This is NOT the currency of record that the accounting system will utilize for tracking payments to this organization.
ar_group_codeStringThe accounting system's native code that identifies the AR group this organization has been classified into.
ar_termsPaymentTerms
custom_propertiesCustomProperties
NameData TypeDescriptionRequired
termsStringThe terms code identifying the type of payment terms in effect. net = NET, pia = Payment In Advance, cia = Cash In Advance, cod = Cash on Delivery, pod = Payment on Delivery, mfi = Month Following Invoice, eom = End of Month Allowed values: net, pia, cia, cod, pod, mfi, eom.YES
terms_numberDecimalThe value used to indicate the numeric portion of the terms code. Given the terms "NET 10", this value would be 10. Given the terms "15 MFI", this value would be 15.
discount_numberDecimalThe value used to indicate the time period portion of a discount. Typically, this is given in the number of days.
discount_percentageDecimalThe value used to indicate the overall percentage discount that will be provided for early payment. If an creditor is giving a 2.5% discount, this value should be sent as 2.5
NameData TypeDescriptionRequired