Docs

Billing and expenses

API reference for invoices and their lines, payments, recurring invoices, quotes, products, taxes and expenses.

These endpoints need the Sales area of the key's role, apart from expenses, which need Financial, and payments, which need Financial with Read on Sales. Making and changing needs Modify, and deleting Full. See Keys and permissions.

Invoices

EndpointDoes
GET invoices/read.phpLists invoices, or gets one
POST invoices/create.phpMakes a draft invoice, with its lines
POST invoices/update.phpChanges an invoice's dates, scope, category, discount or note
POST invoices/send.phpEmails an invoice, or a reminder of what is owed on it
POST invoices/mark_sent.phpMarks an invoice sent without emailing it
POST invoices/cancel.phpCancels an invoice
POST invoices/delete.phpDeletes an invoice

Read

ParameterDoes
invoice_idJust this invoice
client_idJust this client's invoices
limit, offsetPaging

Every invoice is listed, whatever its status. invoice_amount is its total. ITFlow works out the rest of the sums and adds them to each invoice:

FieldNotes
invoice_subtotalThe total before tax
invoice_taxThe tax
invoice_taxesThe tax by each part of it, as on the invoice: a name and an amount
invoice_tax_registrationsThe tax registration lines printed on the invoice
{
  "success": "True",
  "count": 1,
  "data": [
    {
      "invoice_id": "475",
      "invoice_prefix": "INV-",
      "invoice_number": "475",
      "invoice_scope": "Wireless upgrade - two access points for the treatment rooms",
      "invoice_status": "Draft",
      "invoice_date": "2026-10-21",
      "invoice_due": "2026-11-05",
      "invoice_amount": "824.30",
      "invoice_currency_code": "USD",
      "invoice_client_id": "1",
      "invoice_subtotal": 790,
      "invoice_tax": 34.3,
      "invoice_taxes": [ { "name": "PA Sales Tax 6%", "amount": 29.4 }, { "name": "Allegheny County 1%", "amount": 4.9 } ],
      "invoice_tax_registrations": [ "Allegheny County Sales Tax No. 75520193" ]
    }
  ]
}

Fields: invoice_id, invoice_prefix, invoice_number, invoice_scope, invoice_status, invoice_date, invoice_due, invoice_discount_amount, invoice_credit_amount, invoice_amount, invoice_currency_code, invoice_note, invoice_url_key, invoice_category_id, invoice_recurring_invoice_id, invoice_quote_id, invoice_client_id, invoice_created_at, invoice_updated_at, invoice_archived_at, and the sums above.

Its payments are under Payments.

Create

FieldNotes
client_idRequired
dateIts date, as 2026-11-05. Today if you leave it out. It's due on the client's terms from then.
scopeWhat it's for
category_idAn income category
discountAn amount off it
noteThe note it carries
itemsIts lines, up to 100. Each is a product_id - its name, description and price unless you send them - or a name and price; with qty (1 if left out), description, and tax_id: a tax's id, or default for the client's usual rate. A product whose stock is tracked has to have enough on the shelf.

It's made as New Invoice makes one - the next number, in your company's currency - and stays a draft until it's sent. A client, date or line that won't do is refused with 400 and why in message.

curl -X POST https://itflow.example.com/api/v1/invoices/create.php \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"client_id": 1, "scope": "Wireless upgrade", "items": [{"product_id": 96, "qty": 2, "tax_id": "default"}, {"name": "Installation", "price": 150}]}'
{
  "success": "True", "count": "1", "data": [ { "insert_id": 476 } ],
  "invoice_reference": "INV-476", "amount": 824.30,
  "url": "https://itflow.example.com/guest/guest_view_invoice.php?invoice_id=476&url_key=..."
}

url is where the client views and pays it, once it's sent.

Update

update.php takes invoice_id, client_id - the invoice's own client - and any of date, due (both as 2026-11-05), scope, category_id, discount and note. Only what you send changes, and the total follows the discount. Its lines change through Invoice lines.

Send

FieldNotes
invoice_idRequired
client_idThe invoice's client. Needed when the key's agent can see only some clients.
contact_idsThe client's contacts to email, as a list. Left out, its primary and billing contacts.
kindinvoice, the default, or reminder - a reminder of what is still owed on one already sent
noteA note at the top of the email
attach_pdf1 to attach the PDF, 0 not to. Left out, as Invoices and billing is set.

