JAI CRM
Home Documentation API Procurement endpoints

Procurement endpoints

123 endpoints: Summary, Vendors, Orders, Bills and more.

Every endpoint in Procurement: 123 operations across 7 resources. Each one takes the same API key and returns the same error shapes as the rest of the API; see Authentication and Errors and limits.

Every path below is relative to https://app.jaicrm.ai. A key only reaches what it was granted when it was created, an endpoint you cannot use answers 403 rather than hiding.

Vendors

GET/api/purchase/vendors

List vendors

curl -X GET https://app.jaicrm.ai/api/purchase/vendors 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/vendors/{id}

Read one vendor

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/vendors/{id}/comments

List comments

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/comments 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/vendors/{id}/compliance

List compliance

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/compliance 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/vendors/{id}/contacts

List contacts

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/contacts 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/vendors/{id}/dependencies

List dependencies

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/dependencies 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/vendors/{id}/related/{module}

Read one related

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
modulestringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/related/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/vendors/compliance-expiring

List compliance expiring

curl -X GET https://app.jaicrm.ai/api/purchase/vendors/compliance-expiring 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/vendors/export.csv

List export.csv

curl -X GET https://app.jaicrm.ai/api/purchase/vendors/export.csv 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/vendors/kanban

List kanban

curl -X GET https://app.jaicrm.ai/api/purchase/vendors/kanban 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/vendors/pivot

List pivot

curl -X GET https://app.jaicrm.ai/api/purchase/vendors/pivot 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/vendors

Create a vendor

curl -X POST https://app.jaicrm.ai/api/purchase/vendors 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/vendors/{id}/approve

Create an approve

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/approve 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/vendors/{id}/block

Create a block

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/block 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/vendors/{id}/comments

Create a comment

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/comments 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/vendors/{id}/compliance

Create a compliance

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/compliance 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/vendors/{id}/contacts

Create a contact

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/contacts 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/vendors/{id}/status

Create a statu

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/status 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/vendors/{id}/sync-services

Create a sync service

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/sync-services 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/vendors/bulk/delete

Create a delete

curl -X POST https://app.jaicrm.ai/api/purchase/vendors/bulk/delete 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/vendors/import

Create an import

curl -X POST https://app.jaicrm.ai/api/purchase/vendors/import 
  -H 'Authorization: Bearer YOUR_API_KEY'

PATCH/api/purchase/vendors/{id}

Change a vendor

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X PATCH https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

PATCH/api/purchase/vendors/{id}/compliance/{docId}

Change a compliance

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
docIdstringRequiredThe record’s id.
curl -X PATCH https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/compliance/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

PATCH/api/purchase/vendors/{id}/contacts/{contactId}

Change a contact

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
contactIdstringRequiredThe record’s id.
curl -X PATCH https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/contacts/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

DELETE/api/purchase/vendors/{id}

Delete a vendor

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X DELETE https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

DELETE/api/purchase/vendors/{id}/comments/{commentId}

Delete a comment

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
commentIdstringRequiredThe record’s id.
curl -X DELETE https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/comments/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

DELETE/api/purchase/vendors/{id}/compliance/{docId}

Delete a compliance

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
docIdstringRequiredThe record’s id.
curl -X DELETE https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/compliance/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

DELETE/api/purchase/vendors/{id}/contacts/{contactId}

Delete a contact

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
contactIdstringRequiredThe record’s id.
curl -X DELETE https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/contacts/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

Debit notes

GET/api/purchase/debit-notes

List debit notes

curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/debit-notes/{id}

Read one debit note

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/debit-notes/{id}/comments

List comments

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/comments 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/debit-notes/{id}/credit

List credit

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/credit 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/debit-notes/{id}/dependencies

List dependencies

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/dependencies 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/debit-notes/{id}/email-check

List email check

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/email-check 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/debit-notes/{id}/pdf

List pdf

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/pdf 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/debit-notes/{id}/print

List print

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/print 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/debit-notes/{id}/send-draft

List send draft

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/send-draft 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/debit-notes/bills

List bills

curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/bills 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/debit-notes/export.csv

List export.csv

curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/export.csv 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/debit-notes/kanban

List kanban

curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/kanban 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/debit-notes/pivot

