Examples
POST /v1/24fff4c6-f5bd-49d9-8e80-de5e88f9680b/ledgers/7df538e2-ad16-4cd2-8f00-4c8e8159312d/remove_fee
{
"remove_fee": {
"fee_line_item_id": "8628379f-db9d-48b2-9236-3a92015ea352",
"notes_attributes": [
{
"note": "A short note"
}
]
},
"ledger_item": {}
}
200
{
"line_item": {
"id": "ea8d874b-f155-412f-b09b-47c2102ee521",
"description": "some fee",
"quantity": 1,
"prorated": false,
"discount_amount": null,
"single_item_price": -5.0,
"subtotal": -5.0,
"tax_total": 0,
"total": -5.0,
"current_product_code": "FEE-7",
"full_description": "some fee - Credit",
"quantifiable": false,
"children_line_items": []
},
"meta": {
"status_code": 200,
"status_message": "OK",
"status_cat": "https://http.cat/200",
"request_method": "POST",
"request_id": null,
"parameters": {
"remove_fee": {
"fee_line_item_id": "8628379f-db9d-48b2-9236-3a92015ea352",
"notes_attributes": [
{
"note": "A short note"
}
]
},
"facility_id": "24fff4c6-f5bd-49d9-8e80-de5e88f9680b",
"ledger_id": "7df538e2-ad16-4cd2-8f00-4c8e8159312d",
"ledger_item": {}
}
}
}