It goes as Send does in ITFlow, from your billing address, with the invoice's link to view and pay it. A draft becomes Sent; anything further along keeps its status. Those of the contacts who agreed to texts get its link by text too, when text messaging is set up. A cancelled or non-billable invoice isn't sent.

{
  "success": "True", "count": 1,
  "emailed_to": ["Priya Raghavan (praghavan@ravenwooddental.example)", "Dana Prescott (dprescott@ravenwooddental.example)"],
  "status": "Sent",
  "url": "https://itflow.example.com/guest/guest_view_invoice.php?invoice_id=476&url_key=..."
}

Mark sent, cancel and delete

Each takes invoice_id and client_id, the invoice's own client.

  • Mark sent takes sent_method - Sent by Snail Mail, Sent by Email Client, Hand Delivered, Sent by Fax, Sent by Courier, Shared Guest Link or Other - and a note for its history. Nobody is emailed.
  • Cancel marks it Cancelled. It stays, and what it took off the shelf goes back.
  • Delete needs Full on Sales. Its lines, history and payments go with it, what it took off the shelf goes back, and the tickets, expenses and trips billed on it are to bill again. Once a payment on it has cleared on a reconciled statement, it can't be deleted - cancel it instead.

Invoice lines

EndpointDoes
GET invoice_items/read.phpAn invoice's lines, or one line
POST invoice_items/create.phpAdds a line to an invoice
POST invoice_items/update.phpChanges a line
POST invoice_items/delete.phpTakes a line off

Read

ParameterDoes
invoice_idThis invoice's lines, in their order. You need this or item_id.
item_idJust this line
client_idOnly if the invoice is this client's
limit, offsetPaging

Each line comes with its tax rate's tax_name and tax_percent.

{
  "success": "True",
  "count": 1,
  "data": [
    { "item_id": "1956", "item_name": "Ubiquiti U6-Pro Access Point", "item_description": "Wi-Fi 6 access point, ceiling mounted", "item_quantity": "2.00", "item_price": "245.00", "item_subtotal": "490.00", "item_tax": "34.30", "item_total": "524.30", "item_order": "1", "item_tax_id": "2", "item_product_id": "96", "item_invoice_id": "475", "tax_name": "Allegheny County Sales Tax", "tax_percent": "7.0000" }
  ]
}

Fields: item_id, item_name, item_description, item_quantity, item_price, item_subtotal, item_tax, item_total, item_order, item_tax_id, item_product_id, item_invoice_id, item_created_at, item_updated_at, item_archived_at, tax_name, tax_percent.

Create

FieldNotes
invoice_idRequired. The invoice can't be paid already.
nameRequired, up to 200 characters
qtyRequired, more than 0
priceThe price of one
description
tax_idA tax rate's tax_id, 0 for no tax, or default for the rate the client - or the product - usually has
product_idThe product it is. One whose stock is tracked has the quantity taken from stock, and the line is turned down if there isn't enough.
item_orderWhere it goes among the lines
client_idThe invoice's client. Needed when the key's agent can see only some clients.

The invoice's totals are worked out again afterwards.

curl -X POST https://itflow.example.com/api/v1/invoice_items/create.php \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"invoice_id": 475, "name": "Patch cables", "description": "Cat6, 3 ft", "qty": 4, "price": 6.50, "tax_id": "default"}'

Update and delete

Both take item_id and client_id, the invoice's client. update.php takes any of name, description, qty, price and tax_id, and changes only what you send. delete.php needs Full on Sales. A tracked product's stock follows the line - more taken off the shelf, or put back. The invoice's totals are worked out again, and the lines of a paid, cancelled or non-billable invoice can't change.

Payments

EndpointDoes
GET payments/read.phpLists payments, or gets one
POST payments/create.phpRecords a payment on an invoice
POST payments/update.phpChanges a payment
POST payments/send.phpEmails a payment's receipt again
POST payments/delete.phpDeletes a payment

Payments are the money in on invoices, as on Payments. They need Financial on the key's role, with Read on Sales to see the invoices: Read to list them, Modify to record, change and send a receipt, and Full to delete.

Read

ParameterDoes
payment_idJust this payment
invoice_idJust this invoice's payments
client_idJust this client's payments
limit, offsetPaging

