Knock Off Entry Detail Input Model
Fields
Field | Description | Type | |
---|---|---|---|
docType | Document type. List of document types can be found here. | string, maxLength(2) | required for new records |
docNo | Source document number which has outstanding transactions. | string | required for new records |
knockOffAmount | Knock off amount in document currency. More information can be found here. | number | required for new records |
Invalid Inputs
caution
Only single detail row entries are allowed for a transaction document in a Knock Off document.
Hence, although a Journal Entry can be knocked off for Debit or Credit, separate detail rows using the same docNo
are not allowed.
Invalid Input Example
{
"master": {
"docDate": "2022-12-22",
"accNo": "300-D001",
},
"details": [
{
"knockOffAmount": 100,
"docNo": "JV-000001",
"docType": "JE"
},
{
"knockOffAmount": -100,
"docNo": "JV-000001",
"docType": "JE"
}
]
}