Copy PageCreate bill line itemposthttps://api.wafeq.com/v1/bills/{bill_id}/line-items/Endpoint for creating a new bill line item.Path Paramsbill_idstringrequiredBody Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataA line item of a bill.accountstringrequiredThe account associated with this line item.amortizationobjectOptional amortization configuration. When provided, an amortization is created for this line item.amortization objectcost_centerstringThe cost center associated with this line item, if any.custom_fieldsobjectA mapping of custom field IDs to their values.custom_fields objectdescriptionstringrequiredThe detailed description of the line item.discountdouble | nullThe discount as the percentage.itemstringThe item associated with this line item.item_unit_of_measurestring | nullThe item unit of measure for this line item.orderintegerThe position of the line item within the document.quantitydoublerequiredThe quantity of the item or service.tax_ratestringThe tax rate applied to this line item, if any.unit_amountdoublerequiredThe price per unit of the item or service.HeadersX-Wafeq-Idempotency-KeystringClient-provided UUID to uniquely identify a requestcontent-typestringenumDefaults to application/jsonGenerated from available request content typesapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataAllowed:application/jsonapplication/x-www-form-urlencodedmultipart/form-dataResponse201Updated 3 days agoList bill line itemsDelete bill line item