Each payment comes with its invoice's invoice_prefix, invoice_number and invoice_client_id, and the account_name of the account it went into.

{
  "success": "True",
  "count": 1,
  "data": [
    { "payment_id": "455", "payment_date": "2026-11-13", "payment_amount": "40.00", "payment_currency_code": "USD", "payment_method": "Check", "payment_reference": "Check 1042", "payment_account_id": "2", "payment_invoice_id": "436", "invoice_prefix": "INV-", "invoice_number": "436", "invoice_client_id": "19", "account_name": "Operating Checking" }
  ]
}

Record a payment

FieldNotes
invoice_idRequired. It has to be sent and still owed on - Sent, Viewed or Partial.
client_idThe invoice's client. Needed when the key's agent can see only some clients.
amountWhat was paid - no more than is owed. All that's owed if you leave it out.
dateWhen, as 2026-11-05. Today if you leave it out.
account_idThe account it went into. Your default payment account if you leave it out.
payment_methodHow it was paid - one of your payment methods, such as Check. Your default if you leave it out.
referenceA check number or transaction ID
email_receipt1 emails the client's primary and billing contacts a receipt, 0 doesn't. Left out, it goes when ITFlow sends mail.

It's recorded as Add Payment records it, in the invoice's currency. The invoice becomes Partial, or Paid - and a paid one does what paying does in ITFlow: a ticket waiting on it is told, and a lead becomes a client when that's set up. The answer has invoice_status, balance - what's still owed - and receipt_to.

curl -X POST https://itflow.example.com/api/v1/payments/create.php \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"invoice_id": 436, "amount": 40.00, "account_id": 2, "payment_method": "Check", "reference": "Check 1042"}'
{ "invoice_status": "Partial", "balance": 52, "receipt_to": ["Isla Brennan (ibrennan@thistleandvine.example)"], "success": "True", "count": "1", "data": [ { "insert_id": 455 } ] }

An invoice with nothing owed, too much, or an account or method that isn't one of yours is refused with 400 and why in message - the message lists your accounts or methods.

Card payments are charged, and refunded, in ITFlow.

Change, send a receipt and delete

Each takes payment_id and client_id, its invoice's client.

  • Update takes any of date, amount, account_id, payment_method and reference, and changes only what you send. The amount can't be more than the invoice's total with its other payments. The invoice is paid, part paid or owing again to match.
  • Send emails its receipt again to the client's primary and billing contacts. The answer has receipt_to.
  • Delete needs Full on Financial. The invoice is owing again by that much. A card payment isn't refunded by deleting it.

A payment that cleared on a reconciled statement keeps its date, amount and account, and can't be deleted - undo that reconciliation first.

Recurring invoices

EndpointDoes
GET recurring_invoices/read.phpLists recurring invoices, or gets one with its lines
POST recurring_invoices/create.phpMakes one, and its first invoice now if you ask
POST recurring_invoices/update.phpChanges one
POST recurring_invoices/status.phpPauses or resumes one
POST recurring_invoices/delete.phpDeletes one

Read

ParameterDoes
recurring_invoice_idJust this one, with its lines as items
client_idJust this client's
limit, offsetPaging

Create

FieldNotes
client_idRequired
itemsRequired: its lines, 1 to 100. Each is a product_id - its name, description and price unless you send them - or a name and price; with qty (1 if left out), description, and tax_id: a tax's id, or default for the client's usual rate.
frequencymonth (the default), quarter or year
start_dateIts first run, as 2026-11-05. Today if you leave it out.
scopeWhat it's for, shown on each invoice
note, category_id, discountThe note each invoice carries, an income category, and an amount off each one
auto_send1, the default: each invoice it makes is emailed by itself. 0 leaves them as drafts.
invoice_now1 makes the first invoice now, in place of the run on start_date - the next is a period later
invoice_sendWith invoice_now, 1 (the default) emails it to the client's primary and billing contacts and marks it Sent, so it can be paid from its link. 0 leaves it a draft.

It's made in the client's currency, as a recurring invoice in ITFlow is. A client, date, product or line that won't do is refused with 400 and why in message.

