GET
/
coa
/
api
/
v1
/
bill
/
{id}
/
Retrieve Accounting Bill
curl --request GET \
  --url https://api.meetcampfire.com/coa/api/v1/bill/{id}/ \
  --header 'Authorization: <api-key>'
{
  "id": 31894,
  "lines": [
    {
      "id": 298626,
      "account_number": "6700",
      "account_name": "6700 - Office Expenses",
      "department_name": "Engineering",
      "bill_customer_name": "ABC Bead Supply",
      "tags": [
        {
          "id": 8355,
          "group_name": "Projects",
          "parent_name": null,
          "parent": null,
          "name": "Project A",
          "created_at": "2025-07-17T16:21:02+0000",
          "last_modified_at": "2025-07-17T16:21:02+0000",
          "group": 727
        }
      ],
      "amortization_schedule": [
        {
          "id": 1234,
          "date": "2025-09-01",
          "amount": 1000,
          "description": "Monthly amortization - Office equipment",
          "bill_line": 298626,
          "amortization": 567
        }
      ],
      "description": "1x Large Expense Line",
      "amount": 10000,
      "tax": 800,
      "tax_description": "State Sales Tax",
      "source": "MANUAL",
      "source_id": null,
      "currency": "USD",
      "created_at": "2025-07-25T04:24:32+0000",
      "last_modified_at": "2025-07-25T04:24:32+0000",
      "account": 2622,
      "bill_customer": 34182,
      "department": 35
    }
  ],
  "payments": [
    {
      "id": 5234,
      "amount": 5400,
      "payment_date": "2025-08-15",
      "currency": "USD",
      "payment_transaction_bank_description": "ACH Transfer",
      "payment_journal_entry_order": "JE-2025-001345",
      "voided_journal_entry_order": null,
      "created_at": "2025-08-15T14:22:33+0000",
      "payment_journal_entry": 7491960,
      "payment_transaction": 12345678,
      "voided_journal_entry": null,
      "source": "BANK_IMPORT"
    }
  ],
  "payment_journal_entries": [
    7491960
  ],
  "status": "partially_paid",
  "past_due_days": null,
  "entity_name": "Top Level",
  "entity_currency": "USD",
  "vendor_name": "ABC Bead Supply",
  "attachments": [
    {
      "id": 9876,
      "name": "invoice_abc_supply_20250801.pdf",
      "file_size": 234567,
      "content_type": "application/pdf",
      "created_at": "2025-08-01T10:30:00+0000",
      "url": "https://storage.example.com/files/invoice_abc_supply_20250801.pdf"
    }
  ],
  "total_amount": 10800,
  "amount_due": 5400,
  "amount_paid": 5400,
  "item_date": "2025-08-01",
  "voided_date": null,
  "voided_journal_entry_order": null,
  "search_vector": "abc bead supply office expenses project",
  "search_text": "ABC Bead Supply 1234567 A really big expense",
  "mailing_address": "1234 Campground Road. San Francisco CA 98765",
  "terms": "net_30",
  "bill_number": "1234567",
  "bill_date": "2025-08-01",
  "due_date": "2025-08-31",
  "paid_date": null,
  "message_on_bill": "A really big expense",
  "source_id": "IMPORT-2025-0001",
  "source": "CSV_IMPORT",
  "payment_status": "partial",
  "currency": "USD",
  "exchange_rate": 1,
  "exchange_rate_book": 1,
  "created_at": "2025-07-25T04:24:32+0000",
  "last_modified_at": "2025-08-15T14:25:10+0000",
  "entity": 54,
  "vendor": 34182,
  "journal_entry": 7491951,
  "source_file": 8877,
  "tax_rate": 8551,
  "custom_fields": {
    "purchase_order_number": "PO-2025-001234",
    "department_approval": "John Smith",
    "project_code": "PROJ-A-2025"
  }
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
integer
required

Response

200 - application/json

The response is of type object.