SelSup Developers

Public API · API Reference

Finance

Endpoints for Finance, including exact routes, parameters, request bodies, and expandable response schemas.

25 endpoints/api/financeStableMachine-readable description ↗
{ }

This page is backed by an editable standalone contract. Validate write operations with test data before production use.

/api/finance

Ready-to-use workflows

Ready-to-use workflows

01

Start using Finance

Use a dedicated API token and validate read operations with test data first.

  1. Keep the token server-side and send it in the Authorization header.
  2. Check required parameters and expand the request or response schema.
  3. Handle the HTTP status and the stable error field in application errors.

Data model

Data structures

Models are listed once here and can also be expanded directly from the endpoints that use them.

Account8 fields
accountIdinteger · int64

Account Id.

namestring

Name.

numberstring

Number.

clientIdinteger · int64

Client Id.

organizationIdinteger · int64

Organization Id.

bankBank

Bank.

accountNumberAccount

Account Number.

accountNameAccount

Account Name.

Address15 fields
idinteger · int32

Id.

postCodestring

Post Code.

countryCountry

Country.

regionRegion

Region.

regionIdinteger · int32

Region Id.

streetstring

Street.

housestring

House.

districtstring

District.

citystring

City.

localitystring

Locality.

buildingstring

Building.

flatstring

Flat.

shortstring

Short.

addressIdAddress

Address Id.

fullstring

Full.

Bank11 fields
bikstring

Bik.

namestring

Name.

addressstring

Address.

isBankboolean

Is Bank.

accountstring

Account.

integrationstring

Integration.

bankBikBank

Bank Bik.

bankNameBank

Bank Name.

bankAddressBank

Bank Address.

bankAccountBank

Bank Account.

bankIntegrationBank

Bank Integration.

Contractor14 fields
idinteger · int64

Id.

namestring

Name.

Required
versionIdinteger · int64

Version Id.

clientIdinteger · int64

Client Id.

read-only
createdUserstring

Created User.

read-only
lastIncomeDatestring · date-time

Last Income Date.

read-only
deletedboolean

Deleted.

read-only
organizationIdinteger · int64

Organization Id.

phoneNumberstring

Phone Number.

emailstring

Email.

contactNamestring

Contact Name.

moySkladIdstring

Moy Sklad Id.

urlstring

Url.

organizationOrganization

Organization.

read-only
Country6 fields
countryIdinteger · int32

Country Id.

namestring

Name.

code2string

Code2.

code3string

Code3.

namesobject

Names.

printNamestring

Print Name.

ExpenditureObject7 fields
expenditureIdinteger · int64

Expenditure Id.

namestring

Name.

typestring

Type.

clientIdinteger · int64

Client Id.

isCommonboolean

Is Common.

expenditureNameExpenditureObject

Expenditure Name.

expenditureTypeExpenditureObject

Expenditure Type.

Organization33 fields
idinteger · int64

Id.

read-only
namestring

Name.

Required
shortNamestring

Short Name.

taxTypestring

Tax Type.

taxRateinteger · int32

Tax Rate.

taxNdsinteger · int32

Tax Nds.

inputTaxNdsinteger · int32

Input Tax Nds.

outputTaxNdsinteger · int32

Output Tax Nds.

enableNewTaxCalculationboolean

Enable New Tax Calculation.

useNdsCostPriceboolean

Use Nds Cost Price.

innstring

Inn.

Required
kppstring

Kpp.

bankstring

Bank.

bikstring

Bik.

corrBillstring

Corr Bill.

billNumberstring

Bill Number.

stampPathstring

Stamp Path.

read-only
stampUrlstring

Stamp Url.

read-only
stampSizeinteger · int32

Stamp Size.

read-only
stampWidthinteger · int32

Stamp Width.

read-only
stampHeightinteger · int32

Stamp Height.

read-only
signaturePathstring

Signature Path.

read-only
signatureUrlstring

Signature Url.

read-only
signatureSizeinteger · int32

Signature Size.

read-only
signatureWidthinteger · int32

Signature Width.

read-only
signatureHeightinteger · int32

Signature Height.

read-only
ipPersonPerson

Ip Person.

formstring

Form.

Required
ipboolean

Ip.

clientIdinteger · int64

Client Id.

read-only
addressAddress

Address.

phoneNumberstring

Phone Number.

addressFullstring

Address Full.

read-only
Person14 fields
personIdinteger · int64

Person Id.

read-only
firstNamestring

First Name.

Required
lastNamestring

Last Name.

Required
surNamestring

Sur Name.

clientIdinteger · int64

Client Id.

read-only
positionPersonPosition

Position.

Required
versionIdinteger · int64

Version Id.

read-only
createdUserstring

Created User.

read-only
createdDatestring · date-time

Created Date.

read-only
deletedboolean

Deleted.

read-only
userIdinteger · int32

User Id.

read-only
hasChangesboolean

Has Changes.

fullNamestring

Full Name.

read-only
shortNamestring

Short Name.

read-only
PersonPosition7 fields
idinteger · int64

Id.

read-only
namestring

Name.

Required
deletedboolean

Deleted.

read-only
clientIdinteger · int64

Client Id.

read-only
defaultJobIdinteger · int64

Default Job Id.

createdUserstring

Created User.

read-only
createdDatestring · date-time

Created Date.

read-only
Region4 fields
regionIdinteger · int32

Region Id.

countryIdinteger · int32

Country Id.

namestring

Name.

regionSynonymsRegionSynonym[]

Region Synonyms.

RegionSynonym4 fields
idinteger · int64

Id.

regionIdinteger · int64

Region Id.

synonymstring

Synonym.

servicestring

Service.

Transaction42 fields
transactionIdinteger · int64

Transaction Id.

clientIdinteger · int64

Client Id.

expenditureIdinteger · int64

Expenditure Id.

expenditureExpenditureObject

Expenditure.

directionstring

Direction.

scheduleIdinteger · int64

Schedule Id.

commentstring

Comment.

contractorIdinteger · int64

Contractor Id.

contractorContractor

Contractor.

recipientKppinteger · int64

Recipient Kpp.

recipientInninteger · int64

Recipient Inn.

recipientAccountstring

Recipient Account.

recipientNamestring

Recipient Name.

payerKppinteger · int64

Payer Kpp.

payerInninteger · int64

Payer Inn.

payerAccountstring

Payer Account.

payerNamestring

Payer Name.

kbkstring

Kbk.

recipientAgentBikinteger · int64

Recipient Agent Bik.

recipientAgentAccountstring

Recipient Agent Account.

recipientAgentNamestring

Recipient Agent Name.

payerAgentBikinteger · int64

Payer Agent Bik.

payerAgentAccountstring

Payer Agent Account.

payerAgentNamestring

Payer Agent Name.

accountCurrencystring

Account Currency.

paymentAmountRubnumber · double

Payment Amount Rub.

paymentAmountnumber · double

Payment Amount.

paymentPurposestring

Payment Purpose.

paymentDocumentCodestring

Payment Document Code.

paymentDocumentNumberinteger · int64

Payment Document Number.

datestring · date-time

Date.

accountIdinteger · int64

Account Id.

accountAccount

Account.

organizationIdinteger · int64

Organization Id.

deletedboolean

Deleted.

includeInPnlboolean

Include In Pnl.

incomeIdinteger · int64

Income Id.

expenditureOperationTypestring

Expenditure Operation Type.

isSuppliersPurchaseTransactionboolean

Is Suppliers Purchase Transaction.

productIdinteger · int64

Product Id.

articlestring

Article.

barcodestring

Barcode.

TransactionSchedule18 fields
scheduleIdinteger · int64

Schedule Id.

directionstring

Direction.

commentstring

Comment.

accountIdinteger · int64

Account Id.

accountAccount

Account.

datestring · date-time

Date.

paymentAmountnumber · double

Payment Amount.

frequencystring

Frequency.

contractorIdinteger · int64

Contractor Id.

expenditureIdinteger · int64

Expenditure Id.

expenditureExpenditureObject

Expenditure.

contractorContractor

Contractor.

clientIdinteger · int64

Client Id.

organizationIdinteger · int64

Organization Id.

creatorstring

Creator.

createdDatestring · date-time

Created Date.

contractorInnstring

Contractor Inn.

includeInPnlboolean

Include In Pnl.

TmsTask25 fields
idinteger · int64

Id.

read-only
statusstring

Status.

read-only
typestring

Type.

read-only
namestring

Name.

clientIdinteger · int64

Client Id.

entityIdinteger · int64

Entity Id.

progressinteger · int32

Progress.

processedQuantityinteger · int32

Processed Quantity.

organizationIdinteger · int64

Organization Id.

priorityinteger · int32

Priority.

propertiesstring

Properties.

messagestring

Message.

messageParamsstring

Message Params.

createdDatestring · date-time

Created Date.

startDatestring · date-time

Start Date.

finishDatestring · date-time

Finish Date.

urlstring

Url.

inputFileUrlstring

Input File Url.

retryNumberinteger · int32

Retry Number.

userIdinteger · int32

User Id.

retryDatestring · date-time

Retry Date.

debugboolean

Debug.

forcedStartboolean

Forced Start.

servicestring

Service.

langstring

Lang.

TransactionFilter17 fields
limitinteger · int32

Limit.

pageinteger · int32

Page.

countboolean

Count.

sortBystring

Sort By.

ascendingboolean

Ascending.

querystring

Query.

dateFromstring · date-time

Date From.

dateTostring · date-time

Date To.

organizationIdinteger · int64

Organization Id.

organizationIdsinteger[]

Organization Ids.

servicesstring[]

Services.

directionstring

Direction.

incomeIdinteger · int64

Income Id.

contractorIdinteger · int64

Contractor Id.

timeZoneinteger · int32

Time Zone.

showIncomesboolean

Show Incomes.

accountIdinteger · int64

Account Id.

PeriodTransactionResponse5 fields
startDatestring · date-time

Start Date.

Required
endDatestring · date-time

End Date.

Required
transactionsTransactionStructure[]

Transactions.

Required
totalCostnumber · double

Total Cost.

percentDiffnumber · double

Percent Diff.

TransactionStructure10 fields
idinteger · int32

Id.

namestring

Name.

costnumber · double

Cost.

totalSalesnumber · double

Total Sales.

percentnumber · double

Percent.

absPercentnumber · double

Abs Percent.

costWithoutSppnumber · double

Cost Without Spp.

totalSalesWithoutSppnumber · double

Total Sales Without Spp.

percentWithoutSppnumber · double

Percent Without Spp.

directionstring

Direction.

Required
TransactionStructureResponse3 fields
currentPeriodPeriodTransactionResponse

Current Period.

Required
previousPeriodPeriodTransactionResponse

Previous Period.

differencePeriodTransactionResponse

Difference.

FindResponseTransaction1 fields
rowsTransaction[]

Rows.

TransactionSchedulerFilter6 fields
limitinteger · int32

Limit.

pageinteger · int32

Page.

countboolean

Count.

sortBystring

Sort By.

ascendingboolean

Ascending.

querystring

Query.

FindResponseTransactionSchedule1 fields
rowsTransactionSchedule[]

Rows.

AnalyticsRequest74 fields
periodstring

Period.

dateFromstring · date-time

Date From.

Required
dateTostring · date-time

Date To.

Required
servicesstring[]

Services.

categoriesinteger[]

Categories.

brandsinteger[]

Brands.

clientOrganizationIdinteger · int64

Client Organization Id.

organizationsinteger[]

Organizations.

idsinteger[]

Ids.

typestring

Type.

typesstring[]

Types.

statusstring

Status.

timeZoneinteger · int32

Time Zone.

previousDateFromstring · date-time

Previous Date From.

clientOrganizationIdsinteger[]

Client Organization Ids.

ignoreCreditboolean

Ignore Credit.

productAnalyticFieldstring

Product Analytic Field.

Required
querystring

Query.

withDuplicateboolean

With Duplicate.

withBonusboolean

With Bonus.

byOrgAndServiceboolean

By Org And Service.

byOrderTypeboolean

By Order Type.

limitinteger · int32

Limit.

pageinteger · int32

Page.

sortBystring

Sort By.

ascendingboolean

Ascending.

idinteger · int64

Id.

isMarketPlaceStructureboolean

Is Market Place Structure.

isDashboardboolean

Is Dashboard.

analyticsFieldstring

Analytics Field.

planDayCountinteger · int32

Plan Day Count.

daysToSupplyinteger · int32

Days To Supply.

plannedSupplyDatestring · date-time

Planned Supply Date.

groupByViewboolean

Group By View.

warehousesinteger[]

Warehouses.

salesModelsstring[]

Sales Models.

aggregationstring

Aggregation.

columnsFileExportColumn[]

Columns.

regionsstring[]

Regions.

groupboolean

Group.

calculationByOrdersboolean

Calculation By Orders.

sourceReportstring

Source Report.

skipDayWithoutStocksboolean

Skip Day Without Stocks.

replaceSetsByComponentsboolean

Replace Sets By Components.

distributeFbsByWarehouseboolean

Distribute Fbs By Warehouse.

distributeFbsStockboolean

Distribute Fbs Stock.

ignoreDumpingboolean

Ignore Dumping.

isSaleStructureboolean

Is Sale Structure.

isAveragePerOneUnitboolean

Is Average Per One Unit.

updateDateboolean

Update Date.

useWeightedGroupboolean

Use Weighted Group.

isFindirRequestboolean

Is Findir Request.

brandIdsinteger[]

Brand Ids.

categoryIdsinteger[]

Category Ids.

articlesstring[]

Articles.

colorsstring[]

Colors.

sizesstring[]

Sizes.

barcodesstring[]

Barcodes.

tagIdsinteger[]

Tag Ids.

penaltyFromnumber · double

Penalty From.

penaltyTonumber · double

Penalty To.

logisticsFromnumber · double

Logistics From.

logisticsTonumber · double

Logistics To.

marginFromnumber · double

Margin From.

marginTonumber · double

Margin To.

salesAmountFromnumber · double

Sales Amount From.

salesAmountTonumber · double

Sales Amount To.

totalSalesAmountFromnumber · double

Total Sales Amount From.

totalSalesAmountTonumber · double

Total Sales Amount To.

grossProfitFromnumber · double

Gross Profit From.

grossProfitTonumber · double

Gross Profit To.

taxNdsinteger · int32

Tax Nds.

useOsnoboolean

Use Osno.

unmatchboolean

Unmatch.

FileExportColumn5 fields
idinteger · int64

Id.

fileExportIdinteger · int64

File Export Id.

columnNamestring

Column Name.

columnOrderinteger · int32

Column Order.

isEnabledboolean

Is Enabled.

Error contract

How application errors are returned

The error code is identical in every locale, while the user-facing message is translated by the server. Build application logic around error and use localMessage for display only.

error

Stable machine-readable code for integration logic.

localMessage

Display-ready message in the API token user's language.

params

Values interpolated by the server into the localized message template.

localMessage uses the lang field of the user who owns the API token. The documentation language and Accept-Language header do not change it; Russian is used when the user has no language configured.

RUUser locale is ru
{
  "error": "error_brand_already_exists",
  "localMessage": "Бренд Base уже существует",
  "params": {
    "name": "Base"
  }
}
ENUser locale is en
{
  "error": "error_brand_already_exists",
  "localMessage": "Brand Base already exists",
  "params": {
    "name": "Base"
  }
}

