Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Campfire Accounts Payable API

Operations related to billing and the AP subledger.

Campfire Accounts Payable API is one of 12 APIs that Campfire publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Accounts Payable. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 39 operations across 25 paths, and defines 41 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://api.meetcampfire.com.

39 operations 25 paths 41 schemas 4 DELETE10 GET3 PATCH18 POST4 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://api.meetcampfire.com
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Campfire Accounts Payable API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (knoxApiToken).

  • knoxApiToken — Token-based authentication with required prefix "Token"

Paths & Operations 39

Across 25 paths, the API surfaces 39 operations — 4 DELETE, 10 GET, 3 PATCH, 18 POST, 4 PUT. Each is listed below with its method, path, parameters, and response codes.

Accounts Payable 39

Operations related to billing and the AP subledger.

GET
/coa/api/v1/bill/
List Accounting Bills
coa_api_v1_bill_retrieve 14 params → 200
POST
/coa/api/v1/bill/
Create Accounting Bill
coa_api_v1_bill_create body → 201
GET
/coa/api/v1/bill-draft
List Bill Drafts
list_bill_drafts → 200
POST
/coa/api/v1/bill-draft
Create Bill Draft
create_bill_draft body → 201
GET
/coa/api/v1/bill-draft/{id}
Retrieve Bill Draft
get_bill_draft 1 param → 200
PUT
/coa/api/v1/bill-draft/{id}
Update Bill Draft
update_bill_draft 1 param body → 200
PATCH
/coa/api/v1/bill-draft/{id}
Partial Update Bill Draft
partial_update_bill_draft 1 param body → 200
POST
/coa/api/v1/bill-draft/{id}/abandon
Abandon Bill Draft
abandon_bill_draft 1 param → 200
POST
/coa/api/v1/bill-draft/{id}/discard
Discard Bill Draft
discard_bill_draft 1 param → 200
POST
/coa/api/v1/bill-draft/{id}/promote
Promote Bill Draft
promote_bill_draft 1 param → 200
GET
/coa/api/v1/bill-payments
List Bill Payments
coa_api_v1_bill_payments_list 7 params → 200
GET
/coa/api/v1/bill/{bill_id}/empty-transaction-default-department-tags
Get Default Department and Tags for Empty Transaction
coa_api_v1_bill_empty_transaction_default_department_tags_retrieve 1 param → 200404
POST
/coa/api/v1/bill/{bill_id}/pay/
Mark Bill as Paid
coa_api_v1_bill_pay_create 1 param body → 200
POST
/coa/api/v1/bill/{bill_id}/payment/{payment_id}/void/
Void Bill Payment
coa_api_v1_bill_payment_void_create 2 params body → 200
DELETE
/coa/api/v1/bill/{bill_id}/payment/{payment_id}/void/
Delete Bill Payment
coa_api_v1_bill_payment_void_destroy 2 params → 204
POST
/coa/api/v1/bill/{bill_id}/reopen/
Reopen Voided Bill
coa_api_v1_bill_reopen_create 1 param → 200
POST
/coa/api/v1/bill/{bill_id}/sync-to-ramp/
Sync Bill to Ramp
coa_api_v1_bill_sync_to_ramp_create 1 param → 200400404
POST
/coa/api/v1/bill/{bill_id}/void/
Void Bill
coa_api_v1_bill_void_create 1 param body → 200
GET
/coa/api/v1/bill/{id}/
Retrieve Accounting Bill
coa_api_v1_bill_retrieve_2 1 param → 200
PUT
/coa/api/v1/bill/{id}/
Update Accounting Bill
coa_api_v1_bill_update 1 param body → 200
PATCH
/coa/api/v1/bill/{id}/
Partial Update Accounting Bill
coa_api_v1_bill_partial_update 1 param body → 200
DELETE
/coa/api/v1/bill/{id}/
Delete Accounting Bill
coa_api_v1_bill_destroy 1 param → 204
GET
/coa/api/v1/bill/amortization/generate-schedule
Generate Bill Amortization Schedule
generate_bill_amortization_schedule → 200
PUT
/coa/api/v1/bill/amortization/generate-schedule
Save Bill Amortization Schedule
save_bill_amortization_schedule → 200
POST
/coa/api/v1/bill/bulk-search
Bulk Search Bills by Number
coa_api_v1_bill_bulk_search_create body → 200
POST
/coa/api/v1/bill/bulk-sync-to-ramp/
Bulk Sync Bills to Ramp
bulk_sync_bills_to_ramp → 200400
GET
/coa/api/v1/debit-memo
List Debit Memos
coa_api_v1_debit_memo_list 2 params → 200
POST
/coa/api/v1/debit-memo
Create Debit Memo
coa_api_v1_debit_memo_create body → 201
POST
/coa/api/v1/debit-memo/{debit_memo_id}/mark-used
Mark Debit Memo as Used
coa_api_v1_debit_memo_mark_used_create 1 param body → 200
POST
/coa/api/v1/debit-memo/{debit_memo_id}/payment/{payment_id}/void
Void Debit Memo Used Payment
coa_api_v1_debit_memo_payment_void_create 2 params body → 200
DELETE
/coa/api/v1/debit-memo/{debit_memo_id}/payment/{payment_id}/void
Delete Debit Memo Used Payment
coa_api_v1_debit_memo_payment_void_destroy 2 params → 204
POST
/coa/api/v1/debit-memo/{debit_memo_id}/reopen/
Reopen Voided Debit Memo
coa_api_v1_debit_memo_reopen_create 1 param → 200
POST
/coa/api/v1/debit-memo/{debit_memo_id}/void/
Void Debit Memo
coa_api_v1_debit_memo_void_create 1 param body → 200
GET
/coa/api/v1/debit-memo/{id}
Retrieve Debit Memo
coa_api_v1_debit_memo_retrieve 1 param → 200
PUT
/coa/api/v1/debit-memo/{id}
Update Debit Memo
coa_api_v1_debit_memo_update 1 param body → 200
PATCH
/coa/api/v1/debit-memo/{id}
Partial Update Debit Memo
coa_api_v1_debit_memo_partial_update 1 param body → 200
DELETE
/coa/api/v1/debit-memo/{id}
Delete Debit Memo
coa_api_v1_debit_memo_destroy 1 param → 204
POST
/coa/api/v1/debit-memo/bulk-search
Bulk Search Debit Memos by Number
coa_api_v1_debit_memo_bulk_search_create body → 200
GET
/coa/api/v1/debit-memo/next-debit-memo-number
Get Next Debit Memo Number
coa_api_v1_debit_memo_next_debit_memo_number_retrieve → 200

