v1

latestOpenAPI 3.0.32026-07-26362271803.3 KB
Accounts Payable

Retrieve Bill Draft

GET detail + PATCH update on a single BillDraft.

get/coa/api/v1/bill-draft/{id}

Path parameters

idinteger required

Response

idinteger required
customerinteger required
entityinteger nullable
source'email' | 'ui_upload' required
  • email - Email
  • ui_upload - UI Upload
source_fileinteger nullable
sender_emailstring nullable
recipient_aliasstring nullable
email_subjectstring nullable
status'parsing' | 'parse_failed' | 'not_a_bill' | 'needs_review' | 'unassigned' | 'ready' | 'promoted' | 'discarded' required
  • parsing - Parsing
  • parse_failed - Parse Failed
  • not_a_bill - Not a Bill
  • needs_review - Needs Review
  • unassigned - Unassigned
  • ready - Ready
  • promoted - Promoted
  • discarded - Discarded
parse_errorstring nullable
extracted_vendor_namestring nullable
extracted_bill_numberstring nullable
extracted_bill_datestring date nullable
extracted_due_datestring date nullable
extracted_currencystring nullable
extracted_total_amountnumber double nullable
{"stackTrail":"components:schemas:BillDraftRead:properties:extracted_line_items","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:BillDraftRead:properties:field_confidence","oasType":"schema","type":"unknown"}
resolved_vendorinteger nullable
dedup_hashstring nullable required
promoted_billinteger nullable required
discard_reasonstring nullable
created_atstring date-time required
created_byinteger nullable required
last_modified_atstring date-time required