curl -X POST https://itflow.example.com/api/v1/recurring_invoices/create.php \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"client_id": 1, "scope": "Managed services", "items": [{"product_id": 4, "tax_id": "default"}, {"product_id": 5, "qty": 12, "tax_id": "default"}], "invoice_now": 1}'
{
  "success": "True", "count": "1", "data": [ { "insert_id": 19 } ],
  "recurring_invoice_reference": "REC-19", "amount": 450, "next_date": "2026-12-05",
  "invoice": { "invoice_id": 469, "reference": "INV-469", "amount": 450, "currency": "USD", "due": "2026-12-05", "status": "Sent",
               "url": "https://itflow.example.com/guest/guest_view_invoice.php?invoice_id=469&url_key=...", "emailed_to": ["Priya Raghavan (praghavan@ravenwooddental.example)"] }
}

invoice.url is where the client views and pays it - put it behind a Pay button. To have a ticket wait for that invoice to be paid, raise it with ticket_invoice_id - see Tickets.

Update, pause and delete

Each takes recurring_invoice_id and client_id, its own client.

  • Update takes any of frequency, next_date (its next run, as 2026-11-05 - the day of the month it bills on moves with it), scope, note, category_id, discount and auto_send, and changes only what you send. Its lines change through Recurring invoice lines.
  • Status takes status: 0 pauses it, 1 resumes it. Resumed with its next run already past, it won't run until next_date is moved on - the answer's message says so.
  • Delete needs Full on Sales. Its lines, history and autopay go with it; the invoices it made stay.

Recurring invoice lines

EndpointDoes
GET recurring_invoice_items/read.phpA recurring invoice's lines, or one line
POST recurring_invoice_items/create.phpAdds a line
POST recurring_invoice_items/update.phpChanges a line
POST recurring_invoice_items/delete.phpTakes a line off

Read takes recurring_invoice_id or item_id, as Invoice lines does. Create takes recurring_invoice_id, and a product_id - its name, description and price unless you send them - or a name and price, with qty, description and tax_id. Update and delete take item_id, and update changes only what you send; delete needs Full on Sales. Each takes client_id, the recurring invoice's client.

A line can count its quantity from the client, as Quantity from does in the line window:

