expenses
Operations addressed under /expenses — 8 operations.
create-expense
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as AuraCommandDto.
| Field | Declared type | Nullable |
|---|---|---|
Id | Guid | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_EXPNS_24 | 400 | CURRENCY_ID_NOT_FOUND |
ERR_EXPNS_9 | 400 | EXPENSE_ITEM_MUST_NOT_BE_PASSIVE |
create-expense › Request Body
currencyNumbercustomerIdexpenseAmountPermitted values — validated against the tax_condition parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | Include | no label seeded |
2 | Exclude | no label seeded |
expenseItemIdtaxAmounttransactionAmountorganizationIdtotalConfirmedExpenseAmounttotalExpenseAmountcreate-expense › Responses
Success. An exact, uniquely bound route registration classifies this response as a single-record.
get-expense
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as ExpenseDto.
| Field | Declared type | Nullable |
|---|---|---|
Id | Guid? | yes |
OrganizationId | Guid? | yes |
CustomerId | Guid? | yes |
ExpenseCalculationId | Guid? | yes |
ExpenseItemId | Guid? | yes |
TransactionAmount | decimal? | yes |
ExpenseAmount | decimal? | yes |
TaxAmount | decimal? | yes |
TotalExpenseAmount | decimal? | yes |
TotalConfirmedExpenseAmount | decimal? | yes |
CurrencyNumber | string | no |
ExpenseStatus | int? | yes |
CreatedDate | DateTime? | yes |
TransactionDate | DateOnly? | yes |
ExpenseAccounts | List<ExpenseAccountDto> (collection) | no |
ExpenseInstallments | List<ExpenseInstallmentDto> (collection) | no |
ExpenseRuleMaps | List<ExpenseRuleMapDto> (collection) | no |
Member names are the service's declaration names.
path Parameters
idget-expense › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
create-expense-account
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
path Parameters
idcreate-expense-account › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
get-expense-amount-by-id
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as ExpenseAmountDto.
| Field | Declared type | Nullable |
|---|---|---|
ExpenseAmount | decimal? | yes |
MaxExpenseAmount | decimal? | yes |
MinExpenseAmount | decimal? | yes |
Member names are the service's declaration names.
path Parameters
idget-expense-amount-by-id › Responses
Success. An exact, uniquely bound route registration classifies this response as a single-record.
create-expense-installment
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as IEnumerable<CreateExpenseInstallmentDto>.
| Field | Declared type | Nullable |
|---|---|---|
SequenceIdentifier | Guid | no |
SequenceNumber | int? | yes |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_EXPNS_24 | 400 | CURRENCY_ID_NOT_FOUND |
ERR_EXPNS_44 | 400 | SEQUENCE_NUMBER_MUST_NOT_BE_NULL_AND_MUST_NOT_BE_DUBLICATE |
path Parameters
idcreate-expense-installment › Responses
Success. Returns a collection of records. Of 135 operations in this state that were probed (measured against a reference deployment on parameterless GET routes only), 118 answered and 118 returned a bare JSON array.
Array of catalog-declared response records.
installmentReferenceIdsequenceNumberUpdate Expense Installment Accrual Accounting Entry
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Invokes the update-expense-installment-accrual-accounting-entry-id service definition through PUT /expenses/{id}/installments/{expenseInstallmentId}/accrual-accounting-entry.
Turkish display name: Masraf Taksiti Tahakkuk Muhasebe Kaydını Güncelle
path Parameters
idexpenseInstallmentIdUpdate Expense Installment Accrual Accounting Entry › Request Body
accrualAccountingEntryIdUpdate Expense Installment Accrual Accounting Entry › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
get-expense-range-control
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route returns bool, a scalar rather than an object. There is no field tree below because there are no fields: the body is the JSON literal true or false. This is a complete answer read from the declaration, not a gap.
path Parameters
idquery Parameters
amountget-expense-range-control › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
update-expense-status
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
path Parameters
idupdate-expense-status › Request Body
expenseStatusPermitted values — validated against the expense_status parameter.
| Value | Meaning |
|---|---|
1 | Created |
2 | Confirmed |
3 | Collected |
4 | Canceled |
Permitted values — validated against the expense_status parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | Created | no label seeded |
2 | Confirmed | no label seeded |
3 | Collected | no label seeded |
4 | Canceled | no label seeded |
update-expense-status › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.