List pivot

curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/pivot 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/debit-notes

Create a debit note

curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/debit-notes/{id}/apply

Create an apply

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/apply 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/debit-notes/{id}/comments

Create a comment

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/comments 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/debit-notes/{id}/duplicate

Create a duplicate

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/duplicate 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/debit-notes/{id}/email

Create an email

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/email 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/debit-notes/{id}/refund

Create a refund

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/refund 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/debit-notes/{id}/send/ai

Create an ai

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/send/ai 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/debit-notes/{id}/status

Create a statu

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/status 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/debit-notes/bulk/delete

Create a delete

curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/bulk/delete 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/debit-notes/bulk/pdf

Create a pdf

curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/bulk/pdf 
  -H 'Authorization: Bearer YOUR_API_KEY'

PATCH/api/purchase/debit-notes/{id}

Change a debit note

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X PATCH https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

DELETE/api/purchase/debit-notes/{id}

Delete a debit note

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X DELETE https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

DELETE/api/purchase/debit-notes/{id}/apply/{applicationId}

Delete an apply

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
applicationIdstringRequiredThe record’s id.
curl -X DELETE https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/apply/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

DELETE/api/purchase/debit-notes/{id}/comments/{commentId}

Delete a comment

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
commentIdstringRequiredThe record’s id.
curl -X DELETE https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/comments/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

DELETE/api/purchase/debit-notes/{id}/refunds/{paymentId}

Delete a refund

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
paymentIdstringRequiredThe record’s id.
curl -X DELETE https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/refunds/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

Orders

GET/api/purchase/orders

List orders

curl -X GET https://app.jaicrm.ai/api/purchase/orders 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/orders/{id}

Read one order

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/orders/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/orders/{id}/comments

List comments

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/comments 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/orders/{id}/dependencies

List dependencies

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/dependencies 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/orders/{id}/email-check

List email check

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/email-check 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/orders/{id}/pdf

List pdf

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/pdf 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/orders/{id}/print

List print

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/print 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/orders/{id}/send-draft

List send draft

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/send-draft 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/orders/export.csv

List export.csv

curl -X GET https://app.jaicrm.ai/api/purchase/orders/export.csv 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/orders/kanban

List kanban

curl -X GET https://app.jaicrm.ai/api/purchase/orders/kanban 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/orders/pivot

List pivot

curl -X GET https://app.jaicrm.ai/api/purchase/orders/pivot 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/orders

Create an order

curl -X POST https://app.jaicrm.ai/api/purchase/orders 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/orders/{id}/cancel-items

Create a cancel item

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/cancel-items 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/orders/{id}/comments

Create a comment

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/comments 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/orders/{id}/convert

Create a convert

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/convert 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/orders/{id}/duplicate

Create a duplicate

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/duplicate 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/orders/{id}/email

Create an email

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/email 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/orders/{id}/receive

Create a receive

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/receive 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/orders/{id}/reopen-items

Create a reopen item

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/reopen-items 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/orders/{id}/send/ai

Create an ai

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/send/ai 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/orders/{id}/status

Create a statu

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/status 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/orders/bulk/delete

Create a delete

curl -X POST https://app.jaicrm.ai/api/purchase/orders/bulk/delete 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/orders/bulk/pdf

Create a pdf

curl -X POST https://app.jaicrm.ai/api/purchase/orders/bulk/pdf 
  -H 'Authorization: Bearer YOUR_API_KEY'

PATCH/api/purchase/orders/{id}

Change an order

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X PATCH https://app.jaicrm.ai/api/purchase/orders/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

DELETE/api/purchase/orders/{id}

Delete an order

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X DELETE https://app.jaicrm.ai/api/purchase/orders/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

DELETE/api/purchase/orders/{id}/comments/{commentId}

Delete a comment

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
commentIdstringRequiredThe record’s id.
curl -X DELETE https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/comments/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

Bills

GET/api/purchase/bills

List bills

curl -X GET https://app.jaicrm.ai/api/purchase/bills 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/bills/{id}

Read one bill

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/bills/{id}/comments

List comments

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/comments 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/bills/{id}/debit-room

List debit room

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/debit-room 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/bills/{id}/dependencies