Schemas 41

The contract defines 41 schemas that model the data the API accepts and returns. The most detailed are AccountingBill (60 properties), PatchedAccountingBill (60 properties), PatchedAccountingDebitMemo (41 properties), AccountingDebitMemo (41 properties). Each schema is shown below with its type and property counts.

ItaBillTypeEnum
string
other - Other equipment - Equipment
AccountingDebitMemo
object
41 properties 21 required
AccountingBill
object
60 properties 34 required
AccountingDebitMemoPayment
object
15 properties 9 required
BillPaymentSync
object
11 properties 11 required
MarkPaidCreditMemo
object
3 properties 3 required
BillDraftCreateSourceEnum
string
uiupload - uiupload
BillDraftRead
object
Full BillDraft read shape — feeds the Drafts tab and detail view.
25 properties 9 required
BlankEnum
TaxBehaviorEnum
string
inclusive - Inclusive exclusive - Exclusive
PatchedAccountingBill
object
60 properties
BillDraftWrite
object
Editable subset used during review (PATCH).
9 properties
BulkBillSearch
object
1 property 1 required
BillDraftCreate
object
UI-upload create shape. sourcefile must be an already-uploaded File row.
3 properties 1 required
ApplicationStatusEnum
string
open - Open partiallyused - Partially Used used - Used voided - Voided
MarkPaid
object
5 properties
PatchedBillDraftWrite
object
Editable subset used during review (PATCH).
9 properties
MarkPaidEmptyTransaction
object
13 properties 4 required
BulkDebitMemoSearch
object
1 property 1 required
VoidPayment
object
1 property
BulkDebitMemo
object
1 property 1 required
TermsEnum
string
custom - Custom net5 - Net 5 net7 - Net 7 net10 - Net 10 net15 - Net 15 net20 - Net 20 net30 - Net 30 net40 - Net 40 net45 - Net 45 net60 - Net 60 net90 - Net…
File
object
17 properties 14 required
PaginatedBillPaymentSyncList
object
4 properties 2 required
AccountingBillLine
object
27 properties 14 required
MarkPaidTransaction
object
10 properties 1 required
PatchedAccountingDebitMemo
object
41 properties
NullEnum
AmortizationSchedule
object
11 properties 4 required
MarkDebitMemoUsed
object
Serializer for marking a debit memo as used with a transaction.
5 properties 4 required
BillDraftReadStatusEnum
string
parsing - Parsing parsefailed - Parse Failed notabill - Not a Bill needsreview - Needs Review unassigned - Unassigned ready - Ready promoted - Promoted discard…
AccountingBillPayment
object
18 properties 10 required
BulkBill
object
1 property 1 required
VoidBillRequest
object
1 property 1 required
PaginatedAccountingDebitMemoList
object
4 properties 2 required
BillTypeEnum
string
BILL - Bill PAYROLL - Payroll REIMBURSEMENT - Reimbursement
BillDraftReadSourceEnum
string
email - Email uiupload - UI Upload
VoidDebitMemoRequest
object
1 property 1 required
AccountingBillPaymentStatusEnum
string
partial - Partially Paid open - Open paid - Paid paymentnotfound - Payment Not Found paymentpending - Payment Pending voided - Voided
AccountingDebitMemoLine
object
20 properties 11 required
MarkPaidDebitMemo
object
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

campfire-accounts-payable-api-openapi.yml Raw ↑

Other APIs Campfire publishes across the network.

Campfire Accounts Receivable API
Campfire Bank Reconciliation API
Campfire Cash Management API
Campfire coa API
Campfire Company Objects API
Campfire Core Accounting API
Campfire Custom Fields API
Campfire Financial Statements API
Campfire Integrations API
Campfire Revenue Recognition API
Campfire Settings API