Endpoints

Endpoints

PUT

Put Transaction

/api/finance/transaction/{id}
Token with write access

Put Transaction using PUT /api/finance/transaction/{id}.

Path parameters

FieldTypeRequiredDescription
id integer · int64 Yes Id.

Request body

application/json
Object fieldsTransaction
FieldTypeRequiredDescription
transactionId integer · int64 No Transaction Id.
clientId integer · int64 No Client Id.
expenditureId integer · int64 No Expenditure Id.
expenditure ExpenditureObject No Expenditure.
Object fields ExpenditureObject
FieldTypeRequiredDescription
expenditureId integer · int64 No Expenditure Id.
name string No Name.
type stringDEBIT, CREDIT No Type.
clientId integer · int64 No Client Id.
isCommon boolean No Is Common.
expenditureName ExpenditureObject No Expenditure Name.
expenditureType ExpenditureObject No Expenditure Type.
direction stringDEBIT, CREDIT No Direction.
scheduleId integer · int64 No Schedule Id.
comment string No Comment.
contractorId integer · int64 No Contractor Id.
contractor Contractor No Contractor.
Object fields Contractor
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
versionId integer · int64 No Version Id.
clientId integer · int64 No Client Id.
createdUser string No Created User.
lastIncomeDate string · date-time No Last Income Date.
deleted boolean No Deleted.
organizationId integer · int64 No Organization Id.
phoneNumber string No Phone Number.
email string No Email.
contactName string No Contact Name.
moySkladId string No Moy Sklad Id.
url string No Url.
organization Organization No Organization.
Object fields Organization
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
shortName string No Short Name.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED No Tax Type.
taxRate integer · int32 No Tax Rate.
taxNds integer · int32 No Tax Nds.
inputTaxNds integer · int32 No Input Tax Nds.
outputTaxNds integer · int32 No Output Tax Nds.
enableNewTaxCalculation boolean No Enable New Tax Calculation.
useNdsCostPrice boolean No Use Nds Cost Price.
inn string Yes Inn.
kpp string No Kpp.
bank string No Bank.
bik string No Bik.
corrBill string No Corr Bill.
billNumber string No Bill Number.
stampPath string No Stamp Path.
stampUrl string No Stamp Url.
stampSize integer · int32 No Stamp Size.
stampWidth integer · int32 No Stamp Width.
stampHeight integer · int32 No Stamp Height.
signaturePath string No Signature Path.
signatureUrl string No Signature Url.
signatureSize integer · int32 No Signature Size.
signatureWidth integer · int32 No Signature Width.
signatureHeight integer · int32 No Signature Height.
ipPerson Person No Ip Person.
form stringOOO, IP, SELF_EMPLOYED Yes Form.
ip boolean No Ip.
clientId integer · int64 No Client Id.
address Address No Address.
phoneNumber string No Phone Number.
addressFull string No Address Full.
recipientKpp integer · int64 No Recipient Kpp.
recipientInn integer · int64 No Recipient Inn.
recipientAccount string No Recipient Account.
recipientName string No Recipient Name.
payerKpp integer · int64 No Payer Kpp.
payerInn integer · int64 No Payer Inn.
payerAccount string No Payer Account.
payerName string No Payer Name.
kbk string No Kbk.
recipientAgentBik integer · int64 No Recipient Agent Bik.
recipientAgentAccount string No Recipient Agent Account.
recipientAgentName string No Recipient Agent Name.
payerAgentBik integer · int64 No Payer Agent Bik.
payerAgentAccount string No Payer Agent Account.
payerAgentName string No Payer Agent Name.
accountCurrency string No Account Currency.
paymentAmountRub number · double No Payment Amount Rub.
paymentAmount number · double No Payment Amount.
paymentPurpose string No Payment Purpose.
paymentDocumentCode string No Payment Document Code.
paymentDocumentNumber integer · int64 No Payment Document Number.
date string · date-time No Date.
accountId integer · int64 No Account Id.
account Account No Account.
Object fields Account
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
Object fields Bank
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
accountNumber Account No Account Number.
accountName Account No Account Name.
organizationId integer · int64 No Organization Id.
deleted boolean No Deleted.
includeInPnl boolean No Include In Pnl.
incomeId integer · int64 No Income Id.
expenditureOperationType stringWILDBERRIES_PAYMENT, OZON_PAYMENT, YANDEX_MARKET_PAYMENT, OTHER_INCOME, OTHER_EXPENSES, PAYMENT_TO_SUPPLIER, PURCHASE No Expenditure Operation Type.
isSuppliersPurchaseTransaction boolean No Is Suppliers Purchase Transaction.
productId integer · int64 No Product Id.
article string No Article.
barcode string No Barcode.
curl --request PUT 'https://api.selsup.ru/api/finance/transaction/1001' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "transactionId": 1001,
  "clientId": 1001,
  "expenditureId": 1001,
  "expenditure": "string",
  "direction": "DEBIT",
  "scheduleId": 1001
}'

Success response

200
Object fields Transaction
FieldTypeRequiredDescription
transactionId integer · int64 No Transaction Id.
clientId integer · int64 No Client Id.
expenditureId integer · int64 No Expenditure Id.
expenditure ExpenditureObject No Expenditure.
Object fields ExpenditureObject
FieldTypeRequiredDescription
expenditureId integer · int64 No Expenditure Id.
name string No Name.
type stringDEBIT, CREDIT No Type.
clientId integer · int64 No Client Id.
isCommon boolean No Is Common.
expenditureName ExpenditureObject No Expenditure Name.
expenditureType ExpenditureObject No Expenditure Type.
direction stringDEBIT, CREDIT No Direction.
scheduleId integer · int64 No Schedule Id.
comment string No Comment.
contractorId integer · int64 No Contractor Id.
contractor Contractor No Contractor.
Object fields Contractor
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
versionId integer · int64 No Version Id.
clientId integer · int64 No Client Id.
createdUser string No Created User.
lastIncomeDate string · date-time No Last Income Date.
deleted boolean No Deleted.
organizationId integer · int64 No Organization Id.
phoneNumber string No Phone Number.
email string No Email.
contactName string No Contact Name.
moySkladId string No Moy Sklad Id.
url string No Url.
organization Organization No Organization.
Object fields Organization
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
shortName string No Short Name.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED No Tax Type.
taxRate integer · int32 No Tax Rate.
taxNds integer · int32 No Tax Nds.
inputTaxNds integer · int32 No Input Tax Nds.
outputTaxNds integer · int32 No Output Tax Nds.
enableNewTaxCalculation boolean No Enable New Tax Calculation.
useNdsCostPrice boolean No Use Nds Cost Price.
inn string Yes Inn.
kpp string No Kpp.
bank string No Bank.
bik string No Bik.
corrBill string No Corr Bill.
billNumber string No Bill Number.
stampPath string No Stamp Path.
stampUrl string No Stamp Url.
stampSize integer · int32 No Stamp Size.
stampWidth integer · int32 No Stamp Width.
stampHeight integer · int32 No Stamp Height.
signaturePath string No Signature Path.
signatureUrl string No Signature Url.
signatureSize integer · int32 No Signature Size.
signatureWidth integer · int32 No Signature Width.
signatureHeight integer · int32 No Signature Height.
ipPerson Person No Ip Person.
form stringOOO, IP, SELF_EMPLOYED Yes Form.
ip boolean No Ip.
clientId integer · int64 No Client Id.
address Address No Address.
phoneNumber string No Phone Number.
addressFull string No Address Full.
recipientKpp integer · int64 No Recipient Kpp.
recipientInn integer · int64 No Recipient Inn.
recipientAccount string No Recipient Account.
recipientName string No Recipient Name.
payerKpp integer · int64 No Payer Kpp.
payerInn integer · int64 No Payer Inn.
payerAccount string No Payer Account.
payerName string No Payer Name.
kbk string No Kbk.
recipientAgentBik integer · int64 No Recipient Agent Bik.
recipientAgentAccount string No Recipient Agent Account.
recipientAgentName string No Recipient Agent Name.
payerAgentBik integer · int64 No Payer Agent Bik.
payerAgentAccount string No Payer Agent Account.
payerAgentName string No Payer Agent Name.
accountCurrency string No Account Currency.
paymentAmountRub number · double No Payment Amount Rub.
paymentAmount number · double No Payment Amount.
paymentPurpose string No Payment Purpose.
paymentDocumentCode string No Payment Document Code.
paymentDocumentNumber integer · int64 No Payment Document Number.
date string · date-time No Date.
accountId integer · int64 No Account Id.
account Account No Account.
Object fields Account
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
Object fields Bank
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
accountNumber Account No Account Number.
accountName Account No Account Name.
organizationId integer · int64 No Organization Id.
deleted boolean No Deleted.
includeInPnl boolean No Include In Pnl.
incomeId integer · int64 No Income Id.
expenditureOperationType stringWILDBERRIES_PAYMENT, OZON_PAYMENT, YANDEX_MARKET_PAYMENT, OTHER_INCOME, OTHER_EXPENSES, PAYMENT_TO_SUPPLIER, PURCHASE No Expenditure Operation Type.
isSuppliersPurchaseTransaction boolean No Is Suppliers Purchase Transaction.
productId integer · int64 No Product Id.
article string No Article.
barcode string No Barcode.
{
  "transactionId": 1001,
  "clientId": 1001,
  "expenditureId": 1001,
  "expenditure": "string",
  "direction": "DEBIT",
  "scheduleId": 1001
}
Errors16

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_comment_max_length
The maximum length of the payment purpose is no more than 250 characters

Endpoint-specific error. Use the stable error_comment_max_length code in application logic; localMessage contains the translation shown above.

400error_contractor_not_found
Supplier not found

Endpoint-specific error. Use the stable error_contractor_not_found code in application logic; localMessage contains the translation shown above.

400error_date_not_found
date not found

Endpoint-specific error. Use the stable error_date_not_found code in application logic; localMessage contains the translation shown above.

400error_empty_direction
Payment type not specified

Endpoint-specific error. Use the stable error_empty_direction code in application logic; localMessage contains the translation shown above.

400error_empty_sum
Amount not specified

Endpoint-specific error. Use the stable error_empty_sum code in application logic; localMessage contains the translation shown above.

400error_expenditure_type_not_found
expenditure type not found

Endpoint-specific error. Use the stable error_expenditure_type_not_found code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

400error_no_correct_sum
incorrect amount

Endpoint-specific error. Use the stable error_no_correct_sum code in application logic; localMessage contains the translation shown above.

400error_no_correct_sum_rub
incorrect amount in rubles

Endpoint-specific error. Use the stable error_no_correct_sum_rub code in application logic; localMessage contains the translation shown above.

400error_organization_not_found
Organization not found

Endpoint-specific error. Use the stable error_organization_not_found code in application logic; localMessage contains the translation shown above.

400error_product_not_found
Product not found

Endpoint-specific error. Use the stable error_product_not_found code in application logic; localMessage contains the translation shown above.

400error_transaction_id_not_found
transaction ID not found

Endpoint-specific error. Use the stable error_transaction_id_not_found code in application logic; localMessage contains the translation shown above.

400error_wrong_sum
Amount must be a positive number

Endpoint-specific error. Use the stable error_wrong_sum code in application logic; localMessage contains the translation shown above.

POST

Update Schedule

/api/finance/updateSchedule
Token with write access

Update Schedule using POST /api/finance/updateSchedule.

Request body

application/json
Object fieldsTransactionSchedule
FieldTypeRequiredDescription
scheduleId integer · int64 No Schedule Id.
direction stringDEBIT, CREDIT No Direction.
comment string No Comment.
accountId integer · int64 No Account Id.
account Account No Account.
Object fields Account
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
Object fields Bank
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
accountNumber Account No Account Number.
accountName Account No Account Name.
date string · date-time No Date.
paymentAmount number · double No Payment Amount.
frequency stringWEEK, MONTH, QUARTER, YEAR No Frequency.
contractorId integer · int64 No Contractor Id.
expenditureId integer · int64 No Expenditure Id.
expenditure ExpenditureObject No Expenditure.
Object fields ExpenditureObject
FieldTypeRequiredDescription
expenditureId integer · int64 No Expenditure Id.
name string No Name.
type stringDEBIT, CREDIT No Type.
clientId integer · int64 No Client Id.
isCommon boolean No Is Common.
expenditureName ExpenditureObject No Expenditure Name.
expenditureType ExpenditureObject No Expenditure Type.
contractor Contractor No Contractor.
Object fields Contractor
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
versionId integer · int64 No Version Id.
clientId integer · int64 No Client Id.
createdUser string No Created User.
lastIncomeDate string · date-time No Last Income Date.
deleted boolean No Deleted.
organizationId integer · int64 No Organization Id.
phoneNumber string No Phone Number.
email string No Email.
contactName string No Contact Name.
moySkladId string No Moy Sklad Id.
url string No Url.
organization Organization No Organization.
Object fields Organization
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
shortName string No Short Name.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED No Tax Type.
taxRate integer · int32 No Tax Rate.
taxNds integer · int32 No Tax Nds.
inputTaxNds integer · int32 No Input Tax Nds.
outputTaxNds integer · int32 No Output Tax Nds.
enableNewTaxCalculation boolean No Enable New Tax Calculation.
useNdsCostPrice boolean No Use Nds Cost Price.
inn string Yes Inn.
kpp string No Kpp.
bank string No Bank.
bik string No Bik.
corrBill string No Corr Bill.
billNumber string No Bill Number.
stampPath string No Stamp Path.
stampUrl string No Stamp Url.
stampSize integer · int32 No Stamp Size.
stampWidth integer · int32 No Stamp Width.
stampHeight integer · int32 No Stamp Height.
signaturePath string No Signature Path.
signatureUrl string No Signature Url.
signatureSize integer · int32 No Signature Size.
signatureWidth integer · int32 No Signature Width.
signatureHeight integer · int32 No Signature Height.
ipPerson Person No Ip Person.
form stringOOO, IP, SELF_EMPLOYED Yes Form.
ip boolean No Ip.
clientId integer · int64 No Client Id.
address Address No Address.
phoneNumber string No Phone Number.
addressFull string No Address Full.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
creator string No Creator.
createdDate string · date-time No Created Date.
contractorInn string No Contractor Inn.
includeInPnl boolean No Include In Pnl.
curl --request POST 'https://api.selsup.ru/api/finance/updateSchedule' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "scheduleId": 1001,
  "direction": "DEBIT",
  "comment": "string",
  "accountId": 1001,
  "account": "string",
  "date": "2026-01-15T12:00:00Z"
}'

Success response

