Companies
Get all companies
Returns all company profiles of the enterprise, possibly filtered by identifiers, names or other filters. Note this operation uses Pagination and supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/companies/getAll
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
ChainIds
array of string
optional, max 1000 items
Unique identifiers of the chain. If not specified, the operation returns data for all chains within scope of the Access Token.
MotherCompanyIds
array of string
optional, max 1000 items
Unique identifiers of mother Company
.
ExternalIdentifiers
array of string
optional, max 1000 items
Identifiers of Company from external system.
ActivityStates
array of Activity state
optional
Whether to return only active, only deleted, or both types of record. If not specified, both active and deleted records will be returned.
StartUtc
string
optional
Deprecated! Use CreatedUtc or UpdatedUtc instead.
EndUtc
string
optional
Deprecated! Use CreatedUtc or UpdatedUtc instead.
Company Time Filter
Created
Updated
Response
Cursor
string
optional
Unique identifier of the last and hence oldest company item returned. This can be used in Limitation in a subsequent request to fetch the next batch of older companies. If Limitation is specified in the request message, then Cursor will always be included in the response message; this is true even when using Extents set to false so that no actual data is returned.
Add company
Adds a new company. Note this operation supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/companies/add
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
ChainId
string
optional
Unique identifier of the chain. Required when using Portfolio Access Tokens, ignored otherwise.
Name
string
required
Name of the company.
MotherCompanyId
string
optional
Unique identifier of the mother company.
InvoicingEmail
string
optional
Email for issuing invoices to the company.
WebsiteUrl
string
optional
The website url of the company.
InvoiceDueInterval
string
optional
The maximum time, when the invoice has to be be paid in ISO 8601 duration format.
CreditRating
optional
Credit rating to define creditworthiness of the company.
Department
string
optional
The internal segmentation of a company, e.g. sales department.
DunsNumber
string
optional
The Dun & Bradstreet unique 9-digit DUNS number.
ReferenceIdentifier
string
optional
External system identifier - custom identifier used by an external system such as an external database.
AccountingCode
string
optional
Accounting code of the company.
AdditionalTaxIdentifier
string
optional
Additional tax identifer of the company.
BillingCode
string
optional
Billing code of the company.
Contact
string
optional
Other contact details, such as telephone, email or similar.
ContactPerson
string
optional
Contact person of the company.
Identifier
string
optional
Identifier of the company (e.g. legal identifier).
Iata
string
optional
Iata of the company.
Notes
string
optional
Notes of the company.
TaxIdentifier
string
optional
Tax identification number of the company.
Telephone
string
optional
Contact telephone number.
ExternalIdentifier
string
optional, max length 255 characters
Identifier of the company from external system.
Company Options Parameters
Options of the company.
Invoiceable
boolean
required
Whether the company is invoiceable or not.
AddFeesToInvoices
boolean
required
Whether the company has an additional fee applied for invoicing or not.
AddTaxDeductedPaymentToInvoices
boolean
required
Whether tax-deducted payments should be automatically added to invoices.
Credit rating parameters
Credit rating to define creditworthiness of the company.
Address parameters
New address details.
Line1
string
optional
First line of the address.
Line2
string
optional
Second line of the address.
City
string
optional
The city.
PostalCode
string
optional
Postal code.
CountryCode
string
optional
ISO 3166-1 code of the Country.
CountrySubdivisionCode
string
optional
ISO 3166-2 code of the administrative division, e.g. DE-BW
Response
Cursor
string
optional
Unique identifier of the last and hence oldest company item returned. This can be used in Limitation in a subsequent request to fetch the next batch of older companies. If Limitation is specified in the request message, then Cursor will always be included in the response message; this is true even when using Extents set to false so that no actual data is returned.
Company
Id
string
required
Unique identifier of the company.
ChainId
string
required
Unique identifier of the chain.
Name
string
required
Name of the company.
MotherCompanyId
string
optional
Unique identifier of mother company.
InvoicingEmail
string
optional
Email for issuing invoices to the company.
WebsiteUrl
string
optional
The website url of the company.
InvoiceDueInterval
string
optional
The maximum time, when the invoice has to be be paid in ISO 8601 duration format.
Department
string
optional
The internal segmentation of a company, e.g. sales department.
DunsNumber
string
optional
The Dun & Bradstreet unique 9-digit DUNS number.
ReferenceIdentifier
string
optional
External system identifier - custom identifier used by an external system such as an external database.
AccountingCode
string
optional
Accounting code of the company.
AdditionalTaxIdentifier
string
optional
Additional tax identifier of the company.
BillingCode
string
optional
Billing code of the company.
Contact
string
optional
Other contact details, such as telephone, email or similar.
ContactPerson
string
optional
Contact person of the company.
Identifier
string
optional
Other identifier of the company, e.g. legal identifier.
Iata
string
optional
Iata of the company.
IsActive
boolean
required
Whether the company is still active.
Notes
string
optional
Additional notes.
Number
integer
required
Unique number of the company.
TaxIdentifier
string
optional
Tax identification number of the company.
Telephone
string
optional
Contact telephone number.
MergeTargetId
string
optional
Unique identifier of the account (Customer) to which this company is linked.
ExternalIdentifier
string
optional, max length 255 characters
Identifier of company from external system.
ElectronicInvoiceIdentifier
string
optional
Electronic invoice identifier of the company. Deprecated! Use AdditionalTaxIdentifier
instead.
TaxIdentificationNumber
string
optional
Deprecated! Use TaxIdentifier instead.
Company Options
Options of the company.
Invoiceable
boolean
required
Whether the company is invoiceable or not.
AddFeesToInvoices
boolean
required
Whether the company has an additional fee applied for invoicing or not.
AddTaxDeductedPaymentToInvoices
boolean
required
Whether tax-deducted payments should be automatically added to invoices.
Credit Rating
Credit rating to define creditworthiness of the company.
Credit rating basic
CreditOk
- Company can book services.PaymentRequiredUpfront
- Company must pay upfront.LocalDecisionRequired
- Requires local approval.
Update company
Updates information of the company. Note this operation supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/companies/update
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
ChainId
string
optional
Unique identifier of the chain. Required when using Portfolio Access Tokens, ignored otherwise.
MotherCompanyId
optional
Unique identifier of the mother company (or null
if the mother company should not be updated).
InvoicingEmail
optional
Email for issuing invoices to the company (or null
if the email for issuing invoices should not be updated).
WebsiteUrl
optional
The website url of the company (or null
if the website url should not be updated).
InvoiceDueInterval
optional
The maximum time, when the invoice has to be be paid in ISO 8601 duration format (or null
if the interval should not be updated).
Options
optional
Options of the company (or null
if the company options should not be updated).
CreditRating
optional
Credit rating to define creditworthiness of the company (or null
if the credit rating should not be updated).
Department
optional
The internal segmentation of a company, e.g. sales department (or null
if the department should not be updated).
DunsNumber
optional
The Dun & Bradstreet unique 9-digit DUNS number (or null
if the Duns number should not be updated).
ReferenceIdentifier
optional
External system identifier - custom identifier used by an external system such as an external database (or null
if the identifier should not be updated).
AccountingCode
optional
Accounting code of the company (or null
if the accounting code should not be updated).
AdditionalTaxIdentifier
optional
Additional tax identifier of the company (or null
if the additional tax identifier should not be updated).
BillingCode
optional
Billing code of the company (or null
if the billing code should not be updated).
Contact
optional
Other contact details, such as telephone, email or similar (or null
if the contact should not be updated).
ContactPerson
optional
Contact person of the company (or null
if the contact person should not be updated).
Identifier
optional
Identifier of the company, e.g. legal identifier (or null
if the identifier should not be updated).
TaxIdentifier
optional
Tax identification number of the company (or null
if the tax identifier should not be updated).
Telephone
optional
Contact telephone number (or null
if the telephone number should not be updated).
ExternalIdentifier
optional, max length 255 characters
Identifier of the company from external system (or null
if the External Identifier should not be updated).
Company update options
Options of the company.
Invoiceable
optional
Whether the company is invoiceable or not (or null
if the Invoiceable
field should not be updated).
AddFeesToInvoices
optional
Whether the company has an additional fee applied for invoicing or not (or null
if the AddFeesToInvoices
field should not be updated).
AddTaxDeductedPaymentToInvoices
optional
Whether tax-deducted payments should be automatically added to invoices (or null
if the AddTaxDeductedPaymentToInvoices
field should not be updated).
Credit rating update parameters
Credit rating to define creditworthiness of the company.
Basic
optional
Credit status of a company (or null
if the credit status should not be updated).
Response
Cursor
string
optional
Unique identifier of the last and hence oldest company item returned. This can be used in Limitation in a subsequent request to fetch the next batch of older companies. If Limitation is specified in the request message, then Cursor will always be included in the response message; this is true even when using Extents set to false so that no actual data is returned.
Delete companies
Deletes specified companies.
Request
[PlatformAddress]/api/connector/v1/companies/delete
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
ChainId
string
optional
Unique identifier of the chain. Required when using Portfolio Access Tokens, ignored otherwise.
CompanyIds
array of string
required, max 1000 items
Unique identifiers of the companies to be deleted.
Response
Last updated