Create
Command, Introduced in version 2.30
POST https://localhost:8001/sv/001.1/api/v1/Accounting/AccrualAccountings/Create
Creates an accrual accounting.
Returns EntityCommandResponse
The root entity id of the response is the business key identifier of the created accrual accountng. References AccrualAccountings
The entity id of the response is the same as the root entity id.
Required permission
Create accrual
Properties
Name | Type | Summary | Introduced in |
---|---|---|---|
AccountsPayableId | Int64 | The business key identifier of the accounts payable for the accrual accounting. Used when creating an accrual accounting of the type References Suppliers
|
|
AccrualAccountingType | Int32 | The type to set for the accrual accounting.
|
|
VoucherRowId | Int64? | The business key identifier of the voucher row to set for the accrual accounting. References VoucherRows
|
|
BookingRowId | Int64? | The business key identifier of booking row to set for the accrual accounting. Used instead of if the accounts payable does not yet have an associated voucher. References BookingRows
|
|
StartDate | DateTime | The start date of the accrual accounting.
|
|
Periods | AddAccrualAccountingRow[] | Specifies the accrual accounting periods which will be added to the accrual accounting. The total sum of
|
|
BookingRows | AddBookingRow[] | The booking rows to set for the accrual accounting.
|
Example
{
"AccountsPayableId": 0,
"AccrualAccountingType": 0,
"VoucherRowId": null,
"BookingRowId": null,
"StartDate": "0001-01-01T00:00:00",
"Periods": null,
"BookingRows": null
}