List dependencies

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/dependencies 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/bills/{id}/email-check

List email check

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/email-check 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/bills/{id}/pdf

List pdf

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/pdf 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/bills/{id}/print

List print

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/print 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/bills/{id}/send-draft

List send draft

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/send-draft 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/bills/export.csv

List export.csv

curl -X GET https://app.jaicrm.ai/api/purchase/bills/export.csv 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/bills/kanban

List kanban

curl -X GET https://app.jaicrm.ai/api/purchase/bills/kanban 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/bills/pivot

List pivot

curl -X GET https://app.jaicrm.ai/api/purchase/bills/pivot 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/bills

Create a bill

curl -X POST https://app.jaicrm.ai/api/purchase/bills 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/bills/{id}/comments

Create a comment

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/comments 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/bills/{id}/debit-note

Create a debit note

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/debit-note 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/bills/{id}/duplicate

Create a duplicate

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/duplicate 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/bills/{id}/email

Create an email

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/email 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/bills/{id}/send/ai

Create an ai

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/send/ai 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/bills/{id}/status

Create a statu

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/status 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/bills/bulk/delete

Create a delete

curl -X POST https://app.jaicrm.ai/api/purchase/bills/bulk/delete 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/bills/bulk/pdf

Create a pdf

curl -X POST https://app.jaicrm.ai/api/purchase/bills/bulk/pdf 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/bills/bulk/update

Create an update

curl -X POST https://app.jaicrm.ai/api/purchase/bills/bulk/update 
  -H 'Authorization: Bearer YOUR_API_KEY'

PATCH/api/purchase/bills/{id}

Change a bill

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X PATCH https://app.jaicrm.ai/api/purchase/bills/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

DELETE/api/purchase/bills/{id}

Delete a bill

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X DELETE https://app.jaicrm.ai/api/purchase/bills/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

DELETE/api/purchase/bills/{id}/comments/{commentId}

Delete a comment

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
commentIdstringRequiredThe record’s id.
curl -X DELETE https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/comments/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

Payments

GET/api/purchase/payments

List payments

curl -X GET https://app.jaicrm.ai/api/purchase/payments 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/payments/{id}

Read one payment

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/payments/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/payments/{id}/dependencies

List dependencies

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/payments/RECORD_ID/dependencies 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/payments/outstanding

List outstanding

curl -X GET https://app.jaicrm.ai/api/purchase/payments/outstanding 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/payments

Create a payment

curl -X POST https://app.jaicrm.ai/api/purchase/payments 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/payments/bulk/update

Create an update

curl -X POST https://app.jaicrm.ai/api/purchase/payments/bulk/update 
  -H 'Authorization: Bearer YOUR_API_KEY'

PATCH/api/purchase/payments/{id}

Change a payment

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X PATCH https://app.jaicrm.ai/api/purchase/payments/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

DELETE/api/purchase/payments/{id}

Delete a payment

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X DELETE https://app.jaicrm.ai/api/purchase/payments/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

Recurring

GET/api/purchase/recurring

List recurring

curl -X GET https://app.jaicrm.ai/api/purchase/recurring 
  -H 'Authorization: Bearer YOUR_API_KEY'

GET/api/purchase/recurring/{id}

Read one recurring

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/purchase/recurring/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/recurring

Create a recurring

curl -X POST https://app.jaicrm.ai/api/purchase/recurring 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/recurring/{id}/{action}

Act on a recurring

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
actionstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/recurring/RECORD_ID/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/purchase/recurring/{id}/run

Create a run

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/purchase/recurring/RECORD_ID/run 
  -H 'Authorization: Bearer YOUR_API_KEY'

PATCH/api/purchase/recurring/{id}

Change a recurring

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X PATCH https://app.jaicrm.ai/api/purchase/recurring/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

DELETE/api/purchase/recurring/{id}

Delete a recurring

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X DELETE https://app.jaicrm.ai/api/purchase/recurring/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

Summary

GET/api/purchase/summary

Read a summary for procurement

curl -X GET https://app.jaicrm.ai/api/purchase/summary 
  -H 'Authorization: Bearer YOUR_API_KEY'

Something missing or wrong here? Tell us. A question that needed asking usually means a page that needed writing.