Campfire Accounts Payable API

Operations related to billing and the AP subledger.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Accounts Payable Management BC-200.20

Operations 39

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /coa/api/v1/bill/ List accounting bills · List Accounting Bills #
Ask an LLM
“Which bills are still unpaid in my accounting system?”
“Can I list bills by vendor or payment status?”
Tell an agent
List all accounting bills.
Show bills with status {status} from {start_date} to {end_date}.
POST /coa/api/v1/bill/ Create an accounting bill · Create Accounting Bill #
Ask an LLM
“How do I record a new vendor bill with line items?”
“Can I create a bill in a different currency and have taxes calculated automatically?”
Tell an agent
Create bill {bill_number} from vendor {vendor} for {total_amount} due {due_date}.
Record a new bill with line items {lines} and payment journal entries {payment_journal_entries}.
GET /coa/api/v1/bill-draft List bills I haven't finalized · List Bill Drafts #
Ask an LLM
“Which bills still exist as drafts before I approve them?”
“What bill drafts are waiting in my account right now?”
Tell an agent
List my bill drafts.
Show all unfinalized bill drafts.
POST /coa/api/v1/bill-draft Upload a bill draft from a file · Create Bill Draft #
Ask an LLM
“How do I upload a scanned receipt as a bill draft?”
“Can I start a bill draft from an uploaded file?”
Tell an agent
Create a bill draft from file {source_file}.
Upload {source_file} as a new bill draft for entity {entity}.
GET /coa/api/v1/bill-draft/{id} Retrieve a bill draft · Retrieve Bill Draft #
Ask an LLM
“What vendor and amount does a particular bill draft show?”
“Can I view one bill draft by its ID?”
Tell an agent
Show bill draft {id}.
Get the details of bill draft {id}.
PUT /coa/api/v1/bill-draft/{id} Replace a bill draft completely · Update Bill Draft #
Ask an LLM
“Can I overwrite a draft bill with a vendor, date and amounts I just extracted?”
“Does a full bill draft update replace every line item?”
Tell an agent
Replace draft bill {id} with vendor {extracted_vendor_name} and total {extracted_total_amount}.
Overwrite the full draft {id} with extracted vendor {extracted_vendor} and due date {due_date}.
PATCH /coa/api/v1/bill-draft/{id} Correct one field on a bill draft · Partial Update Bill Draft #
Ask an LLM
“Can I fix just the due date on a draft bill?”
“Is there an incremental update for a bill draft's line items?”
Tell an agent
Set the due date of draft {id} to {due_date}.
Change only the resolved vendor on bill draft {id} to {resolved_vendor}.
POST /coa/api/v1/bill-draft/{id}/abandon Delete a bill draft · Abandon Bill Draft #
Ask an LLM
“How do I throw away a bill draft I no longer need?”
“Can I hard-delete an unfinished bill upload draft?”
Tell an agent destructive · confirm first
Abandon bill draft {id}.
Delete the unfinished bill draft {id}.
POST /coa/api/v1/bill-draft/{id}/discard Discard a bill draft with a reason · Discard Bill Draft #
Ask an LLM
“What's the way to discard a bill draft and record why?”
“Can I discard a draft and attach a reason?”
Tell an agent destructive · confirm first
Discard bill draft {id} with the reason I abandoned it.
Throw away draft {id} and explain why.
POST /coa/api/v1/bill-draft/{id}/promote Submit a bill draft as a bill · Promote Bill Draft #
Ask an LLM
“How do I turn a bill draft into an actual bill?”
“Can I promote a draft through the promote service?”
Tell an agent
Promote bill draft {id} into a bill.
Submit draft {id} as a new accounting bill.
GET /coa/api/v1/bill-payments List payments made against bills · List Bill Payments #
Ask an LLM
“Which payments have been applied against my bills?”
“Can I list only voided bill payments?”
Tell an agent
List all payments made against bills.
Show bill payments modified after {last_modified_at__gte}.
GET /coa/api/v1/bill/{bill_id}/empty-transaction-default-department-tags Get default department and tags for a bill · Get Default Department and Tags for Empty Transaction #
Ask an LLM
“What department and tags should a new empty transaction use for a bill?”
“How do I find the largest line on a bill to set defaults?”
Tell an agent
Get the default department and tags for bill {bill_id}.
Show the largest line on bill {bill_id} for default values.
POST /coa/api/v1/bill/{bill_id}/pay/ Mark a bill as paid · Mark Bill as Paid #
Ask an LLM
“How do I mark a bill as paid with an existing transaction?”
“Can I pay a bill partially with a debit memo?”
Tell an agent
Mark bill {bill_id} as paid using transactions {transactions}.
Pay bill {bill_id} partially with debit memos {debit_memos}.
POST /coa/api/v1/bill/{bill_id}/payment/{payment_id}/void/ Void a bill payment · Void Bill Payment #
Ask an LLM
“How do I reverse a payment made against a bill?”
“Can I void a bill payment for a specific date?”
Tell an agent destructive · confirm first
Void payment {payment_id} on bill {bill_id}.
Reverse bill payment {payment_id} on {bill_id} as of {void_date}.
DELETE /coa/api/v1/bill/{bill_id}/payment/{payment_id}/void/ Delete a bill payment · Delete Bill Payment #
Ask an LLM
“How do I remove a bill payment record?”
“What happens to the transaction when a bill payment is deleted?”
Tell an agent destructive · confirm first
Delete payment {payment_id} from bill {bill_id}.
Remove the bill payment record {payment_id} on {bill_id}.
POST /coa/api/v1/bill/{bill_id}/reopen/ Reopen a voided bill · Reopen Voided Bill #
Ask an LLM
“How do I undo a voided bill and make it open again?”
“Can I restore a bill that was voided by mistake?”
Tell an agent
Reopen voided bill {bill_id}.
Undo the void on bill {bill_id} and set it back to open.
POST /coa/api/v1/bill/{bill_id}/sync-to-ramp/ Sync a bill to Ramp · Sync Bill to Ramp #
Ask an LLM
“How do I sync a bill to Ramp through my enabled connection?”
“Can I push a bill into Ramp without a source?”
Tell an agent
Sync bill {bill_id} to Ramp.
Push bill {bill_id} into Ramp using the enabled connection.
POST /coa/api/v1/bill/{bill_id}/void/ Void a bill · Void Bill #
Ask an LLM
“How do I void a bill I already recorded?”
“Can I reverse a bill by reversing its journal entries?”
Tell an agent destructive · confirm first
Void bill {bill_id} as of {void_date}.
Reverse bill {bill_id} with journal entries dated {void_date}.
GET /coa/api/v1/bill/{id}/ Retrieve a single accounting bill · Retrieve Accounting Bill #
Ask an LLM
“What vendor, entity and line items are on a specific bill?”
“Can I see the full details of one accounting bill?”
Tell an agent
Show accounting bill {id}.
Get the full details of bill {id}, including payments and line items.
PUT /coa/api/v1/bill/{id}/ Replace an approved bill · Update Accounting Bill #
Ask an LLM
“How do I push an already-approved bill's full data back into accounting?”
“Can I update a bill's line items and payment history in one call?”
Tell an agent
Replace bill {id} with lines {lines}, payments {payments}, status {status} and total {total}.
Overwrite accounting bill {id} with resolved vendor {vendor}, due date {due_date} and amount {amount}.
PATCH /coa/api/v1/bill/{id}/ Edit an existing accounting bill · Partial Update Accounting Bill #
Ask an LLM
“Can I change the amount or vendor on a bill I already created?”
“Is it possible to edit a bill's line items without resending the whole thing?”
Tell an agent
Update the amount on bill {id}.
Change the vendor on existing bill {id}.
DELETE /coa/api/v1/bill/{id}/ Delete an accounting bill · Delete Accounting Bill #
Ask an LLM
“How do I permanently remove a vendor bill from the books?”
“Can I delete a bill along with its journal entry?”
Tell an agent destructive · confirm first
Delete accounting bill {id}.
Permanently remove bill {id} and its journal entry.
GET /coa/api/v1/bill/amortization/generate-schedule Generate a bill amortization schedule · Generate Bill Amortization Schedule #
Ask an LLM
“Can I see how a bill's cost will be spread over time?”
“What does the amortization schedule look like for a bill?”
Tell an agent
Generate the amortization schedule for this bill.
Show how the bill's amount is allocated across periods.
PUT /coa/api/v1/bill/amortization/generate-schedule Save a generated bill amortization schedule · Save Bill Amortization Schedule #
Ask an LLM
“How do I save an amortization schedule I just generated?”
“Can I store the amortization schedule for a bill?”
Tell an agent
Save the amortization schedule I generated.
Store this bill's amortization schedule.
POST /coa/api/v1/bill/bulk-search Bulk search bills by number · Bulk Search Bills by Number #
Ask an LLM
“Can I look up many bills by number in one request?”
“How do I find a batch of bills by their number?”
Tell an agent
Bulk search bills for numbers {bills}.
Find all these bill numbers at once: {bills}.
POST /coa/api/v1/bill/bulk-sync-to-ramp/ Sync unsourced bills to Ramp · Bulk Sync Bills to Ramp #
Ask an LLM
“How do I push bills that have no source into Ramp?”
“Can I sync several bills to Ramp in one go?”
Tell an agent
Bulk sync these unsourced bills to Ramp.
Push my bills into Ramp using the enabled connection.
GET /coa/api/v1/debit-memo List debit memos · List Debit Memos #
Ask an LLM
“Which vendors have sent debit memos I need to review?”
“Can I page through debit memos a few at a time?”
Tell an agent
List debit memos.
List {limit} debit memos starting at offset {offset}.
POST /coa/api/v1/debit-memo Create a debit memo · Create Debit Memo #
Ask an LLM
“How do I record an amount owed to a vendor?”
“Can a debit memo be created with line items and payments?”
Tell an agent
Create a debit memo for vendor {vendor} with lines {lines} and payments {payments}.
Record a {debit_account_name} debit memo for {vendor}.
POST /coa/api/v1/debit-memo/{debit_memo_id}/mark-used Mark a debit memo as used · Mark Debit Memo as Used #
Ask an LLM
“How do I clear a debit memo by applying a payment?”
“Can I link a credit transaction to a debit memo?”
Tell an agent
Mark debit memo {debit_memo_id} as used by applying transaction {transaction_id}.
Apply payment {transaction_id} to debit memo {debit_memo_id}.
POST /coa/api/v1/debit-memo/{debit_memo_id}/payment/{payment_id}/void Void a debit memo's payment · Void Debit Memo Used Payment #
Ask an LLM
“How do I reverse the payment that cleared a debit memo?”
“Can I void a debit memo payment with a reversing entry?”
Tell an agent destructive · confirm first
Void payment {payment_id} on debit memo {debit_memo_id}.
Reverse the payment that cleared debit memo {debit_memo_id}.
DELETE /coa/api/v1/debit-memo/{debit_memo_id}/payment/{payment_id}/void Delete a debit memo's payment · Delete Debit Memo Used Payment #
Ask an LLM
“How do I remove a payment application from a debit memo?”
“Can I delete a debit memo payment record?”
Tell an agent destructive · confirm first
Delete payment {payment_id} from debit memo {debit_memo_id}.
Remove the payment application on debit memo {debit_memo_id}.
POST /coa/api/v1/debit-memo/{debit_memo_id}/reopen/ Reopen a voided debit memo · Reopen Voided Debit Memo #
Ask an LLM
“How do I undo the void on a debit memo?”
“Can I bring a voided debit memo back open?”
Tell an agent
Reopen voided debit memo {debit_memo_id}.
Undo the void on debit memo {debit_memo_id}.
POST /coa/api/v1/debit-memo/{debit_memo_id}/void/ Void a debit memo · Void Debit Memo #
Ask an LLM
“How do I void a debit memo I created?”
“Can I reverse a debit memo with a reversing entry?”
Tell an agent destructive · confirm first
Void debit memo {debit_memo_id}.
Reverse debit memo {debit_memo_id} with a void entry.
GET /coa/api/v1/debit-memo/{id} Retrieve a debit memo · Retrieve Debit Memo #
Ask an LLM
“What are the line items and payments on a debit memo?”
“Can I look up one debit memo by ID?”
Tell an agent
Retrieve debit memo {id}.
Show the payments and line items on debit memo {id}.
PUT /coa/api/v1/debit-memo/{id} Replace a debit memo · Update Debit Memo #
Ask an LLM
“Can I fully replace a debit memo with new line items?”
“How do I overwrite an existing debit memo?”
Tell an agent
Replace debit memo {id} with lines {lines} and payments {payments}.
Overwrite existing debit memo {id}.
PATCH /coa/api/v1/debit-memo/{id} Edit a debit memo's fields · Partial Update Debit Memo #
Ask an LLM
“Can I change just the vendor on a debit memo?”
“Is it possible to edit a debit memo without resending everything?”
Tell an agent
Change the vendor on debit memo {id}.
Update only the line items on debit memo {id}.
DELETE /coa/api/v1/debit-memo/{id} Delete a debit memo · Delete Debit Memo #
Ask an LLM
“How do I permanently delete a debit memo?”
“Can I remove a debit memo from the books?”
Tell an agent destructive · confirm first
Delete debit memo {id}.
Permanently remove debit memo {id}.
POST /coa/api/v1/debit-memo/bulk-search Bulk search debit memos by number · Bulk Search Debit Memos by Number #
Ask an LLM
“Can I look up many debit memos by number at once?”
“How do I find a batch of debit memos by number?”
Tell an agent
Bulk search debit memos for numbers {debit_memos}.
Find all these debit memo numbers in one request: {debit_memos}.
GET /coa/api/v1/debit-memo/next-debit-memo-number Get the next debit memo number · Get Next Debit Memo Number #
Ask an LLM
“What number will the next debit memo get?”
“Can I check the next available debit memo number?”
Tell an agent
Get the next debit memo number.
Show me the next debit memo number.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/campfire:campfire-accounts-payable-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

campfire-accounts-payable-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Campfire Developer Accounts Payable API
  version: 1.0.0
  description: '## Introduction

    Campfire''s developer APIs offer granular access to Campfire''s core accounting,

    revenue recognition, and financial data features.


    These APIs are designed to be used by developers to build custom integrations,

    automate workflows, and perform any other programmatic operations.'
servers:
- url: https://api.meetcampfire.com
  description: Production server
tags:


# --- truncated at 32 KB (130 KB total) ---
# Full source: https://artifacts.apis.io/campfire/openapi/campfire-accounts-payable-api-openapi.yml