200
Object fields TransactionSchedule
FieldTypeRequiredDescription
scheduleId integer · int64 No Schedule Id.
direction stringDEBIT, CREDIT No Direction.
comment string No Comment.
accountId integer · int64 No Account Id.
account Account No Account.
Object fields Account
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
Object fields Bank
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
accountNumber Account No Account Number.
accountName Account No Account Name.
date string · date-time No Date.
paymentAmount number · double No Payment Amount.
frequency stringWEEK, MONTH, QUARTER, YEAR No Frequency.
contractorId integer · int64 No Contractor Id.
expenditureId integer · int64 No Expenditure Id.
expenditure ExpenditureObject No Expenditure.
Object fields ExpenditureObject
FieldTypeRequiredDescription
expenditureId integer · int64 No Expenditure Id.
name string No Name.
type stringDEBIT, CREDIT No Type.
clientId integer · int64 No Client Id.
isCommon boolean No Is Common.
expenditureName ExpenditureObject No Expenditure Name.
expenditureType ExpenditureObject No Expenditure Type.
contractor Contractor No Contractor.
Object fields Contractor
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
versionId integer · int64 No Version Id.
clientId integer · int64 No Client Id.
createdUser string No Created User.
lastIncomeDate string · date-time No Last Income Date.
deleted boolean No Deleted.
organizationId integer · int64 No Organization Id.
phoneNumber string No Phone Number.
email string No Email.
contactName string No Contact Name.
moySkladId string No Moy Sklad Id.
url string No Url.
organization Organization No Organization.
Object fields Organization
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
shortName string No Short Name.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED No Tax Type.
taxRate integer · int32 No Tax Rate.
taxNds integer · int32 No Tax Nds.
inputTaxNds integer · int32 No Input Tax Nds.
outputTaxNds integer · int32 No Output Tax Nds.
enableNewTaxCalculation boolean No Enable New Tax Calculation.
useNdsCostPrice boolean No Use Nds Cost Price.
inn string Yes Inn.
kpp string No Kpp.
bank string No Bank.
bik string No Bik.
corrBill string No Corr Bill.
billNumber string No Bill Number.
stampPath string No Stamp Path.
stampUrl string No Stamp Url.
stampSize integer · int32 No Stamp Size.
stampWidth integer · int32 No Stamp Width.
stampHeight integer · int32 No Stamp Height.
signaturePath string No Signature Path.
signatureUrl string No Signature Url.
signatureSize integer · int32 No Signature Size.
signatureWidth integer · int32 No Signature Width.
signatureHeight integer · int32 No Signature Height.
ipPerson Person No Ip Person.
form stringOOO, IP, SELF_EMPLOYED Yes Form.
ip boolean No Ip.
clientId integer · int64 No Client Id.
address Address No Address.
phoneNumber string No Phone Number.
addressFull string No Address Full.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
creator string No Creator.
createdDate string · date-time No Created Date.
contractorInn string No Contractor Inn.
includeInPnl boolean No Include In Pnl.
{
  "scheduleId": 1001,
  "direction": "DEBIT",
  "comment": "string",
  "accountId": 1001,
  "account": "string",
  "date": "2026-01-15T12:00:00Z"
}
Errors13

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_comment_max_length
The maximum length of the payment purpose is no more than 250 characters

Endpoint-specific error. Use the stable error_comment_max_length code in application logic; localMessage contains the translation shown above.

400error_empty_direction
Payment type not specified

Endpoint-specific error. Use the stable error_empty_direction code in application logic; localMessage contains the translation shown above.

400error_empty_expenditure
Expenses not specified

Endpoint-specific error. Use the stable error_empty_expenditure code in application logic; localMessage contains the translation shown above.

400error_empty_frequency
Payment frequency not specified

Endpoint-specific error. Use the stable error_empty_frequency code in application logic; localMessage contains the translation shown above.

400error_empty_sum
Amount not specified

Endpoint-specific error. Use the stable error_empty_sum code in application logic; localMessage contains the translation shown above.

400error_empty_transaction_comment
Purpose of payment not specified

Endpoint-specific error. Use the stable error_empty_transaction_comment code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

400error_organization_not_found
Organization not found

Endpoint-specific error. Use the stable error_organization_not_found code in application logic; localMessage contains the translation shown above.

400error_wrong_date
incorrect date

Endpoint-specific error. Use the stable error_wrong_date code in application logic; localMessage contains the translation shown above.

400error_wrong_sum
Amount must be a positive number

Endpoint-specific error. Use the stable error_wrong_sum code in application logic; localMessage contains the translation shown above.

POST

Update Expenditure

/api/finance/updateExpenditure
Token with write access

Update Expenditure using POST /api/finance/updateExpenditure.

Request body

application/json
Object fieldsExpenditureObject
FieldTypeRequiredDescription
expenditureId integer · int64 No Expenditure Id.
name string No Name.
type stringDEBIT, CREDIT No Type.
clientId integer · int64 No Client Id.
isCommon boolean No Is Common.
expenditureName ExpenditureObject No Expenditure Name.
expenditureType ExpenditureObject No Expenditure Type.
curl --request POST 'https://api.selsup.ru/api/finance/updateExpenditure' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "expenditureId": 1001,
  "name": "Example",
  "type": "DEBIT",
  "clientId": 1001,
  "isCommon": false,
  "expenditureName": "Example"
}'

Success response

200
Object fields ExpenditureObject
FieldTypeRequiredDescription
expenditureId integer · int64 No Expenditure Id.
name string No Name.
type stringDEBIT, CREDIT No Type.
clientId integer · int64 No Client Id.
isCommon boolean No Is Common.
expenditureName ExpenditureObject No Expenditure Name.
expenditureType ExpenditureObject No Expenditure Type.
{
  "expenditureId": 1001,
  "name": "Example",
  "type": "DEBIT",
  "clientId": 1001,
  "isCommon": false,
  "expenditureName": "Example"
}
Errors7

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_empty_direction
Payment type not specified

Endpoint-specific error. Use the stable error_empty_direction code in application logic; localMessage contains the translation shown above.

400error_empty_name
Title not specified

Endpoint-specific error. Use the stable error_empty_name code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

400error_not_uniq_expenditure
An expense item with the same name already exists

Endpoint-specific error. Use the stable error_not_uniq_expenditure code in application logic; localMessage contains the translation shown above.

POST

Update Account

/api/finance/updateAccount
Token with write access

Update Account using POST /api/finance/updateAccount.

Request body

application/json
Object fieldsAccount
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
Object fields Bank
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
accountNumber Account No Account Number.
accountName Account No Account Name.
curl --request POST 'https://api.selsup.ru/api/finance/updateAccount' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "accountId": 1001,
  "name": "Example",
  "number": "string",
  "clientId": 1001,
  "organizationId": 1001,
  "bank": "string"
}'

Success response

200
Object fields Account
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
Object fields Bank
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
accountNumber Account No Account Number.
accountName Account No Account Name.
{
  "accountId": 1001,
  "name": "Example",
  "number": "string",
  "clientId": 1001,
  "organizationId": 1001,
  "bank": "string"
}
Errors8

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_empty_account_name
Account name not specified

Endpoint-specific error. Use the stable error_empty_account_name code in application logic; localMessage contains the translation shown above.

400error_empty_account_number
empty account number

Endpoint-specific error. Use the stable error_empty_account_number code in application logic; localMessage contains the translation shown above.

400error_empty_bank
Bank not specified

Endpoint-specific error. Use the stable error_empty_bank code in application logic; localMessage contains the translation shown above.

400error_empty_organization
Not selected Organization

Endpoint-specific error. Use the stable error_empty_organization code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

POST

Post Transaction

/api/finance/transaction
Token with write access

Post Transaction using POST /api/finance/transaction.

Request body

application/json
Object fieldsTransaction
FieldTypeRequiredDescription
transactionId integer · int64 No Transaction Id.
clientId integer · int64 No Client Id.
expenditureId integer · int64 No Expenditure Id.
expenditure ExpenditureObject No Expenditure.
Object fields ExpenditureObject
FieldTypeRequiredDescription
expenditureId integer · int64 No Expenditure Id.
name string No Name.
type stringDEBIT, CREDIT No Type.
clientId integer · int64 No Client Id.
isCommon boolean No Is Common.
expenditureName ExpenditureObject No Expenditure Name.
expenditureType ExpenditureObject No Expenditure Type.
direction stringDEBIT, CREDIT No Direction.
scheduleId integer · int64 No Schedule Id.
comment string No Comment.
contractorId integer · int64 No Contractor Id.
contractor Contractor No Contractor.
Object fields Contractor
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
versionId integer · int64 No Version Id.
clientId integer · int64 No Client Id.
createdUser string No Created User.
lastIncomeDate string · date-time No Last Income Date.
deleted boolean No Deleted.
organizationId integer · int64 No Organization Id.
phoneNumber string No Phone Number.
email string No Email.
contactName string No Contact Name.
moySkladId string No Moy Sklad Id.
url string No Url.
organization Organization No Organization.
Object fields Organization
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
shortName string No Short Name.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED No Tax Type.
taxRate integer · int32 No Tax Rate.
taxNds integer · int32 No Tax Nds.
inputTaxNds integer · int32 No Input Tax Nds.
outputTaxNds integer · int32 No Output Tax Nds.
enableNewTaxCalculation boolean No Enable New Tax Calculation.
useNdsCostPrice boolean No Use Nds Cost Price.
inn string Yes Inn.
kpp string No Kpp.
bank string No Bank.
bik string No Bik.
corrBill string No Corr Bill.
billNumber string No Bill Number.
stampPath string No Stamp Path.
stampUrl string No Stamp Url.
stampSize integer · int32 No Stamp Size.
stampWidth integer · int32 No Stamp Width.
stampHeight integer · int32 No Stamp Height.
signaturePath string No Signature Path.
signatureUrl string No Signature Url.
signatureSize integer · int32 No Signature Size.
signatureWidth integer · int32 No Signature Width.
signatureHeight integer · int32 No Signature Height.
ipPerson Person No Ip Person.
form stringOOO, IP, SELF_EMPLOYED Yes Form.
ip boolean No Ip.
clientId integer · int64 No Client Id.
address Address No Address.
phoneNumber string No Phone Number.
addressFull string No Address Full.
recipientKpp integer · int64 No Recipient Kpp.
recipientInn integer · int64 No Recipient Inn.
recipientAccount string No Recipient Account.
recipientName string No Recipient Name.
payerKpp integer · int64 No Payer Kpp.
payerInn integer · int64 No Payer Inn.
payerAccount string No Payer Account.
payerName string No Payer Name.
kbk string No Kbk.
recipientAgentBik integer · int64 No Recipient Agent Bik.
recipientAgentAccount string No Recipient Agent Account.
recipientAgentName string No Recipient Agent Name.
payerAgentBik integer · int64 No Payer Agent Bik.
payerAgentAccount string No Payer Agent Account.
payerAgentName string No Payer Agent Name.
accountCurrency string No Account Currency.
paymentAmountRub number · double No Payment Amount Rub.
paymentAmount number · double No Payment Amount.
paymentPurpose string No Payment Purpose.
paymentDocumentCode string No Payment Document Code.
paymentDocumentNumber integer · int64 No Payment Document Number.
date string · date-time No Date.
accountId integer · int64 No Account Id.
account Account No Account.
Object fields Account
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
Object fields Bank
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
accountNumber Account No Account Number.
accountName Account No Account Name.
organizationId integer · int64 No Organization Id.
deleted boolean No Deleted.
includeInPnl boolean No Include In Pnl.
incomeId integer · int64 No Income Id.
expenditureOperationType stringWILDBERRIES_PAYMENT, OZON_PAYMENT, YANDEX_MARKET_PAYMENT, OTHER_INCOME, OTHER_EXPENSES, PAYMENT_TO_SUPPLIER, PURCHASE No Expenditure Operation Type.
isSuppliersPurchaseTransaction boolean No Is Suppliers Purchase Transaction.
productId integer · int64 No Product Id.
article string No Article.
barcode string No Barcode.
curl --request POST 'https://api.selsup.ru/api/finance/transaction' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "transactionId": 1001,
  "clientId": 1001,
  "expenditureId": 1001,
  "expenditure": "string",
  "direction": "DEBIT",
  "scheduleId": 1001
}'

Success response

200
Object fields Transaction
FieldTypeRequiredDescription
transactionId integer · int64 No Transaction Id.
clientId integer · int64 No Client Id.
expenditureId integer · int64 No Expenditure Id.
expenditure ExpenditureObject No Expenditure.
Object fields ExpenditureObject
FieldTypeRequiredDescription
expenditureId integer · int64 No Expenditure Id.
name string No Name.
type stringDEBIT, CREDIT No Type.
clientId integer · int64 No Client Id.
isCommon boolean No Is Common.
expenditureName ExpenditureObject No Expenditure Name.
expenditureType ExpenditureObject No Expenditure Type.
direction stringDEBIT, CREDIT No Direction.
scheduleId integer · int64 No Schedule Id.
comment string No Comment.
contractorId integer · int64 No Contractor Id.
contractor Contractor No Contractor.
Object fields Contractor
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
versionId integer · int64 No Version Id.
clientId integer · int64 No Client Id.
createdUser string No Created User.
lastIncomeDate string · date-time No Last Income Date.
deleted boolean No Deleted.
organizationId integer · int64 No Organization Id.
phoneNumber string No Phone Number.
email string No Email.
contactName string No Contact Name.
moySkladId string No Moy Sklad Id.
url string No Url.
organization Organization No Organization.
Object fields Organization
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
shortName string No Short Name.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED No Tax Type.
taxRate integer · int32 No Tax Rate.
taxNds integer · int32 No Tax Nds.
inputTaxNds integer · int32 No Input Tax Nds.
outputTaxNds integer · int32 No Output Tax Nds.
enableNewTaxCalculation boolean No Enable New Tax Calculation.
useNdsCostPrice boolean No Use Nds Cost Price.
inn string Yes Inn.
kpp string No Kpp.
bank string No Bank.
bik string No Bik.
corrBill string No Corr Bill.
billNumber string No Bill Number.
stampPath string No Stamp Path.
stampUrl string No Stamp Url.
stampSize integer · int32 No Stamp Size.
stampWidth integer · int32 No Stamp Width.
stampHeight integer · int32 No Stamp Height.
signaturePath string No Signature Path.
signatureUrl string No Signature Url.
signatureSize integer · int32 No Signature Size.
signatureWidth integer · int32 No Signature Width.
signatureHeight integer · int32 No Signature Height.
ipPerson Person No Ip Person.
form stringOOO, IP, SELF_EMPLOYED Yes Form.
ip boolean No Ip.
clientId integer · int64 No Client Id.
address Address No Address.
phoneNumber string No Phone Number.
addressFull string No Address Full.
recipientKpp integer · int64 No Recipient Kpp.
recipientInn integer · int64 No Recipient Inn.
recipientAccount string No Recipient Account.
recipientName string No Recipient Name.
payerKpp integer · int64 No Payer Kpp.
payerInn integer · int64 No Payer Inn.
payerAccount string No Payer Account.
payerName string No Payer Name.
kbk string No Kbk.
recipientAgentBik integer · int64 No Recipient Agent Bik.
recipientAgentAccount string No Recipient Agent Account.
recipientAgentName string No Recipient Agent Name.
payerAgentBik integer · int64 No Payer Agent Bik.
payerAgentAccount string No Payer Agent Account.
payerAgentName string No Payer Agent Name.
accountCurrency string No Account Currency.
paymentAmountRub number · double No Payment Amount Rub.
paymentAmount number · double No Payment Amount.
paymentPurpose string No Payment Purpose.
paymentDocumentCode string No Payment Document Code.
paymentDocumentNumber integer · int64 No Payment Document Number.
date string · date-time No Date.
accountId integer · int64 No Account Id.
account Account No Account.
Object fields Account
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
Object fields Bank
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
accountNumber Account No Account Number.
accountName Account No Account Name.
organizationId integer · int64 No Organization Id.
deleted boolean No Deleted.
includeInPnl boolean No Include In Pnl.
incomeId integer · int64 No Income Id.
expenditureOperationType stringWILDBERRIES_PAYMENT, OZON_PAYMENT, YANDEX_MARKET_PAYMENT, OTHER_INCOME, OTHER_EXPENSES, PAYMENT_TO_SUPPLIER, PURCHASE No Expenditure Operation Type.
isSuppliersPurchaseTransaction boolean No Is Suppliers Purchase Transaction.
productId integer · int64 No Product Id.
article string No Article.
barcode string No Barcode.
{
  "transactionId": 1001,
  "clientId": 1001,
  "expenditureId": 1001,
  "expenditure": "string",
  "direction": "DEBIT",
  "scheduleId": 1001
}
Errors12

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_comment_max_length
The maximum length of the payment purpose is no more than 250 characters

