Credit note allocation
JSON:
{
"datastream": {
"dataset": [
{
"jobtype": "0",
"person": "Nelli Niirulainen",
"address": "Kellokoskenkatu 15 A 3",
"postcode": "70100",
"city": "KUOPIO",
"customertype": "2",
"billdate": "2017-03-04",
"paydate": "2017-03-18",
"payrow": [
{
"desc": "Siivous",
"count": "1",
"itemtype": "h",
"amount": "100",
"taxpr": "23"
}
]
}
]
}
}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
JobAddCreditNote
amountnumberRequiredExample:
Amount of credit note
710.00billcodestringOptionalExample:
Reference of job. One of these required: 1.billcode, 2.jobid, 3. billnum (search order)
123467billnumstringOptionalExample:
Billnum of job. One of these required: 1.billcode, 2.jobid, 3. billnum (search order)
R123467jobidintegerOptionalExample:
Id of job. One of these required: 1.billcode, 2.jobid, 3. billnum (search order)
123467datestringRequiredExample:
Date
2017-10-10typestringOptionalExample:
Credit note type
allocatedcreditnotebillnumstringOptionalExample:
Credit note invoice number
26251descriptionstringOptionalExample:
Description of credit note
Capital amount increased due to agreement change.Responses
201
Credit note response
application/json
400
Bad request
application/json
401
Unauthorized
post
/jobs/creditnoteLast updated
Was this helpful?

