API Reference
Start developing plugins for BizFusion.

 
Custom Voucher Line (CustomVoucherLineDTO)

A custom voucher consists of two or more voucher lines.
Taken together, the lines make up the custom journal entry that needs to be posted.

The custom voucher line specifies the account that must be debited or credited.
The credit value must be zero if you specify a debit value.
Likewise, the debit value must be zero if you specify a credit value.

Note that the debit and credit value cannot both be zero.


Properties
property data type reference
CustomVoucherLineId Int32 Primary Key
CustomVoucherId Int32 CustomVoucherDTO
AccountId Int32 AccountDTO
Debit Decimal
Credit Decimal
Timestamp String


Methods
method parameters URL
Get
/api/CustomVoucherLine
Get
Int32 id
/api/CustomVoucherLine?id={value}
Get
Int32 pageIndex, Int32 recordsPerPage
/api/CustomVoucherLine?pageIndex={value}&recordsPerPage={value}
GetRecordCount
/api/CustomVoucherLineSet/RecordCount
GetByField
String field, String value
/api/CustomVoucherLineSet/ByField?field={value}&value={value}
GetAfterId
Int32 id
/api/CustomVoucherLineSet/AfterId?id={value}
GetBeforeId
Int32 id
/api/CustomVoucherLineSet/BeforeId?id={value}
GetMaxId
/api/CustomVoucherLineSet/MaxId




General Info

- Numbers should be in English format: 124.99
- Dates look like: 2014-12-31T00:00:00
- Time information is ignored.
- Concurrency is handled through timestamps

Create Record (POST)

- Primary keys are not required when doing a post.
- Timestamps are not required when doing a post.
- Provide the JSON record in the body of the post request.

Update Record (PUT)

- Timestamps are required.
- Provide the JSON record in the body of the put request.

Delete Record (DELETE)

- Primary key and Timestamp are required.