Endpoint-specific error. Use the stable error_comment_max_length code in application logic; localMessage contains the translation shown above.

400error_empty_direction
Payment type not specified

Endpoint-specific error. Use the stable error_empty_direction code in application logic; localMessage contains the translation shown above.

400error_empty_sum
Amount not specified

Endpoint-specific error. Use the stable error_empty_sum code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

400error_no_correct_sum
incorrect amount

Endpoint-specific error. Use the stable error_no_correct_sum code in application logic; localMessage contains the translation shown above.

400error_no_correct_sum_rub
incorrect amount in rubles

Endpoint-specific error. Use the stable error_no_correct_sum_rub code in application logic; localMessage contains the translation shown above.

400error_organization_not_found
Organization not found

Endpoint-specific error. Use the stable error_organization_not_found code in application logic; localMessage contains the translation shown above.

400error_product_not_found
Product not found

Endpoint-specific error. Use the stable error_product_not_found code in application logic; localMessage contains the translation shown above.

400error_wrong_sum
Amount must be a positive number

Endpoint-specific error. Use the stable error_wrong_sum code in application logic; localMessage contains the translation shown above.

DELETE

Delete Transaction

/api/finance/transaction
Token with write access

Delete Transaction using DELETE /api/finance/transaction.

Query parameters

FieldTypeRequiredDescription
id integer[] Yes Id.
curl --request DELETE 'https://api.selsup.ru/api/finance/transaction?id=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200

The response has no body.

Errors4

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

POST

Remove Schedule

/api/finance/removeSchedule
Token with write access

Remove Schedule using POST /api/finance/removeSchedule.

Query parameters

FieldTypeRequiredDescription
scheduleId integer · int64 Yes Schedule Id.
curl --request POST 'https://api.selsup.ru/api/finance/removeSchedule?scheduleId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200

The response has no body.

Errors4

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

POST

Remove Expenditure

/api/finance/removeExpenditure
Token with write access

Remove Expenditure using POST /api/finance/removeExpenditure.

Query parameters

FieldTypeRequiredDescription
expenditureId integer · int64 Yes Expenditure Id.
curl --request POST 'https://api.selsup.ru/api/finance/removeExpenditure?expenditureId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200

The response has no body.

Errors6

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_can`t_remove_object_of_expenditure
Can't delete an article in use

Endpoint-specific error. Use the stable error_can`t_remove_object_of_expenditure code in application logic; localMessage contains the translation shown above.

400error_expenditure_not_has_been_remove
This expense item cannot be deleted.

Endpoint-specific error. Use the stable error_expenditure_not_has_been_remove code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

POST

Remove Account

/api/finance/removeAccount
Token with write access

Remove Account using POST /api/finance/removeAccount.

Query parameters

FieldTypeRequiredDescription
accountId integer · int64 Yes Account Id.
curl --request POST 'https://api.selsup.ru/api/finance/removeAccount?accountId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200

The response has no body.

Errors4

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

POST

Import Transactions

/api/finance/importTransactions
Token with write access

Import Transactions using POST /api/finance/importTransactions.

Query parameters

FieldTypeRequiredDescription
accountId integer · int64 Yes Account Id.
startDate string No Start Date.
curl --request POST 'https://api.selsup.ru/api/finance/importTransactions?accountId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200
Object fields TmsTask
FieldTypeRequiredDescription
id integer · int64 No Id.
status stringCREATED, RUNNING, FINISHED, ERROR, RESTARTING, INTERRUPTING, INTERRUPTED, STOPPED, EXCEPTION No Status.
type stringWILDBERRIES_CREATE_CARD, NATIONAL_CATALOG_CREATE_CARD, OZON_CREATE_CARD, OZON_CARDS_IMPORT, IMPORT_FBS_ORDERS, UPLOAD_PHOTOGRAPHY, WILDBERRIES_UPDATE_PRICE, WILDBERRIES_CARD_IMPORT, WILDBERRIES_CARD_UPDATE, SELSUP_STOCKS, REFRESH_PHOTOGRAPHY, SUPPLYING_QUANTITY_TASK, EXPORT_PRICE, OZON_UPDATE_PRICE, WILDBERRIES_FILE_TASK, YANDEX_MARKET_CARD_CREATE, OZON_CARD_UPDATE_TASK, OZON_IMPORT_STAT_TASK, WILDBERRIES_PROFIT_STAT_TASK, ALIEXPRESS_CREATE_CARD_TASK, ALIEXPRESS_UPDATE_CARD_TASK, PRICES_IMPORT_TASK, WILDBERRIES_PRICES_TASK, YANDEX_MARKET_CARD_IMPORT, STOCKS_UPDATE, WILDBERRIES_STOCKS_IMPORT_TASK, WILDBERRIES_ORDERS_AND_SALES_TASK, WILDBERRIES_INCOMES_IMPORT_TASK, OZON_STOCKS_IMPORT_TASK, TURNOVER_DOCUMENTS_TASK, INTRODUCE_WMS_ITEMS_TASK, PRODUCTS_FILE_TASK, MODELS_FILE_TASK, UPDATE_PRODUCT_CODES_TASK, INTRODUCE_CODES_TASK, PRODUCTS_IMPORT_TASK, PRICES_FILE_TASK, YANDEX_MARKET_UPDATE_PRICE_TASK, IMPORT_STOCKS_TASK, MOY_SKLAD_EXPORT_ORDERS, MERGE_PRODUCTS_TASK, PRODUCTS_WILDBERRIES_EXCEL_IMPORT_TASK, MOY_SKLAD_CREATE_CARD, IMPORT_FBO_STOCKS_FROM_FILE, CREATE_WMS_ITEMS, MOY_SKLAD_CARDS_IMPORT, PROMOTION_FILE, UNUSED_1, UNUSED, PRODUCT_ANALYTICS_FILE_TASK, PROMOTION_RESET_FILE, MOY_SKLAD_IMPORT_ORDERS, FINANCE_REPORT_FILE_TASK, YML_FILE_EXPORT, PRODUCT_BALANCE_REPORT_FILE_TASK, CURRENT_PRODUCT_BALANCE_FILE_TASK, IMPORT_TRANSACTIONS, MATCH_UNREGISTERED_PROFIT_REPORT_TASK, UPDATE_AVERAGE_SERVICE_EXPENSES_TASK, YANDEX_MARKET_ORDER_IMPORT_STAT_TASK, ABC_REPORT_FILE_TASK, MODEL_CONTRACTORS_IMPORT, MODEL_CONTRACTORS_EXPORT, BANK_TRANSACTION_IMPORT_FILE_TASK, YML_IMPORT_TASK, SALES_DYNAMIC_REPORT_FILE_TASK, UPDATE_FBS_ORDERS, EXPORT_TRANSACTION_IN_EXCEL_FILE_TASK, IMPORT_TRANSACTION_FROM_EXCEL_FILE_TASK, EXPORT_PROFIT_REPORT_FILE_TASK, IMPORT_PROFIT_REPORT_FROM_EXCEL_FILE_TASK, IMPORT_REALIZATION_REPORT_TASK, STOCK_RECONCILIATION, ORDER_REPORT_FILE_TASK, GET_WB_FBO_ORDER_FROM_PROFIT_REPORT_TASK, TO_QUANTITY_STORAGE_METHOD, APPLY_RECONCILIATION, OZON_IMPORT_FBO_ORDERS_TASK, UPDATE_PURCHASE_PRICE_IN_PROFIT_REPORT_TASK, FBS_LABELS, MERGE_PRODUCT_STOCKS, CREATE_ORDER_FROM_FILE, ALIEXPRESS_CARD_IMPORT, PRICE_LIST_IMPORT, WB_STOCK_REPORT_FILE, CONTRACTORS_REPORT_FILE, PRODUCTS_SBER_MEGA_MARKET_EXCEL_IMPORT_TASK, EXPORT_PROBLEMATIC_PRODUCT_REPORT, PLAN_SUPPLY_REPORT_TASK, PLAN_FACT_SALES_REPORT_FILE, IMPORT_PLAN_SALES_FROM_EXCEL_FILE_TASK, EXPORT_PLAN_SALES_EXCEL_FILE_TASK, ORDERS_TO_BUY_FILE_TASK, MERGE_PRICE_ON_OTHER_MP_TASK, MATCH_PRODUCT_LAST_OPERATION_DATE_TASK, PROBLEMATIC_PRODUCT_PRICE_FILE_TASK, CATEGORIES_IMPORT_EXCEL_TASK, AVITO_CARD_IMPORT, UPDATE_OLD_WB_ORDER_STATUSES_TASK, PRESTA_SHOP_IMPORT_TASK, PRODUCTS_AVITO_EXCEL_IMPORT_TASK, FBO_STOCK_RECONCILIATION_TASK, APPLY_FBO_RECONCILIATION_TASK, EXPORT_REPRICE_PRODUCT_CONFIG_TASK, IMPORT_REPRICE_PRODUCT_CONFIG_TASK, OZON_CASH_FLOW_STATEMENT_IMPORT_TASK, IMPORT_PROMOTION_STRATEGY_FILE_TASK, UPDATE_ORDER_DELIVERY_INFO_TASK, BILLING_OPERATION_TASK, SET_PURCHASE_PERCENT_TASK, REMOVE_PRODUCT_IMAGES_TASK, STRUCTURE_TURNOVER_TASK, OZON_NEW_UPDATE_PRICE, REPLACE_PRODUCT_IMAGE_TASK, UPDATE_OZON_PROMOTION_DATA_TASK, WILDBERRIES_IMPORT_CAMPAIGN_TASK, WILDBERRIES_STORAGE_REPORT_TASK, WEBASYST_LINK_ARTICLE_TASK, DELIVERY_SERVICE_LABELS, HAND_ON_PULSE_FILE_TASK, ITEMS_INCOME_EXCEL_TASK, UPDATE_SETS_EXCEL_TASK, DELETE_PROFIT_REPORTS_BY_FILE_HISTORY_IDS_TASK, EXPORT_PRODUCT_SETS_TASK, AMAZON_CARD_IMPORT, IMPORT_ACCEPTED_PRODUCTS_TASK, ADD_ORDER_PRODUCT_FROM_FILE_TASK, EXPORT_ITEM_HISTORY_FILE_TASK, WILDBERRIES_IMPORT_CAMPAIGN_BY_EXCEL_TASK, REMOVE_CLIENT_ORGANIZATION, EBAY_CARD_IMPORT_TASK, PRODUCTS_IMPORT_FROM_ORGANIZATION_TASK, IMPORT_FBO_ORDERS, LAMODA_CARD_IMPORT, UPDATE_WB_PROMOTION_DATA_TASK, IMPORT_RETURNS_REPORT_TASK, UPDATE_PROMOTION_DATA_TASK, RESTORE_CLIENT_ORGANIZATION, LEROY_MERLIN_CARD_IMPORT, YANDEX_MARKET_STOCKS_IMPORT_TASK, WILDBERRIES_IMPORT_NM_REPORT_TASK, ORDER_ANALYTICS_FILE_TASK, CLIENT_DATABASE_MOVE_TASK, FAST_CARD_IMPORT, EXPORT_PRODUCT_CODE, INSALES_CARD_IMPORT_TASK, REMOVE_PRODUCT_VIDEOS_TASK, UPDATE_CARDS_TASK, FIND_UNPROFITABLE_PRODUCTS_TASK, FIND_UNPURCHASED_PRODUCTS_TASK, WALMART_CARD_IMPORT, PRODUCT_GROUPS_TASK, CONTRACTOR_ARTICLE_EXPORT_TASK, CONTRACTOR_ARTICLE_IMPORT_TASK, CURRENCY_CONVERSION_TASK, UPDATE_SUPPLY_PLAN_REPORT_TASK, EXPORT_SUPPLY_PLAN_REPORT_FILE_TASK, CHECK_STOCK_ORDER, PHOTOGRAPHY_EXCEL, PREPARE_FINDIR_DATA_TASK, CARD_SPLITTING_TASK, EXPORT_IMAGE_UPDATES_TEMPLATE_TASK, IMPORT_IMAGE_UPDATES_TASK, PREPARE_PRODUCT_HAND_ON_PULSE_TASK, UPDATE_OZON_AVERAGE_DELIVERY_TIME, UPDATE_COMMISSIONS_TASK, WOOCOMMERCE_CARD_IMPORT, UPDATE_FBS_STOCKS_HISTORY, RETURNS_FILE_TASK, FAST_PRODUCTS_IMPORT_TASK, ANALYZE_PRODUCT_CARDS_TASK, DETMIR_CARD_IMPORT, MATCH_OZON_REALIZATION_REPORT_TASK, MAGNIT_IMPORT_PRODUCTS_TASK, UPDATE_PURCHASE_PRICE_FROM_STOCKS_IN_PROFIT_REPORT_TASK, MOY_SKLAD_FBO_MP_DATES_FIX, PRICE_HISTORY_FILE_TASK, FBM_ORDERS_IMPORT_TASK, UZUM_IMPORT_PRODUCTS_TASK, OPENCART_CARD_IMPORT, CARDS_IMPORT, OZON_CROSSDOCK_TRANSIT_ROUTES_TASK, UNUSED_2, OZON_IMPORT_SALES_FUNNEL_REPORT_TASK, WRITE_OFF_PRODUCTS_FILE_TASK, CLIENT_DATABASE_CREATE_TASK, UPDATE_FBS_LABELS_TASK, REBUILD_PROFIT_REPORT_HOURLY_AGGREGATE_TASK, OZON_IMPORT_CAMPAIGN_TASK, EXPORT_SUPPLY_PLAN_FILE_TASK, IMPORT_SUPPLY_PLAN_FILE_TASK, CREATE_SERVICE_CARDS, WAREHOUSE_ECONOMICS_FILE_TASK, UPDATE_WILDBERRIES_ACQUIRING_RATE_TASK, PRODUCT_SALES_FORECAST_TASK, UPDATE_PRODUCT_CODES_STATUSES_TASK, MARKETPLACE_UPDATE_PRICE_TASK, UZUM_IMPORT_STAT_TASK, CAMPAIGN_STATS_FILE_TASK, OZON_FBO_WORKFLOW_TASK, EXPORT_CERTIFICATE_TEMPLATE_TASK, IMPORT_CERTIFICATES_TASK, REBUILD_LOCAL_ORDER_PROFIT_REPORT_TASK, SHOPIFY_CARD_IMPORT No Type.
name string No Name.
clientId integer · int64 No Client Id.
entityId integer · int64 No Entity Id.
progress integer · int32 No Progress.
processedQuantity integer · int32 No Processed Quantity.
organizationId integer · int64 No Organization Id.
priority integer · int32 No Priority.
properties string No Properties.
message string No Message.
messageParams string No Message Params.
createdDate string · date-time No Created Date.
startDate string · date-time No Start Date.
finishDate string · date-time No Finish Date.
url string No Url.
inputFileUrl string No Input File Url.
retryNumber integer · int32 No Retry Number.
userId integer · int32 No User Id.
retryDate string · date-time No Retry Date.
debug boolean No Debug.
forcedStart boolean No Forced Start.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC No Service.
lang string No Lang.
{
  "id": 1001,
  "status": "CREATED",
  "type": "WILDBERRIES_CREATE_CARD",
  "name": "Example",
  "clientId": 1001,
  "entityId": 1001
}
Errors3

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