FieldNotes
seat_sourcecontacts (users), assets (devices), managed (the devices your RMM has) or license (a license's seats). An empty seat_source stops counting, and the line keeps its quantity.
seat_tagOnly those with this tag - users or devices
seat_typesDevices of these types only, as a list - such as ["Desktop", "Laptop"]
seat_rmmWith managed, one RMM provider's devices
seat_software_id, seat_countWith license, the license, and used (the default) or total seats
seat_minimumThe least it bills, whatever the count

Quotes

EndpointDoes
GET quotes/read.phpLists quotes, or gets one
POST quotes/create.phpMakes a draft quote, with its lines
POST quotes/update.phpChanges a quote's dates, scope, category, discount or note
POST quotes/send.phpEmails a quote
POST quotes/mark_sent.phpMarks a quote sent without emailing it
POST quotes/accept.phpRecords that the client accepted
POST quotes/decline.phpRecords that the client declined
POST quotes/invoice.phpInvoices an accepted quote
POST quotes/delete.phpDeletes a quote

Read

ParameterDoes
quote_idJust this quote
client_idJust this client's quotes
limit, offsetPaging

Like invoices, each quote comes with quote_subtotal, quote_tax, quote_taxes and quote_tax_registrations. On a quote with monthly lines, those are for the one-time part, and quote_monthly_amount is the monthly total.

{
  "success": "True",
  "count": 1,
  "data": [
    { "quote_id": "2", "quote_prefix": "QUO-", "quote_number": "2", "quote_scope": "Uninterruptible power supply for the comms rack", "quote_status": "Accepted", "quote_amount": "1312.95", "quote_monthly_amount": "0.00", "quote_subtotal": 1265, "quote_tax": 47.95, "quote_taxes": [ { "name": "PA Sales Tax 6%", "amount": 41.1 }, { "name": "Allegheny County 1%", "amount": 6.85 } ] }
  ]
}

Fields: quote_id, quote_prefix, quote_number, quote_scope, quote_status, quote_discount_amount, quote_date, quote_expire, quote_amount, quote_monthly_amount, quote_currency_code, quote_note, quote_url_key, quote_category_id, quote_client_id, quote_created_at, quote_updated_at, quote_archived_at, and the sums above.

Create

FieldNotes
client_idRequired
dateIts date, as 2026-11-05. Today if you leave it out.
expireThe day it runs out. 30 days on if you leave it out.
scope, category_id, discount, noteAs for invoices
itemsIts lines, up to 100, as for invoices - each also with frequency: billed once if you leave it out, or month, quarter or year

It's made as New Quote makes one, and stays a draft until it's sent. The answer has quote_reference, amount and url, where the client views it and accepts or declines.

curl -X POST https://itflow.example.com/api/v1/quotes/create.php \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"client_id": 1, "scope": "Managed workstations", "items": [{"name": "Onboarding", "price": 500}, {"product_id": 1, "qty": 12, "frequency": "month", "tax_id": "default"}]}'

Update, send and mark sent

Each takes quote_id and client_id, the quote's own client.

  • Update takes any of date, expire, scope, category_id, discount and note, and changes only what you send. Its lines change through Quote lines.
  • Send takes contact_ids - the client's primary contact if you leave it out - note and attach_pdf, as Send does for an invoice. A draft becomes Sent. The answer has emailed_to, status and url.
  • Mark sent takes sent_method and note, as for invoices.

Accept, decline and invoice

Accept and Decline take quote_id and client_id, and record the client's answer as the buttons on the quote's page do. A quote that's been invoiced keeps its answer.

Invoice turns an accepted quote into invoices, as Invoice does on its page. Its one-time lines go on a new draft invoice, and its lines billed each month, quarter or year on a recurring invoice for each.

FieldNotes
quote_idRequired
client_idThe quote's client. Needed when the key's agent can see only some clients.
dateThe invoice's date. Today if you leave it out.
first_period1 puts the recurring lines on the invoice too, billing their first period now
recurringWhere each frequency's lines go: {"month": {"to": 0, "start": "2026-12-01", "auto_send": 1}}. to is 0 for a new recurring invoice - the default - or one of the client's billed as often. start is a new one's first run, the first of next month if you leave it out. auto_send 1, the default, emails its invoices; 0 leaves them drafts.

The quote becomes Invoiced. The answer has invoice_id - 0 when there were no one-time lines - recurring_invoice_ids, and references, such as ["INV-477", "REC-20"].

Delete

delete.php takes quote_id and client_id, and needs Full on Sales. Its lines and history go with it, and invoices made from it no longer point at it.

Quote lines

EndpointDoes
GET quote_items/read.phpA quote's lines, or one line
POST quote_items/create.phpAdds a line
POST quote_items/update.phpChanges a line
POST quote_items/delete.phpTakes a line off

They work as Invoice lines do, with quote_id in place of invoice_id, and each line's frequency: billed once if you leave it out, or month, quarter or year. A quote that's been accepted, declined or invoiced keeps its lines.

Products

EndpointDoes
GET products/read.phpLists your products and services, or gets one
POST products/create.phpAdds a product or service
POST products/update.phpChanges one
POST products/archive.phpArchives one - it's no longer offered on new lines
POST products/unarchive.phpBrings an archived one back
POST products/delete.phpDeletes an archived one

Read

ParameterDoes
product_idJust this product
limit, offsetPaging

Products aren't a client's, so client_id doesn't apply. The list includes archived products.

{
  "success": "True",
  "count": 1,
  "data": [
    { "product_id": "1", "product_name": "Managed Workstation", "product_type": "service", "product_code": "MS-WKS", "product_price": "65.00", "product_currency_code": "USD", "product_frequency": "month", "product_track_stock": "0", "product_tax_id": "0", "product_category_id": "15" }
  ]
}

Fields: product_id, product_name, product_type, product_description, product_notes, product_code, product_vendor_part, product_location, product_price, product_cost, product_currency_code, product_frequency, product_seat_source, product_track_stock, product_reorder_level, product_reorder_qty, product_asset_type, product_make, product_model, product_warranty_months, product_tax_id, product_category_id, product_vendor_id, product_created_at, product_updated_at, product_archived_at.

Create and update

create.php and update.php take the fields above - apart from the ids and dates, and product_currency_code, which is your company's. product_name is needed to create one; update.php takes product_id and changes only what you send.

FieldNotes
product_typeservice, the default, or product
product_price, product_cost
product_frequencyHow it's billed: once if empty, or month, quarter or year
product_seat_sourceOn a recurring invoice, its quantity from the client: contacts (per user), assets (per device) or managed (per managed device)
product_track_stock1 to keep count of its stock

They're checked as the product window checks them, and a value that won't do is refused with 400 and why in message. Products aren't a client's, so a key whose agent can see only some clients can't change them.

Archive, unarchive and delete

Each takes product_id. delete.php needs Full on Sales, and the product has to be archived first. Its stock and price history go with it; lines it's on keep their text and amounts.

Taxes

EndpointDoes
GET taxes/read.phpLists your tax rates, or gets one
ParameterDoes
tax_idJust this rate, archived or not
archived1 to include archived rates
limit, offsetPaging
{
  "success": "True",
  "count": 1,
  "data": [
    {
      "tax_id": 2,
      "tax_name": "Allegheny County Sales Tax",
      "tax_percent": 7,
      "tax_description": "Pennsylvania 6% plus the Allegheny County local 1%",
      "tax_registration_number": "75520193",
      "tax_archived_at": null,
      "tax_replaced_by": 0,
      "tax_default": false,
      "tax_components": [
        { "name": "PA Sales Tax", "percent": 6, "compound": false, "registration_number": "75520193" },
        { "name": "Allegheny County", "percent": 1, "compound": false, "registration_number": "75520193" }
      ]
    }
  ]
}

tax_percent is the whole rate, and tax_components its parts. A part that's compound is charged on top of the parts before it. tax_default is true for the rate new lines get, and tax_replaced_by is the rate that replaced a changed one. See Taxes.

Expenses

EndpointDoes
GET expenses/read.phpLists expenses, or gets one
POST expenses/create.phpRecords an expense, or money back on one
POST expenses/update.phpChanges an expense
POST expenses/delete.phpDeletes an expense

Read

ParameterDoes
expense_idJust this expense
client_idJust this client's expenses. 0 for those that aren't a client's.
limit, offsetPaging
{
  "success": "True",
  "count": 1,
  "data": [
    { "expense_id": "13", "expense_description": "Hardware supplied to Ravenwood Dental Group", "expense_amount": "1762.00", "expense_date": "2026-10-14", "expense_vendor_id": "1", "expense_category_id": "76", "expense_client_id": "1", "expense_billable": "1", "expense_invoice_id": null }
  ]
}

Fields: expense_id, expense_description, expense_amount, expense_tax_id, expense_tax_amount, expense_currency_code, expense_date, expense_reference, expense_payment_method, expense_receipt, expense_vendor_id, expense_client_id, expense_category_id, expense_account_id, expense_refund_of_id, expense_recurring_expense_id, expense_billable, expense_markup, expense_invoice_id, expense_invoice_item_id, expense_import_key, expense_paid_by, expense_reimbursement_id, expense_reconciliation_id, expense_created_by, expense_created_at, expense_updated_at, expense_archived_at.

Create

FieldNotes
expense_dateRequired: the day it was paid, as 2026-11-05
expense_amountRequired
expense_vendor_idRequired: one of your vendors
expense_category_idRequired: an expense category
expense_account_idRequired: the account it was paid from - or personal, with expense_paid_by, the agent who paid it and is to be paid back
client_idThe client it was for. Leave it out for overhead.
expense_description, expense_reference
expense_payment_methodOne of your payment methods
expense_tax_id, expense_tax_amountThe tax included in it. With a rate and no amount, the amount is worked out.
expense_billable, expense_markup1 to bill it on to the client, at a markup percent
expense_refund_of_idRecords money back on that expense, as Refund does

It's checked as the expense window checks it - an amount, one of your vendors, categories and accounts - and a value that won't do is refused with 400 and why in message. A receipt is added in ITFlow.

curl -X POST https://itflow.example.com/api/v1/expenses/create.php \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"client_id": 1, "expense_date": "2026-11-10", "expense_amount": "189.00", "expense_vendor_id": 1, "expense_category_id": 76, "expense_account_id": 1, "expense_description": "Replacement switch", "expense_billable": 1}'

Update and delete

Both take expense_id and client_id, the expense's client - 0 for overhead. update.php also takes any of the fields under Create, and changes only what you send - its tax stays unless you send expense_tax_id or expense_tax_amount. expense_client_id moves it to another client, or to overhead with 0. delete.php needs Full on Financial, and its receipt goes with it.

The out side of a transfer, money paid back to an agent, and an expense cleared on a reconciled statement can't be changed or deleted here - as in ITFlow.

↑↓ to pickEnter to open