Params

Param name Description
invoiceable_item_id
required

Validations:

  • Must be a String

Examples

POST /v1/3d59f462-cad0-4149-a6e8-0cb6d2f6c603/ledgers/61216068-fc99-4b80-a093-fc7284a970e0/add_fee
{
  "add_fee": {
    "invoiceable_item_id": "741424bf-37c8-449f-9b62-75e7549b4acf",
    "notes_attributes": [
      {
        "note": "A short note"
      }
    ]
  },
  "ledger_item": {}
}
200
{
  "line_item": {
    "id": "b4283e4a-298b-4ed9-827f-c98d03328d6d",
    "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-8",
    "full_description": "some fee",
    "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": {
      "add_fee": {
        "invoiceable_item_id": "741424bf-37c8-449f-9b62-75e7549b4acf",
        "notes_attributes": [
          {
            "note": "A short note"
          }
        ]
      },
      "facility_id": "3d59f462-cad0-4149-a6e8-0cb6d2f6c603",
      "ledger_id": "61216068-fc99-4b80-a093-fc7284a970e0",
      "ledger_item": {}
    }
  }
}