POST

Import Transaction From Excel File

/api/finance/importTransactionFromExcelFile
Token with write access

Import Transaction From Excel File using POST /api/finance/importTransactionFromExcelFile.

Query parameters

FieldTypeRequiredDescription
clientOrganizationId integer · int64 Yes Client Organization Id.

Request body

multipart/form-data
FieldTypeRequiredDescription
file string · binary Yes File.
curl --request POST 'https://api.selsup.ru/api/finance/importTransactionFromExcelFile?clientOrganizationId=1001' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --form 'file=@./file.bin'

Success response

200
Object fields TmsTask
FieldTypeRequiredDescription
id integer · int64 No Id.
status stringCREATED, RUNNING, FINISHED, ERROR, RESTARTING, INTERRUPTING, INTERRUPTED, STOPPED, EXCEPTION No Status.
type stringWILDBERRIES_CREATE_CARD, NATIONAL_CATALOG_CREATE_CARD, OZON_CREATE_CARD, OZON_CARDS_IMPORT, IMPORT_FBS_ORDERS, UPLOAD_PHOTOGRAPHY, WILDBERRIES_UPDATE_PRICE, WILDBERRIES_CARD_IMPORT, WILDBERRIES_CARD_UPDATE, SELSUP_STOCKS, REFRESH_PHOTOGRAPHY, SUPPLYING_QUANTITY_TASK, EXPORT_PRICE, OZON_UPDATE_PRICE, WILDBERRIES_FILE_TASK, YANDEX_MARKET_CARD_CREATE, OZON_CARD_UPDATE_TASK, OZON_IMPORT_STAT_TASK, WILDBERRIES_PROFIT_STAT_TASK, ALIEXPRESS_CREATE_CARD_TASK, ALIEXPRESS_UPDATE_CARD_TASK, PRICES_IMPORT_TASK, WILDBERRIES_PRICES_TASK, YANDEX_MARKET_CARD_IMPORT, STOCKS_UPDATE, WILDBERRIES_STOCKS_IMPORT_TASK, WILDBERRIES_ORDERS_AND_SALES_TASK, WILDBERRIES_INCOMES_IMPORT_TASK, OZON_STOCKS_IMPORT_TASK, TURNOVER_DOCUMENTS_TASK, INTRODUCE_WMS_ITEMS_TASK, PRODUCTS_FILE_TASK, MODELS_FILE_TASK, UPDATE_PRODUCT_CODES_TASK, INTRODUCE_CODES_TASK, PRODUCTS_IMPORT_TASK, PRICES_FILE_TASK, YANDEX_MARKET_UPDATE_PRICE_TASK, IMPORT_STOCKS_TASK, MOY_SKLAD_EXPORT_ORDERS, MERGE_PRODUCTS_TASK, PRODUCTS_WILDBERRIES_EXCEL_IMPORT_TASK, MOY_SKLAD_CREATE_CARD, IMPORT_FBO_STOCKS_FROM_FILE, CREATE_WMS_ITEMS, MOY_SKLAD_CARDS_IMPORT, PROMOTION_FILE, UNUSED_1, UNUSED, PRODUCT_ANALYTICS_FILE_TASK, PROMOTION_RESET_FILE, MOY_SKLAD_IMPORT_ORDERS, FINANCE_REPORT_FILE_TASK, YML_FILE_EXPORT, PRODUCT_BALANCE_REPORT_FILE_TASK, CURRENT_PRODUCT_BALANCE_FILE_TASK, IMPORT_TRANSACTIONS, MATCH_UNREGISTERED_PROFIT_REPORT_TASK, UPDATE_AVERAGE_SERVICE_EXPENSES_TASK, YANDEX_MARKET_ORDER_IMPORT_STAT_TASK, ABC_REPORT_FILE_TASK, MODEL_CONTRACTORS_IMPORT, MODEL_CONTRACTORS_EXPORT, BANK_TRANSACTION_IMPORT_FILE_TASK, YML_IMPORT_TASK, SALES_DYNAMIC_REPORT_FILE_TASK, UPDATE_FBS_ORDERS, EXPORT_TRANSACTION_IN_EXCEL_FILE_TASK, IMPORT_TRANSACTION_FROM_EXCEL_FILE_TASK, EXPORT_PROFIT_REPORT_FILE_TASK, IMPORT_PROFIT_REPORT_FROM_EXCEL_FILE_TASK, IMPORT_REALIZATION_REPORT_TASK, STOCK_RECONCILIATION, ORDER_REPORT_FILE_TASK, GET_WB_FBO_ORDER_FROM_PROFIT_REPORT_TASK, TO_QUANTITY_STORAGE_METHOD, APPLY_RECONCILIATION, OZON_IMPORT_FBO_ORDERS_TASK, UPDATE_PURCHASE_PRICE_IN_PROFIT_REPORT_TASK, FBS_LABELS, MERGE_PRODUCT_STOCKS, CREATE_ORDER_FROM_FILE, ALIEXPRESS_CARD_IMPORT, PRICE_LIST_IMPORT, WB_STOCK_REPORT_FILE, CONTRACTORS_REPORT_FILE, PRODUCTS_SBER_MEGA_MARKET_EXCEL_IMPORT_TASK, EXPORT_PROBLEMATIC_PRODUCT_REPORT, PLAN_SUPPLY_REPORT_TASK, PLAN_FACT_SALES_REPORT_FILE, IMPORT_PLAN_SALES_FROM_EXCEL_FILE_TASK, EXPORT_PLAN_SALES_EXCEL_FILE_TASK, ORDERS_TO_BUY_FILE_TASK, MERGE_PRICE_ON_OTHER_MP_TASK, MATCH_PRODUCT_LAST_OPERATION_DATE_TASK, PROBLEMATIC_PRODUCT_PRICE_FILE_TASK, CATEGORIES_IMPORT_EXCEL_TASK, AVITO_CARD_IMPORT, UPDATE_OLD_WB_ORDER_STATUSES_TASK, PRESTA_SHOP_IMPORT_TASK, PRODUCTS_AVITO_EXCEL_IMPORT_TASK, FBO_STOCK_RECONCILIATION_TASK, APPLY_FBO_RECONCILIATION_TASK, EXPORT_REPRICE_PRODUCT_CONFIG_TASK, IMPORT_REPRICE_PRODUCT_CONFIG_TASK, OZON_CASH_FLOW_STATEMENT_IMPORT_TASK, IMPORT_PROMOTION_STRATEGY_FILE_TASK, UPDATE_ORDER_DELIVERY_INFO_TASK, BILLING_OPERATION_TASK, SET_PURCHASE_PERCENT_TASK, REMOVE_PRODUCT_IMAGES_TASK, STRUCTURE_TURNOVER_TASK, OZON_NEW_UPDATE_PRICE, REPLACE_PRODUCT_IMAGE_TASK, UPDATE_OZON_PROMOTION_DATA_TASK, WILDBERRIES_IMPORT_CAMPAIGN_TASK, WILDBERRIES_STORAGE_REPORT_TASK, WEBASYST_LINK_ARTICLE_TASK, DELIVERY_SERVICE_LABELS, HAND_ON_PULSE_FILE_TASK, ITEMS_INCOME_EXCEL_TASK, UPDATE_SETS_EXCEL_TASK, DELETE_PROFIT_REPORTS_BY_FILE_HISTORY_IDS_TASK, EXPORT_PRODUCT_SETS_TASK, AMAZON_CARD_IMPORT, IMPORT_ACCEPTED_PRODUCTS_TASK, ADD_ORDER_PRODUCT_FROM_FILE_TASK, EXPORT_ITEM_HISTORY_FILE_TASK, WILDBERRIES_IMPORT_CAMPAIGN_BY_EXCEL_TASK, REMOVE_CLIENT_ORGANIZATION, EBAY_CARD_IMPORT_TASK, PRODUCTS_IMPORT_FROM_ORGANIZATION_TASK, IMPORT_FBO_ORDERS, LAMODA_CARD_IMPORT, UPDATE_WB_PROMOTION_DATA_TASK, IMPORT_RETURNS_REPORT_TASK, UPDATE_PROMOTION_DATA_TASK, RESTORE_CLIENT_ORGANIZATION, LEROY_MERLIN_CARD_IMPORT, YANDEX_MARKET_STOCKS_IMPORT_TASK, WILDBERRIES_IMPORT_NM_REPORT_TASK, ORDER_ANALYTICS_FILE_TASK, CLIENT_DATABASE_MOVE_TASK, FAST_CARD_IMPORT, EXPORT_PRODUCT_CODE, INSALES_CARD_IMPORT_TASK, REMOVE_PRODUCT_VIDEOS_TASK, UPDATE_CARDS_TASK, FIND_UNPROFITABLE_PRODUCTS_TASK, FIND_UNPURCHASED_PRODUCTS_TASK, WALMART_CARD_IMPORT, PRODUCT_GROUPS_TASK, CONTRACTOR_ARTICLE_EXPORT_TASK, CONTRACTOR_ARTICLE_IMPORT_TASK, CURRENCY_CONVERSION_TASK, UPDATE_SUPPLY_PLAN_REPORT_TASK, EXPORT_SUPPLY_PLAN_REPORT_FILE_TASK, CHECK_STOCK_ORDER, PHOTOGRAPHY_EXCEL, PREPARE_FINDIR_DATA_TASK, CARD_SPLITTING_TASK, EXPORT_IMAGE_UPDATES_TEMPLATE_TASK, IMPORT_IMAGE_UPDATES_TASK, PREPARE_PRODUCT_HAND_ON_PULSE_TASK, UPDATE_OZON_AVERAGE_DELIVERY_TIME, UPDATE_COMMISSIONS_TASK, WOOCOMMERCE_CARD_IMPORT, UPDATE_FBS_STOCKS_HISTORY, RETURNS_FILE_TASK, FAST_PRODUCTS_IMPORT_TASK, ANALYZE_PRODUCT_CARDS_TASK, DETMIR_CARD_IMPORT, MATCH_OZON_REALIZATION_REPORT_TASK, MAGNIT_IMPORT_PRODUCTS_TASK, UPDATE_PURCHASE_PRICE_FROM_STOCKS_IN_PROFIT_REPORT_TASK, MOY_SKLAD_FBO_MP_DATES_FIX, PRICE_HISTORY_FILE_TASK, FBM_ORDERS_IMPORT_TASK, UZUM_IMPORT_PRODUCTS_TASK, OPENCART_CARD_IMPORT, CARDS_IMPORT, OZON_CROSSDOCK_TRANSIT_ROUTES_TASK, UNUSED_2, OZON_IMPORT_SALES_FUNNEL_REPORT_TASK, WRITE_OFF_PRODUCTS_FILE_TASK, CLIENT_DATABASE_CREATE_TASK, UPDATE_FBS_LABELS_TASK, REBUILD_PROFIT_REPORT_HOURLY_AGGREGATE_TASK, OZON_IMPORT_CAMPAIGN_TASK, EXPORT_SUPPLY_PLAN_FILE_TASK, IMPORT_SUPPLY_PLAN_FILE_TASK, CREATE_SERVICE_CARDS, WAREHOUSE_ECONOMICS_FILE_TASK, UPDATE_WILDBERRIES_ACQUIRING_RATE_TASK, PRODUCT_SALES_FORECAST_TASK, UPDATE_PRODUCT_CODES_STATUSES_TASK, MARKETPLACE_UPDATE_PRICE_TASK, UZUM_IMPORT_STAT_TASK, CAMPAIGN_STATS_FILE_TASK, OZON_FBO_WORKFLOW_TASK, EXPORT_CERTIFICATE_TEMPLATE_TASK, IMPORT_CERTIFICATES_TASK, REBUILD_LOCAL_ORDER_PROFIT_REPORT_TASK, SHOPIFY_CARD_IMPORT No Type.
name string No Name.
clientId integer · int64 No Client Id.
entityId integer · int64 No Entity Id.
progress integer · int32 No Progress.
processedQuantity integer · int32 No Processed Quantity.
organizationId integer · int64 No Organization Id.
priority integer · int32 No Priority.
properties string No Properties.
message string No Message.
messageParams string No Message Params.
createdDate string · date-time No Created Date.
startDate string · date-time No Start Date.
finishDate string · date-time No Finish Date.
url string No Url.
inputFileUrl string No Input File Url.
retryNumber integer · int32 No Retry Number.
userId integer · int32 No User Id.
retryDate string · date-time No Retry Date.
debug boolean No Debug.
forcedStart boolean No Forced Start.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC No Service.
lang string No Lang.
{
  "id": 1001,
  "status": "CREATED",
  "type": "WILDBERRIES_CREATE_CARD",
  "name": "Example",
  "clientId": 1001,
  "entityId": 1001
}
Errors7

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_analytics_access_denied
Analytics data is confidential for the SUPPORT role

Endpoint-specific error. Use the stable error_analytics_access_denied code in application logic; localMessage contains the translation shown above.

400error_file_is_empty
Uploaded file is empty

Endpoint-specific error. Use the stable error_file_is_empty code in application logic; localMessage contains the translation shown above.

400error_max_upload_size_exceeded
File size exceeds maximum limit

Endpoint-specific error. Use the stable error_max_upload_size_exceeded code in application logic; localMessage contains the translation shown above.

400error_wrong_excel
Incorrect Excel file format

Endpoint-specific error. Use the stable error_wrong_excel code in application logic; localMessage contains the translation shown above.

POST

Get Account List

/api/finance/getAccountList
Token with write access

Get Account List using POST /api/finance/getAccountList.

Query parameters

FieldTypeRequiredDescription
bank stringSBER, TOCHKA, TBANK, ALFA_BANK Yes Bank.
curl --request POST 'https://api.selsup.ru/api/finance/getAccountList?bank=SBER' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200
Array item structure Account[]
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
Object fields Bank
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
accountNumber Account No Account Number.
accountName Account No Account Name.
[
  "string"
]
Errors12

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_no_bank_integration
No bank integration

Endpoint-specific error. Use the stable error_no_bank_integration code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

400error_remote_error
{message}

Endpoint-specific error. Use the stable error_remote_error code in application logic; localMessage contains the translation shown above.

400error_sberbank_api
Sberbank error: {message}

Endpoint-specific error. Use the stable error_sberbank_api code in application logic; localMessage contains the translation shown above.

400error_service_not_supported
Service not supported

Endpoint-specific error. Use the stable error_service_not_supported code in application logic; localMessage contains the translation shown above.

400error_tbank
T-Bank Business integration error

Endpoint-specific error. Use the stable error_tbank code in application logic; localMessage contains the translation shown above.

400error_tbank_request
T-Bank Business request error

