Refund payment
Refund payment
Returns bad request if refund is not allowed or amount is greater than payment balance.``
1 | POST /sales-ledger/{number}/refund
|
Request
1 2 3 4 5 | { "date": "2014-05-05", "amount": 20.5, "currencyAmount": 20.5 } |
Response
HTTP/1.1 200 OK
Detailed property description
Name | Required | Type | Format |
---|---|---|---|
date | yes | String | YYYY-MM-DD |
amount | yes | Number | |
currencyAmount | yes for invoices in foreign currency | Number |