Endpoint-specific error. Use the stable error_tbank_request code in application logic; localMessage contains the translation shown above.

400error_tochka_request
Tochka request error

Endpoint-specific error. Use the stable error_tochka_request code in application logic; localMessage contains the translation shown above.

400error_token_expired_or_revoked
API token revoked or entered incorrectly

Endpoint-specific error. Use the stable error_token_expired_or_revoked code in application logic; localMessage contains the translation shown above.

POST

Add Schedule

/api/finance/addSchedule
Token with write access

Add Schedule using POST /api/finance/addSchedule.

Request body

application/json
Object fieldsTransactionSchedule
FieldTypeRequiredDescription
scheduleId integer · int64 No Schedule Id.
direction stringDEBIT, CREDIT No Direction.
comment string No Comment.
accountId integer · int64 No Account Id.
account Account No Account.
Object fields Account
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
Object fields Bank
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
accountNumber Account No Account Number.
accountName Account No Account Name.
date string · date-time No Date.
paymentAmount number · double No Payment Amount.
frequency stringWEEK, MONTH, QUARTER, YEAR No Frequency.
contractorId integer · int64 No Contractor Id.
expenditureId integer · int64 No Expenditure Id.
expenditure ExpenditureObject No Expenditure.
Object fields ExpenditureObject
FieldTypeRequiredDescription
expenditureId integer · int64 No Expenditure Id.
name string No Name.
type stringDEBIT, CREDIT No Type.
clientId integer · int64 No Client Id.
isCommon boolean No Is Common.
expenditureName ExpenditureObject No Expenditure Name.
expenditureType ExpenditureObject No Expenditure Type.
contractor Contractor No Contractor.
Object fields Contractor
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
versionId integer · int64 No Version Id.
clientId integer · int64 No Client Id.
createdUser string No Created User.
lastIncomeDate string · date-time No Last Income Date.
deleted boolean No Deleted.
organizationId integer · int64 No Organization Id.
phoneNumber string No Phone Number.
email string No Email.
contactName string No Contact Name.
moySkladId string No Moy Sklad Id.
url string No Url.
organization Organization No Organization.
Object fields Organization
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
shortName string No Short Name.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED No Tax Type.
taxRate integer · int32 No Tax Rate.
taxNds integer · int32 No Tax Nds.
inputTaxNds integer · int32 No Input Tax Nds.
outputTaxNds integer · int32 No Output Tax Nds.
enableNewTaxCalculation boolean No Enable New Tax Calculation.
useNdsCostPrice boolean No Use Nds Cost Price.
inn string Yes Inn.
kpp string No Kpp.
bank string No Bank.
bik string No Bik.
corrBill string No Corr Bill.
billNumber string No Bill Number.
stampPath string No Stamp Path.
stampUrl string No Stamp Url.
stampSize integer · int32 No Stamp Size.
stampWidth integer · int32 No Stamp Width.
stampHeight integer · int32 No Stamp Height.
signaturePath string No Signature Path.
signatureUrl string No Signature Url.
signatureSize integer · int32 No Signature Size.
signatureWidth integer · int32 No Signature Width.
signatureHeight integer · int32 No Signature Height.
ipPerson Person No Ip Person.
form stringOOO, IP, SELF_EMPLOYED Yes Form.
ip boolean No Ip.
clientId integer · int64 No Client Id.
address Address No Address.
phoneNumber string No Phone Number.
addressFull string No Address Full.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
creator string No Creator.
createdDate string · date-time No Created Date.
contractorInn string No Contractor Inn.
includeInPnl boolean No Include In Pnl.
curl --request POST 'https://api.selsup.ru/api/finance/addSchedule' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "scheduleId": 1001,
  "direction": "DEBIT",
  "comment": "string",
  "accountId": 1001,
  "account": "string",
  "date": "2026-01-15T12:00:00Z"
}'

Success response

200
Object fields TransactionSchedule
FieldTypeRequiredDescription
scheduleId integer · int64 No Schedule Id.
direction stringDEBIT, CREDIT No Direction.
comment string No Comment.
accountId integer · int64 No Account Id.
account Account No Account.
Object fields Account
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
Object fields Bank
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
accountNumber Account No Account Number.
accountName Account No Account Name.
date string · date-time No Date.
paymentAmount number · double No Payment Amount.
frequency stringWEEK, MONTH, QUARTER, YEAR No Frequency.
contractorId integer · int64 No Contractor Id.
expenditureId integer · int64 No Expenditure Id.
expenditure ExpenditureObject No Expenditure.
Object fields ExpenditureObject
FieldTypeRequiredDescription
expenditureId integer · int64 No Expenditure Id.
name string No Name.
type stringDEBIT, CREDIT No Type.
clientId integer · int64 No Client Id.
isCommon boolean No Is Common.
expenditureName ExpenditureObject No Expenditure Name.
expenditureType ExpenditureObject No Expenditure Type.
contractor Contractor No Contractor.
Object fields Contractor
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
versionId integer · int64 No Version Id.
clientId integer · int64 No Client Id.
createdUser string No Created User.
lastIncomeDate string · date-time No Last Income Date.
deleted boolean No Deleted.
organizationId integer · int64 No Organization Id.
phoneNumber string No Phone Number.
email string No Email.
contactName string No Contact Name.
moySkladId string No Moy Sklad Id.
url string No Url.
organization Organization No Organization.
Object fields Organization
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
shortName string No Short Name.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED No Tax Type.
taxRate integer · int32 No Tax Rate.
taxNds integer · int32 No Tax Nds.
inputTaxNds integer · int32 No Input Tax Nds.
outputTaxNds integer · int32 No Output Tax Nds.
enableNewTaxCalculation boolean No Enable New Tax Calculation.
useNdsCostPrice boolean No Use Nds Cost Price.
inn string Yes Inn.
kpp string No Kpp.
bank string No Bank.
bik string No Bik.
corrBill string No Corr Bill.
billNumber string No Bill Number.
stampPath string No Stamp Path.
stampUrl string No Stamp Url.
stampSize integer · int32 No Stamp Size.
stampWidth integer · int32 No Stamp Width.
stampHeight integer · int32 No Stamp Height.
signaturePath string No Signature Path.
signatureUrl string No Signature Url.
signatureSize integer · int32 No Signature Size.
signatureWidth integer · int32 No Signature Width.
signatureHeight integer · int32 No Signature Height.
ipPerson Person No Ip Person.
form stringOOO, IP, SELF_EMPLOYED Yes Form.
ip boolean No Ip.
clientId integer · int64 No Client Id.
address Address No Address.
phoneNumber string No Phone Number.
addressFull string No Address Full.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
creator string No Creator.
createdDate string · date-time No Created Date.
contractorInn string No Contractor Inn.
includeInPnl boolean No Include In Pnl.
{
  "scheduleId": 1001,
  "direction": "DEBIT",
  "comment": "string",
  "accountId": 1001,
  "account": "string",
  "date": "2026-01-15T12:00:00Z"
}
Errors16

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_analytics_access_denied
Analytics data is confidential for the SUPPORT role

Endpoint-specific error. Use the stable error_analytics_access_denied code in application logic; localMessage contains the translation shown above.

400error_comment_max_length
The maximum length of the payment purpose is no more than 250 characters

Endpoint-specific error. Use the stable error_comment_max_length code in application logic; localMessage contains the translation shown above.

400error_empty_direction
Payment type not specified

Endpoint-specific error. Use the stable error_empty_direction code in application logic; localMessage contains the translation shown above.

400error_empty_expenditure
Expenses not specified

Endpoint-specific error. Use the stable error_empty_expenditure code in application logic; localMessage contains the translation shown above.

400error_empty_frequency
Payment frequency not specified

Endpoint-specific error. Use the stable error_empty_frequency code in application logic; localMessage contains the translation shown above.

400error_empty_sum
Amount not specified

Endpoint-specific error. Use the stable error_empty_sum code in application logic; localMessage contains the translation shown above.

400error_empty_transaction_comment
Purpose of payment not specified

Endpoint-specific error. Use the stable error_empty_transaction_comment code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

400error_no_correct_sum
incorrect amount

Endpoint-specific error. Use the stable error_no_correct_sum code in application logic; localMessage contains the translation shown above.

400error_no_correct_sum_rub
incorrect amount in rubles

Endpoint-specific error. Use the stable error_no_correct_sum_rub code in application logic; localMessage contains the translation shown above.

400error_organization_not_found
Organization not found

Endpoint-specific error. Use the stable error_organization_not_found code in application logic; localMessage contains the translation shown above.

400error_wrong_date
incorrect date

Endpoint-specific error. Use the stable error_wrong_date code in application logic; localMessage contains the translation shown above.

400error_wrong_sum
Amount must be a positive number

Endpoint-specific error. Use the stable error_wrong_sum code in application logic; localMessage contains the translation shown above.

POST

Add Expenditure

/api/finance/addExpenditure
Token with write access

Add Expenditure using POST /api/finance/addExpenditure.

Request body

application/json
Object fieldsExpenditureObject
FieldTypeRequiredDescription
expenditureId integer · int64 No Expenditure Id.
name string No Name.
type stringDEBIT, CREDIT No Type.
clientId integer · int64 No Client Id.
isCommon boolean No Is Common.
expenditureName ExpenditureObject No Expenditure Name.
expenditureType ExpenditureObject No Expenditure Type.
curl --request POST 'https://api.selsup.ru/api/finance/addExpenditure' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "expenditureId": 1001,
  "name": "Example",
  "type": "DEBIT",
  "clientId": 1001,
  "isCommon": false,
  "expenditureName": "Example"
}'

Success response

200
Object fields ExpenditureObject
FieldTypeRequiredDescription
expenditureId integer · int64 No Expenditure Id.
name string No Name.
type stringDEBIT, CREDIT No Type.
clientId integer · int64 No Client Id.
isCommon boolean No Is Common.
expenditureName ExpenditureObject No Expenditure Name.
expenditureType ExpenditureObject No Expenditure Type.
{
  "expenditureId": 1001,
  "name": "Example",
  "type": "DEBIT",
  "clientId": 1001,
  "isCommon": false,
  "expenditureName": "Example"
}
Errors7

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_empty_direction
Payment type not specified

Endpoint-specific error. Use the stable error_empty_direction code in application logic; localMessage contains the translation shown above.

400error_empty_name
Title not specified

Endpoint-specific error. Use the stable error_empty_name code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

400error_not_uniq_expenditure
An expense item with the same name already exists

Endpoint-specific error. Use the stable error_not_uniq_expenditure code in application logic; localMessage contains the translation shown above.

POST

Add Account

/api/finance/addAccount
Token with write access

Add Account using POST /api/finance/addAccount.

Request body

application/json
Object fieldsAccount
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
Object fields Bank
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
accountNumber Account No Account Number.
accountName Account No Account Name.
curl --request POST 'https://api.selsup.ru/api/finance/addAccount' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "accountId": 1001,
  "name": "Example",
  "number": "string",
  "clientId": 1001,
  "organizationId": 1001,
  "bank": "string"
}'

Success response

200
Object fields Account
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
Object fields Bank
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
accountNumber Account No Account Number.
accountName Account No Account Name.
{
  "accountId": 1001,
  "name": "Example",
  "number": "string",
  "clientId": 1001,
  "organizationId": 1001,
  "bank": "string"
}
Errors9

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_empty_account_name
Account name not specified

Endpoint-specific error. Use the stable error_empty_account_name code in application logic; localMessage contains the translation shown above.

400error_empty_account_number
empty account number

Endpoint-specific error. Use the stable error_empty_account_number code in application logic; localMessage contains the translation shown above.

400error_empty_bank
Bank not specified

Endpoint-specific error. Use the stable error_empty_bank code in application logic; localMessage contains the translation shown above.

400error_empty_organization
Not selected Organization

Endpoint-specific error. Use the stable error_empty_organization code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

400error_organization_not_found
Organization not found

Endpoint-specific error. Use the stable error_organization_not_found code in application logic; localMessage contains the translation shown above.

GET

Download Transaction Import Template

/api/finance/transaction/template
Token with read access

Download Transaction Import Template using GET /api/finance/transaction/template.

curl --request GET 'https://api.selsup.ru/api/finance/transaction/template' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200
"string"
Errors5

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_analytics_access_denied
Analytics data is confidential for the SUPPORT role

Endpoint-specific error. Use the stable error_analytics_access_denied code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

GET

Get Transaction Structure

/api/finance/transaction/structure
Token with read access

Get Transaction Structure using GET /api/finance/transaction/structure.

Query parameters

FieldTypeRequiredDescription
filter TransactionFilter Yes Filter.
Object fields TransactionFilter
FieldTypeRequiredDescription
limit integer · int32 No Limit.
page integer · int32 No Page.
count boolean No Count.
sortBy string No Sort By.
ascending boolean No Ascending.
query string No Query.
dateFrom string · date-time No Date From.
dateTo string · date-time No Date To.
organizationId integer · int64 No Organization Id.
organizationIds integer[] No Organization Ids.
services string[] No Services.
direction stringDEBIT, CREDIT No Direction.
incomeId integer · int64 No Income Id.
contractorId integer · int64 No Contractor Id.
timeZone integer · int32 No Time Zone.
showIncomes boolean No Show Incomes.
accountId integer · int64 No Account Id.
includePreviousPeriodDefault: false boolean No Include Previous Period.
curl --request GET 'https://api.selsup.ru/api/finance/transaction/structure?filter=%5Bobject+Object%5D' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200
Object fields TransactionStructureResponse
FieldTypeRequiredDescription
currentPeriod PeriodTransactionResponse Yes Current Period.
Object fields PeriodTransactionResponse
FieldTypeRequiredDescription
startDate string · date-time Yes Start Date.
endDate string · date-time Yes End Date.
transactions TransactionStructure[] Yes Transactions.
Array item structure TransactionStructure
FieldTypeRequiredDescription
id integer · int32 No Id.
name string No Name.
cost number · double No Cost.
totalSales number · double No Total Sales.
percent number · double No Percent.
absPercent number · double No Abs Percent.
costWithoutSpp number · double No Cost Without Spp.
totalSalesWithoutSpp number · double No Total Sales Without Spp.
percentWithoutSpp number · double No Percent Without Spp.
direction stringDEBIT, CREDIT Yes Direction.
totalCost number · double No Total Cost.
percentDiff number · double No Percent Diff.
previousPeriod PeriodTransactionResponse No Previous Period.
Object fields PeriodTransactionResponse
FieldTypeRequiredDescription
startDate string · date-time Yes Start Date.
endDate string · date-time Yes End Date.
transactions TransactionStructure[] Yes Transactions.
Array item structure TransactionStructure
FieldTypeRequiredDescription
id integer · int32 No Id.
name string No Name.
cost number · double No Cost.
totalSales number · double No Total Sales.
percent number · double No Percent.
absPercent number · double No Abs Percent.
costWithoutSpp number · double No Cost Without Spp.
totalSalesWithoutSpp number · double No Total Sales Without Spp.
percentWithoutSpp number · double No Percent Without Spp.
direction stringDEBIT, CREDIT Yes Direction.
totalCost number · double No Total Cost.
percentDiff number · double No Percent Diff.
difference PeriodTransactionResponse No Difference.
Object fields PeriodTransactionResponse
FieldTypeRequiredDescription
startDate string · date-time Yes Start Date.
endDate string · date-time Yes End Date.
transactions TransactionStructure[] Yes Transactions.
Array item structure TransactionStructure
FieldTypeRequiredDescription
id integer · int32 No Id.
name string No Name.
cost number · double No Cost.
totalSales number · double No Total Sales.
percent number · double No Percent.
absPercent number · double No Abs Percent.
costWithoutSpp number · double No Cost Without Spp.
totalSalesWithoutSpp number · double No Total Sales Without Spp.
percentWithoutSpp number · double No Percent Without Spp.
direction stringDEBIT, CREDIT Yes Direction.
totalCost number · double No Total Cost.
percentDiff number · double No Percent Diff.
{
  "currentPeriod": "string",
  "previousPeriod": "string",
  "difference": "string"
}
Errors3

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

GET

Transaction Find

/api/finance/transaction/find
Token with read access

Transaction Find using GET /api/finance/transaction/find.

Query parameters

FieldTypeRequiredDescription
filter TransactionFilter Yes Filter.
Object fields TransactionFilter
FieldTypeRequiredDescription
limit integer · int32 No Limit.
page integer · int32 No Page.
count boolean No Count.
sortBy string No Sort By.
ascending boolean No Ascending.
query string No Query.
dateFrom string · date-time No Date From.
dateTo string · date-time No Date To.
organizationId integer · int64 No Organization Id.
organizationIds integer[] No Organization Ids.
services string[] No Services.
direction stringDEBIT, CREDIT No Direction.
incomeId integer · int64 No Income Id.
contractorId integer · int64 No Contractor Id.
timeZone integer · int32 No Time Zone.
showIncomes boolean No Show Incomes.
accountId integer · int64 No Account Id.
curl --request GET 'https://api.selsup.ru/api/finance/transaction/find?filter=%5Bobject+Object%5D' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200
Object fields FindResponseTransaction
FieldTypeRequiredDescription
rows Transaction[] No Rows.
Array item structure Transaction
FieldTypeRequiredDescription
transactionId integer · int64 No Transaction Id.
clientId integer · int64 No Client Id.
expenditureId integer · int64 No Expenditure Id.
expenditure ExpenditureObject No Expenditure.
Object fields ExpenditureObject
FieldTypeRequiredDescription
expenditureId integer · int64 No Expenditure Id.
name string No Name.
type stringDEBIT, CREDIT No Type.
clientId integer · int64 No Client Id.
isCommon boolean No Is Common.
expenditureName ExpenditureObject No Expenditure Name.
expenditureType ExpenditureObject No Expenditure Type.
direction stringDEBIT, CREDIT No Direction.
scheduleId integer · int64 No Schedule Id.
comment string No Comment.
contractorId integer · int64 No Contractor Id.
contractor Contractor No Contractor.
Object fields Contractor
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
versionId integer · int64 No Version Id.
clientId integer · int64 No Client Id.
createdUser string No Created User.
lastIncomeDate string · date-time No Last Income Date.
deleted boolean No Deleted.
organizationId integer · int64 No Organization Id.
phoneNumber string No Phone Number.
email string No Email.
contactName string No Contact Name.
moySkladId string No Moy Sklad Id.
url string No Url.
organization Organization No Organization.
recipientKpp integer · int64 No Recipient Kpp.
recipientInn integer · int64 No Recipient Inn.
recipientAccount string No Recipient Account.
recipientName string No Recipient Name.
payerKpp integer · int64 No Payer Kpp.
payerInn integer · int64 No Payer Inn.
payerAccount string No Payer Account.
payerName string No Payer Name.
kbk string No Kbk.
recipientAgentBik integer · int64 No Recipient Agent Bik.
recipientAgentAccount string No Recipient Agent Account.
recipientAgentName string No Recipient Agent Name.
payerAgentBik integer · int64 No Payer Agent Bik.
payerAgentAccount string No Payer Agent Account.
payerAgentName string No Payer Agent Name.
accountCurrency string No Account Currency.
paymentAmountRub number · double No Payment Amount Rub.
paymentAmount number · double No Payment Amount.
paymentPurpose string No Payment Purpose.
paymentDocumentCode string No Payment Document Code.
paymentDocumentNumber integer · int64 No Payment Document Number.
date string · date-time No Date.
accountId integer · int64 No Account Id.
account Account No Account.
Object fields Account
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
accountNumber Account No Account Number.
accountName Account No Account Name.
organizationId integer · int64 No Organization Id.
deleted boolean No Deleted.
includeInPnl boolean No Include In Pnl.
incomeId integer · int64 No Income Id.
expenditureOperationType stringWILDBERRIES_PAYMENT, OZON_PAYMENT, YANDEX_MARKET_PAYMENT, OTHER_INCOME, OTHER_EXPENSES, PAYMENT_TO_SUPPLIER, PURCHASE No Expenditure Operation Type.
isSuppliersPurchaseTransaction boolean No Is Suppliers Purchase Transaction.
productId integer · int64 No Product Id.
article string No Article.
barcode string No Barcode.
{
  "rows": "string"
}
Errors6

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_analytics_access_denied
Analytics data is confidential for the SUPPORT role

Endpoint-specific error. Use the stable error_analytics_access_denied code in application logic; localMessage contains the translation shown above.

400error_max_page
Page number cannot be greater than 100,000

Endpoint-specific error. Use the stable error_max_page code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

GET

Get Transaction Structure By Direction

/api/finance/getTransactionStructureByDirection
Token with read access

Get Transaction Structure By Direction using GET /api/finance/getTransactionStructureByDirection.

Query parameters

FieldTypeRequiredDescription
query string No Query.
dateFrom string · date-time No Date From.
dateTo string · date-time No Date To.
organizationId integer · int64 No Organization Id.
organizationIds integer[] No Organization Ids.
services string[] No Services.
direction stringDEBIT, CREDIT No Direction.
incomeId integer · int64 No Income Id.
contractorId integer · int64 No Contractor Id.
timeZone integer · int32 No Time Zone.
showIncomes boolean No Show Incomes.
accountId integer · int64 No Account Id.
limit integer · int32 No Limit.
page integer · int32 No Page.
count boolean No Count.
sortBy string No Sort By.
ascending boolean No Ascending.
curl --request GET 'https://api.selsup.ru/api/finance/getTransactionStructureByDirection?limit=50&page=1' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200
Array item structure TransactionStructure[]
FieldTypeRequiredDescription
id integer · int32 No Id.
name string No Name.
cost number · double No Cost.
totalSales number · double No Total Sales.
percent number · double No Percent.
absPercent number · double No Abs Percent.
costWithoutSpp number · double No Cost Without Spp.
totalSalesWithoutSpp number · double No Total Sales Without Spp.
percentWithoutSpp number · double No Percent Without Spp.
direction stringDEBIT, CREDIT Yes Direction.
[
  "string"
]
Errors5

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_direction_cant_find
direction not found

Endpoint-specific error. Use the stable error_direction_cant_find code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

GET

Get Bank Accounts

/api/finance/getAccounts
Token with read access

Get Bank Accounts using GET /api/finance/getAccounts.

curl --request GET 'https://api.selsup.ru/api/finance/getAccounts' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200
Array item structure Account[]
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
Object fields Bank
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
accountNumber Account No Account Number.
accountName Account No Account Name.
[
  "string"
]
Errors4

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

GET

Get Account By Id

/api/finance/getAccountById
Token with read access

Get Account By Id using GET /api/finance/getAccountById.

Query parameters

FieldTypeRequiredDescription
id integer · int64 Yes Id.
curl --request GET 'https://api.selsup.ru/api/finance/getAccountById?id=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200
Object fields Account
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
Object fields Bank
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
accountNumber Account No Account Number.
accountName Account No Account Name.
{
  "accountId": 1001,
  "name": "Example",
  "number": "string",
  "clientId": 1001,
  "organizationId": 1001,
  "bank": "string"
}
Errors4

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

GET

Find Schedule

/api/finance/findSchedule
Token with read access

Find Schedule using GET /api/finance/findSchedule.

Query parameters

FieldTypeRequiredDescription
filter TransactionSchedulerFilter Yes Filter.
Object fields TransactionSchedulerFilter
FieldTypeRequiredDescription
limit integer · int32 No Limit.
page integer · int32 No Page.
count boolean No Count.
sortBy string No Sort By.
ascending boolean No Ascending.
query string No Query.
curl --request GET 'https://api.selsup.ru/api/finance/findSchedule?filter=%5Bobject+Object%5D' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200
Object fields FindResponseTransactionSchedule
FieldTypeRequiredDescription
rows TransactionSchedule[] No Rows.
Array item structure TransactionSchedule
FieldTypeRequiredDescription
scheduleId integer · int64 No Schedule Id.
direction stringDEBIT, CREDIT No Direction.
comment string No Comment.
accountId integer · int64 No Account Id.
account Account No Account.
Object fields Account
FieldTypeRequiredDescription
accountId integer · int64 No Account Id.
name string No Name.
number string No Number.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
bank Bank No Bank.
accountNumber Account No Account Number.
accountName Account No Account Name.
date string · date-time No Date.
paymentAmount number · double No Payment Amount.
frequency stringWEEK, MONTH, QUARTER, YEAR No Frequency.
contractorId integer · int64 No Contractor Id.
expenditureId integer · int64 No Expenditure Id.
expenditure ExpenditureObject No Expenditure.
Object fields ExpenditureObject
FieldTypeRequiredDescription
expenditureId integer · int64 No Expenditure Id.
name string No Name.
type stringDEBIT, CREDIT No Type.
clientId integer · int64 No Client Id.
isCommon boolean No Is Common.
expenditureName ExpenditureObject No Expenditure Name.
expenditureType ExpenditureObject No Expenditure Type.
contractor Contractor No Contractor.
Object fields Contractor
FieldTypeRequiredDescription
id integer · int64 No Id.
name string Yes Name.
versionId integer · int64 No Version Id.
clientId integer · int64 No Client Id.
createdUser string No Created User.
lastIncomeDate string · date-time No Last Income Date.
deleted boolean No Deleted.
organizationId integer · int64 No Organization Id.
phoneNumber string No Phone Number.
email string No Email.
contactName string No Contact Name.
moySkladId string No Moy Sklad Id.
url string No Url.
organization Organization No Organization.
clientId integer · int64 No Client Id.
organizationId integer · int64 No Organization Id.
creator string No Creator.
createdDate string · date-time No Created Date.
contractorInn string No Contractor Inn.
includeInPnl boolean No Include In Pnl.
{
  "rows": "string"
}
Errors5

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_analytics_access_denied
Analytics data is confidential for the SUPPORT role

Endpoint-specific error. Use the stable error_analytics_access_denied code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

GET

Fetch Expenditure

/api/finance/fetchExpenditure
Token with read access

Fetch Expenditure using GET /api/finance/fetchExpenditure.

Query parameters

FieldTypeRequiredDescription
query string Yes Query.
direction stringDEBIT, CREDIT No Direction.
limit integer · int32 Yes Limit.
curl --request GET 'https://api.selsup.ru/api/finance/fetchExpenditure?query=string&limit=50' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200
Array item structure ExpenditureObject[]
FieldTypeRequiredDescription
expenditureId integer · int64 No Expenditure Id.
name string No Name.
type stringDEBIT, CREDIT No Type.
clientId integer · int64 No Client Id.
isCommon boolean No Is Common.
expenditureName ExpenditureObject No Expenditure Name.
expenditureType ExpenditureObject No Expenditure Type.
[
  "string"
]
Errors3

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

GET

Fetch Bank

/api/finance/fetchBank
Token with read access

Fetch Bank using GET /api/finance/fetchBank.

Query parameters

FieldTypeRequiredDescription
query string No Query.
limit integer · int32 Yes Limit.
curl --request GET 'https://api.selsup.ru/api/finance/fetchBank?limit=50' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200
Array item structure Bank[]
FieldTypeRequiredDescription
bik string No Bik.
name string No Name.
address string No Address.
isBank boolean No Is Bank.
account string No Account.
integration stringSBER, TOCHKA, TBANK, ALFA_BANK No Integration.
bankBik Bank No Bank Bik.
bankName Bank No Bank Name.
bankAddress Bank No Bank Address.
bankAccount Bank No Bank Account.
bankIntegration Bank No Bank Integration.
[
  "string"
]
Errors3

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

GET

Export Transaction In Excel File

/api/finance/exportTransactionInExcelFile
Token with read access

Export Transaction In Excel File using GET /api/finance/exportTransactionInExcelFile.

Query parameters

FieldTypeRequiredDescription
request AnalyticsRequest Yes Request.
Object fields AnalyticsRequest
FieldTypeRequiredDescription
period stringDAY, WEEK, MONTH, QUARTER, YEAR, MONTH_3, MONTH_6, END_OF_TARIFF, MONTH_7, MONTH_14, YEAR_2 No Period.
dateFrom string · date-time Yes Date From.
dateTo string · date-time Yes Date To.
services string[] No Services.
categories integer[] No Categories.
brands integer[] No Brands.
clientOrganizationId integer · int64 No Client Organization Id.
organizations integer[] No Organizations.
ids integer[] No Ids.
type stringFBM, FBS, INCOME, RETAIL, WHOLESALE, FBO, MOVEMENT, WRITE_OFF, PRODUCTION No Type.
types string[] No Types.
status stringCREATED, REVOKING, REVOKED, ORDER_CREATED, CARDS_CREATED, BOX_BARCODES, IMAGES_UPLOADED, INVOICE_UPLOADED, READY_TO_SUPPLY, SUPPLIED, FINISHED, COLLECTED, SEND, DELIVERY, REFUND, COLLECTING, PACKING, PAYMENT_REQUIRED, CANCELED, CONTROVERSIAL, OVERDUE, READY_FOR_PICKUP, WAITING_SUPPLY, PICK_UP_REFUND, REFUND_RECEIVED, DELETED, RESTORE, PRODUCTION_CONFIRMED No Status.
timeZone integer · int32 No Time Zone.
previousDateFrom string · date-time No Previous Date From.
clientOrganizationIds integer[] No Client Organization Ids.
ignoreCredit boolean No Ignore Credit.
productAnalyticField stringBARCODE, COLOR, ARTICLE, BRAND, CATEGORY Yes Product Analytic Field.
query string No Query.
withDuplicate boolean No With Duplicate.
withBonus boolean No With Bonus.
byOrgAndService boolean No By Org And Service.
byOrderType boolean No By Order Type.
limit integer · int32 No Limit.
page integer · int32 No Page.
sortBy string No Sort By.
ascending boolean No Ascending.
id integer · int64 No Id.
isMarketPlaceStructure boolean No Is Market Place Structure.
isDashboard boolean No Is Dashboard.
analyticsField stringPRODUCT, MODEL, GROUP, ORGANIZATION, CLIENT, CATEGORY, PRODUCT_VIEW, BRAND, REGION, WAREHOUSE No Analytics Field.
planDayCount integer · int32 No Plan Day Count.
daysToSupply integer · int32 No Days To Supply.
plannedSupplyDate string · date-time No Planned Supply Date.
groupByView boolean No Group By View.
warehouses integer[] No Warehouses.
salesModels string[] No Sales Models.
aggregation stringWAREHOUSE, WAREHOUSE_PRODUCT No Aggregation.
columns FileExportColumn[] No Columns.
Array item structure FileExportColumn
FieldTypeRequiredDescription
id integer · int64 No Id.
fileExportId integer · int64 No File Export Id.
columnName string No Column Name.
columnOrder integer · int32 No Column Order.
isEnabled boolean No Is Enabled.
regions string[] No Regions.
group boolean No Group.
calculationByOrders boolean No Calculation By Orders.
sourceReport stringDEFAULT, ORDER, SALES, PROFIT, OZON, YANDEX_MARKET, WB_REALIZATION_FILE, WB_DETAILED_REPORT_FILE, OZON_REALIZATION_FILE, OZON_REALIZATION_FILE_NEW, OZON_COMPENSATIONS_FILE, OZON_SERVICES_FILE, OZON_CASH_FLOW_STATEMENT, WB_CAMPAIGN, SBER_MEGA_MARKET_FILES, YANDEX_MARKET_FILE_DETAILS, WB_RETURNS_REPORT, OWN_DELIVERY, OZON_CAMPAIGN_SKU_REPORT, WB_PAID_STORAGE, YANDEX_MARKET_NETTING, OZON_CPO_SKU_REPORT, UZUM, UZUM_EXPENSES, DEFECT_WRITE_OFF, LOCAL_ORDER, EXTERNAL_CAMPAIGN No Source Report.
skipDayWithoutStocks boolean No Skip Day Without Stocks.
replaceSetsByComponents boolean No Replace Sets By Components.
distributeFbsByWarehouse boolean No Distribute Fbs By Warehouse.
distributeFbsStock boolean No Distribute Fbs Stock.
ignoreDumping boolean No Ignore Dumping.
isSaleStructure boolean No Is Sale Structure.
isAveragePerOneUnit boolean No Is Average Per One Unit.
updateDate boolean No Update Date.
useWeightedGroup boolean No Use Weighted Group.
isFindirRequest boolean No Is Findir Request.
brandIds integer[] No Brand Ids.
categoryIds integer[] No Category Ids.
articles string[] No Articles.
colors string[] No Colors.
sizes string[] No Sizes.
barcodes string[] No Barcodes.
tagIds integer[] No Tag Ids.
penaltyFrom number · double No Penalty From.
penaltyTo number · double No Penalty To.
logisticsFrom number · double No Logistics From.
logisticsTo number · double No Logistics To.
marginFrom number · double No Margin From.
marginTo number · double No Margin To.
salesAmountFrom number · double No Sales Amount From.
salesAmountTo number · double No Sales Amount To.
totalSalesAmountFrom number · double No Total Sales Amount From.
totalSalesAmountTo number · double No Total Sales Amount To.
grossProfitFrom number · double No Gross Profit From.
grossProfitTo number · double No Gross Profit To.
taxNds integer · int32 No Tax Nds.
useOsno boolean No Use Osno.
unmatch boolean No Unmatch.
curl --request GET 'https://api.selsup.ru/api/finance/exportTransactionInExcelFile?request=%5Bobject+Object%5D' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200
Object fields TmsTask
FieldTypeRequiredDescription
id integer · int64 No Id.
status stringCREATED, RUNNING, FINISHED, ERROR, RESTARTING, INTERRUPTING, INTERRUPTED, STOPPED, EXCEPTION No Status.
type stringWILDBERRIES_CREATE_CARD, NATIONAL_CATALOG_CREATE_CARD, OZON_CREATE_CARD, OZON_CARDS_IMPORT, IMPORT_FBS_ORDERS, UPLOAD_PHOTOGRAPHY, WILDBERRIES_UPDATE_PRICE, WILDBERRIES_CARD_IMPORT, WILDBERRIES_CARD_UPDATE, SELSUP_STOCKS, REFRESH_PHOTOGRAPHY, SUPPLYING_QUANTITY_TASK, EXPORT_PRICE, OZON_UPDATE_PRICE, WILDBERRIES_FILE_TASK, YANDEX_MARKET_CARD_CREATE, OZON_CARD_UPDATE_TASK, OZON_IMPORT_STAT_TASK, WILDBERRIES_PROFIT_STAT_TASK, ALIEXPRESS_CREATE_CARD_TASK, ALIEXPRESS_UPDATE_CARD_TASK, PRICES_IMPORT_TASK, WILDBERRIES_PRICES_TASK, YANDEX_MARKET_CARD_IMPORT, STOCKS_UPDATE, WILDBERRIES_STOCKS_IMPORT_TASK, WILDBERRIES_ORDERS_AND_SALES_TASK, WILDBERRIES_INCOMES_IMPORT_TASK, OZON_STOCKS_IMPORT_TASK, TURNOVER_DOCUMENTS_TASK, INTRODUCE_WMS_ITEMS_TASK, PRODUCTS_FILE_TASK, MODELS_FILE_TASK, UPDATE_PRODUCT_CODES_TASK, INTRODUCE_CODES_TASK, PRODUCTS_IMPORT_TASK, PRICES_FILE_TASK, YANDEX_MARKET_UPDATE_PRICE_TASK, IMPORT_STOCKS_TASK, MOY_SKLAD_EXPORT_ORDERS, MERGE_PRODUCTS_TASK, PRODUCTS_WILDBERRIES_EXCEL_IMPORT_TASK, MOY_SKLAD_CREATE_CARD, IMPORT_FBO_STOCKS_FROM_FILE, CREATE_WMS_ITEMS, MOY_SKLAD_CARDS_IMPORT, PROMOTION_FILE, UNUSED_1, UNUSED, PRODUCT_ANALYTICS_FILE_TASK, PROMOTION_RESET_FILE, MOY_SKLAD_IMPORT_ORDERS, FINANCE_REPORT_FILE_TASK, YML_FILE_EXPORT, PRODUCT_BALANCE_REPORT_FILE_TASK, CURRENT_PRODUCT_BALANCE_FILE_TASK, IMPORT_TRANSACTIONS, MATCH_UNREGISTERED_PROFIT_REPORT_TASK, UPDATE_AVERAGE_SERVICE_EXPENSES_TASK, YANDEX_MARKET_ORDER_IMPORT_STAT_TASK, ABC_REPORT_FILE_TASK, MODEL_CONTRACTORS_IMPORT, MODEL_CONTRACTORS_EXPORT, BANK_TRANSACTION_IMPORT_FILE_TASK, YML_IMPORT_TASK, SALES_DYNAMIC_REPORT_FILE_TASK, UPDATE_FBS_ORDERS, EXPORT_TRANSACTION_IN_EXCEL_FILE_TASK, IMPORT_TRANSACTION_FROM_EXCEL_FILE_TASK, EXPORT_PROFIT_REPORT_FILE_TASK, IMPORT_PROFIT_REPORT_FROM_EXCEL_FILE_TASK, IMPORT_REALIZATION_REPORT_TASK, STOCK_RECONCILIATION, ORDER_REPORT_FILE_TASK, GET_WB_FBO_ORDER_FROM_PROFIT_REPORT_TASK, TO_QUANTITY_STORAGE_METHOD, APPLY_RECONCILIATION, OZON_IMPORT_FBO_ORDERS_TASK, UPDATE_PURCHASE_PRICE_IN_PROFIT_REPORT_TASK, FBS_LABELS, MERGE_PRODUCT_STOCKS, CREATE_ORDER_FROM_FILE, ALIEXPRESS_CARD_IMPORT, PRICE_LIST_IMPORT, WB_STOCK_REPORT_FILE, CONTRACTORS_REPORT_FILE, PRODUCTS_SBER_MEGA_MARKET_EXCEL_IMPORT_TASK, EXPORT_PROBLEMATIC_PRODUCT_REPORT, PLAN_SUPPLY_REPORT_TASK, PLAN_FACT_SALES_REPORT_FILE, IMPORT_PLAN_SALES_FROM_EXCEL_FILE_TASK, EXPORT_PLAN_SALES_EXCEL_FILE_TASK, ORDERS_TO_BUY_FILE_TASK, MERGE_PRICE_ON_OTHER_MP_TASK, MATCH_PRODUCT_LAST_OPERATION_DATE_TASK, PROBLEMATIC_PRODUCT_PRICE_FILE_TASK, CATEGORIES_IMPORT_EXCEL_TASK, AVITO_CARD_IMPORT, UPDATE_OLD_WB_ORDER_STATUSES_TASK, PRESTA_SHOP_IMPORT_TASK, PRODUCTS_AVITO_EXCEL_IMPORT_TASK, FBO_STOCK_RECONCILIATION_TASK, APPLY_FBO_RECONCILIATION_TASK, EXPORT_REPRICE_PRODUCT_CONFIG_TASK, IMPORT_REPRICE_PRODUCT_CONFIG_TASK, OZON_CASH_FLOW_STATEMENT_IMPORT_TASK, IMPORT_PROMOTION_STRATEGY_FILE_TASK, UPDATE_ORDER_DELIVERY_INFO_TASK, BILLING_OPERATION_TASK, SET_PURCHASE_PERCENT_TASK, REMOVE_PRODUCT_IMAGES_TASK, STRUCTURE_TURNOVER_TASK, OZON_NEW_UPDATE_PRICE, REPLACE_PRODUCT_IMAGE_TASK, UPDATE_OZON_PROMOTION_DATA_TASK, WILDBERRIES_IMPORT_CAMPAIGN_TASK, WILDBERRIES_STORAGE_REPORT_TASK, WEBASYST_LINK_ARTICLE_TASK, DELIVERY_SERVICE_LABELS, HAND_ON_PULSE_FILE_TASK, ITEMS_INCOME_EXCEL_TASK, UPDATE_SETS_EXCEL_TASK, DELETE_PROFIT_REPORTS_BY_FILE_HISTORY_IDS_TASK, EXPORT_PRODUCT_SETS_TASK, AMAZON_CARD_IMPORT, IMPORT_ACCEPTED_PRODUCTS_TASK, ADD_ORDER_PRODUCT_FROM_FILE_TASK, EXPORT_ITEM_HISTORY_FILE_TASK, WILDBERRIES_IMPORT_CAMPAIGN_BY_EXCEL_TASK, REMOVE_CLIENT_ORGANIZATION, EBAY_CARD_IMPORT_TASK, PRODUCTS_IMPORT_FROM_ORGANIZATION_TASK, IMPORT_FBO_ORDERS, LAMODA_CARD_IMPORT, UPDATE_WB_PROMOTION_DATA_TASK, IMPORT_RETURNS_REPORT_TASK, UPDATE_PROMOTION_DATA_TASK, RESTORE_CLIENT_ORGANIZATION, LEROY_MERLIN_CARD_IMPORT, YANDEX_MARKET_STOCKS_IMPORT_TASK, WILDBERRIES_IMPORT_NM_REPORT_TASK, ORDER_ANALYTICS_FILE_TASK, CLIENT_DATABASE_MOVE_TASK, FAST_CARD_IMPORT, EXPORT_PRODUCT_CODE, INSALES_CARD_IMPORT_TASK, REMOVE_PRODUCT_VIDEOS_TASK, UPDATE_CARDS_TASK, FIND_UNPROFITABLE_PRODUCTS_TASK, FIND_UNPURCHASED_PRODUCTS_TASK, WALMART_CARD_IMPORT, PRODUCT_GROUPS_TASK, CONTRACTOR_ARTICLE_EXPORT_TASK, CONTRACTOR_ARTICLE_IMPORT_TASK, CURRENCY_CONVERSION_TASK, UPDATE_SUPPLY_PLAN_REPORT_TASK, EXPORT_SUPPLY_PLAN_REPORT_FILE_TASK, CHECK_STOCK_ORDER, PHOTOGRAPHY_EXCEL, PREPARE_FINDIR_DATA_TASK, CARD_SPLITTING_TASK, EXPORT_IMAGE_UPDATES_TEMPLATE_TASK, IMPORT_IMAGE_UPDATES_TASK, PREPARE_PRODUCT_HAND_ON_PULSE_TASK, UPDATE_OZON_AVERAGE_DELIVERY_TIME, UPDATE_COMMISSIONS_TASK, WOOCOMMERCE_CARD_IMPORT, UPDATE_FBS_STOCKS_HISTORY, RETURNS_FILE_TASK, FAST_PRODUCTS_IMPORT_TASK, ANALYZE_PRODUCT_CARDS_TASK, DETMIR_CARD_IMPORT, MATCH_OZON_REALIZATION_REPORT_TASK, MAGNIT_IMPORT_PRODUCTS_TASK, UPDATE_PURCHASE_PRICE_FROM_STOCKS_IN_PROFIT_REPORT_TASK, MOY_SKLAD_FBO_MP_DATES_FIX, PRICE_HISTORY_FILE_TASK, FBM_ORDERS_IMPORT_TASK, UZUM_IMPORT_PRODUCTS_TASK, OPENCART_CARD_IMPORT, CARDS_IMPORT, OZON_CROSSDOCK_TRANSIT_ROUTES_TASK, UNUSED_2, OZON_IMPORT_SALES_FUNNEL_REPORT_TASK, WRITE_OFF_PRODUCTS_FILE_TASK, CLIENT_DATABASE_CREATE_TASK, UPDATE_FBS_LABELS_TASK, REBUILD_PROFIT_REPORT_HOURLY_AGGREGATE_TASK, OZON_IMPORT_CAMPAIGN_TASK, EXPORT_SUPPLY_PLAN_FILE_TASK, IMPORT_SUPPLY_PLAN_FILE_TASK, CREATE_SERVICE_CARDS, WAREHOUSE_ECONOMICS_FILE_TASK, UPDATE_WILDBERRIES_ACQUIRING_RATE_TASK, PRODUCT_SALES_FORECAST_TASK, UPDATE_PRODUCT_CODES_STATUSES_TASK, MARKETPLACE_UPDATE_PRICE_TASK, UZUM_IMPORT_STAT_TASK, CAMPAIGN_STATS_FILE_TASK, OZON_FBO_WORKFLOW_TASK, EXPORT_CERTIFICATE_TEMPLATE_TASK, IMPORT_CERTIFICATES_TASK, REBUILD_LOCAL_ORDER_PROFIT_REPORT_TASK, SHOPIFY_CARD_IMPORT No Type.
name string No Name.
clientId integer · int64 No Client Id.
entityId integer · int64 No Entity Id.
progress integer · int32 No Progress.
processedQuantity integer · int32 No Processed Quantity.
organizationId integer · int64 No Organization Id.
priority integer · int32 No Priority.
properties string No Properties.
message string No Message.
messageParams string No Message Params.
createdDate string · date-time No Created Date.
startDate string · date-time No Start Date.
finishDate string · date-time No Finish Date.
url string No Url.
inputFileUrl string No Input File Url.
retryNumber integer · int32 No Retry Number.
userId integer · int32 No User Id.
retryDate string · date-time No Retry Date.
debug boolean No Debug.
forcedStart boolean No Forced Start.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC No Service.
lang string No Lang.
{
  "id": 1001,
  "status": "CREATED",
  "type": "WILDBERRIES_CREATE_CARD",
  "name": "Example",
  "clientId": 1001,
  "entityId": 1001
}
Errors4

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_analytics_access_denied
Analytics data is confidential for the SUPPORT role

Endpoint-specific error. Use the stable error_analytics_access_denied code in application logic; localMessage contains the translation shown above.

Authorization

Token for test requests

The token stays in this browser's localStorage and is sent only in the Authorization header of requests to api.selsup.ru.

Try it

Real request parameters

Live API response

Send a request to see the SelSup response.