API reference
Deals: Money and invoices
On this page
- Read money across talents
- Read the workspace's money view
- Set a deal's payment chase
- Set a deal's agency commission
- Add a fee
- Change a fee
- Remove a fee
- Record an invoice
- Change an invoice
- Remove an invoice
- Pause or resume an invoice's chase
- Send a payment reminder now
- Record a payment
- Remove a payment
- Read a deal's negotiation cards
- Read a deal's money
- Add a split
- Change a split
- Remove a split
Base URL https://api.beplan.io/v1. Authentication, envelopes, pagination, idempotency and rate limits:
conventions. OpenAPI document: openapi.json.
All 97 Deals operations
- GET List companies
- POST Add a company
- GET List companies that look like duplicates
- GET Get a company
- PATCH Edit a company
- POST Add a contact to a company
- POST Merge two companies
- PATCH Edit a contact
- POST Erase a contact (data protection request)
- POST Merge two contacts
- GET Read money across talents
- GET Read the agency roster
- GET Read the organization's Deals settings
- PATCH Change the organization's Deals settings
- GET List deal dates in a calendar range
- GET List deals
- POST Create a deal
- POST Start a file upload for a new deal
- POST Finish a file upload for a new deal
- GET List deals a post can belong to
- GET Read the workspace's money view
- GET Read the workspace's Deals settings
- PATCH Change the workspace's Deals settings
- PUT Set the workspace's payment chase
- GET Count deals by stage
- GET Get a deal
- PATCH Edit a deal
- DELETE Delete a deal
- PUT Set a deal's payment chase
- PUT Set a deal's agency commission
- POST Email a brand in a new conversation
- POST Add a team note to a deal
- POST Reply to a brand
- POST Add a deal date
- PATCH Change a deal date
- DELETE Remove a deal date
- POST Add a deliverable
- PATCH Edit a deliverable
- DELETE Remove a deliverable
- POST Create the post of a deliverable
- POST Mark a deliverable delivered
- POST Link a post to a deliverable
- DELETE Unlink a post from a deliverable
- PATCH Tick the disclosure checklist of a post
- POST Record a deal event
- PATCH Change a deal event
- DELETE Undo a deal event
- POST Decline, lose or reopen a deal
- POST Add a fee
- PATCH Change a fee
- DELETE Remove a fee
- POST Start a file upload on a deal
- DELETE Delete a deal file
- POST Finish a file upload on a deal
- GET Get a download link for a deal file
- POST Record an invoice
- PATCH Change an invoice
- DELETE Remove an invoice
- POST Pause or resume an invoice's chase
- POST Send a payment reminder now
- POST Record a payment
- DELETE Remove a payment
- GET Read a deal's negotiation cards
- POST Let a held sender in
- POST Put a sender back on hold
- POST Ignore a held sender
- POST Resend a failed email
- GET Read a deal's money
- PUT Set a deal's brand-side people
- GET List a deal's reports
- POST Build a brand report
- GET Get a brand report
- PATCH Edit a brand report
- POST Turn a report link off
- POST Send a brand report
- GET Read a deal's draft review
- POST Pin a note on a draft
- PATCH Mark a review comment fixed
- POST Reply to a review comment
- PATCH Change the review link
- POST Remind the brand of waiting drafts
- POST Send drafts to the brand for review
- POST Record the brand's answer to a draft
- POST Add a usage right or exclusivity
- PATCH Change a usage right
- DELETE Remove a usage right
- POST Add a split
- PATCH Change a split
- DELETE Remove a split
- POST Move a deal to a stage
- GET Read a deal's terms
- POST Add a term to a deal
- POST Confirm suggested terms
- PATCH Edit, keep or reject a term
- GET Read a deal's thread
- PUT Set who watches a deal
- GET Get the deal a post belongs to
Read money across talents
/organizations/{organizationId}/deals/money deals.money.organizationOverview - Scope
- deals:finances
- Role permission
- Any member who can see it
- Effect
- Changes nothing.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Overdue and open invoices of every workspace where the user sees finances (and the token is allowed), sorted by days late, with totals per currency; hiddenWorkspaces counts the talents left out. Amounts are integers in minor units. 403 MISSING_PERMISSION without finances anywhere. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
Responses
200 OK
object · DealMoneyOverviewResponse
dataobject · DealMoneyOverviewrequired6fields
overduearray of objectrequired7fields in each item
invoiceobject · DealInvoicerequired21fields
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of:full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of:date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of:draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
dealIdstring (uuid)requireddealTitlestringrequiredcompanyobject · DealCompanyRefrequirednullable6fields
idstring (uuid)requirednamestringrequiredkindstringrequiredOne of:brand,agencydomainstringrequirednullablelogoUrlstringrequirednullablecategorystringrequirednullable
workspaceIdstring (uuid)requiredworkspaceNamestringrequiredownerobject · MediaPersonrequirednullable3fields
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
openarray of objectrequired7fields in each item
invoiceobject · DealInvoicerequired21fields
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of:full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of:date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of:draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
dealIdstring (uuid)requireddealTitlestringrequiredcompanyobject · DealCompanyRefrequirednullable6fields
idstring (uuid)requirednamestringrequiredkindstringrequiredOne of:brand,agencydomainstringrequirednullablelogoUrlstringrequirednullablecategorystringrequirednullable
workspaceIdstring (uuid)requiredworkspaceNamestringrequiredownerobject · MediaPersonrequirednullable3fields
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
paidThisQuarterarray of objectrequired2fields in each item
currencystringrequiredamountMinornumberrequired
overdueTotalsarray of objectrequired4fields in each item
currencystringrequiredamountMinornumberrequiredcountnumberrequiredworkspacesnumberrequired
dueIn30DaysTotalsarray of objectrequired3fields in each item
currencystringrequiredamountMinornumberrequiredcountnumberrequired
hiddenWorkspacesnumberrequired
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
11 more that every operation can answer (tokens, scopes, limits)
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Money view
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/deals/money" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/deals/money", {
method: "GET",
headers: {
Authorization: "Bearer beplan_pat_…",
},
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.get(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/deals/money",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"overdue": [],
"open": [
{
"invoice": {
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "sent",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [],
"nextChase": {
"stepPosition": 1,
"tone": "nudge",
"at": "2026-12-23T09:00:00.000Z",
"autoSend": false
},
"chasePaused": false
},
"dealId": "5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13",
"dealTitle": "Acme headphones launch",
"company": {
"id": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"name": "Acme",
"kind": "brand",
"domain": "acme.test.beplan.local",
"logoUrl": null,
"category": null
},
"workspaceId": "3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62",
"workspaceName": "Studio Halden",
"owner": {
"id": "user_2x8Kq",
"name": "Alex Martin",
"image": null
}
}
],
"paidThisQuarter": [
{
"currency": "EUR",
"amountMinor": 850000
}
],
"overdueTotals": [],
"dueIn30DaysTotals": [
{
"currency": "EUR",
"amountMinor": 200000,
"count": 1
}
],
"hiddenWorkspaces": 0
}
} Read the workspace's money view
/organizations/{organizationId}/workspaces/{workspaceId}/deals/money deals.money.overview - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Changes nothing.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Overdue and open invoices of the workspace's deals, sorted by days late, with totals per currency (overdue, due in 30 days, paid this quarter). Amounts are integers in minor units (cents) of the deal's currency (ISO 4217). Beplan records the money, it never moves any. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) |
Responses
200 OK
object · DealMoneyOverviewResponse
dataobject · DealMoneyOverviewrequired6fields
overduearray of objectrequired7fields in each item
invoiceobject · DealInvoicerequired21fields
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of:full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of:date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of:draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
dealIdstring (uuid)requireddealTitlestringrequiredcompanyobject · DealCompanyRefrequirednullable6fields
idstring (uuid)requirednamestringrequiredkindstringrequiredOne of:brand,agencydomainstringrequirednullablelogoUrlstringrequirednullablecategorystringrequirednullable
workspaceIdstring (uuid)requiredworkspaceNamestringrequiredownerobject · MediaPersonrequirednullable3fields
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
openarray of objectrequired7fields in each item
invoiceobject · DealInvoicerequired21fields
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of:full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of:date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of:draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
dealIdstring (uuid)requireddealTitlestringrequiredcompanyobject · DealCompanyRefrequirednullable6fields
idstring (uuid)requirednamestringrequiredkindstringrequiredOne of:brand,agencydomainstringrequirednullablelogoUrlstringrequirednullablecategorystringrequirednullable
workspaceIdstring (uuid)requiredworkspaceNamestringrequiredownerobject · MediaPersonrequirednullable3fields
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
paidThisQuarterarray of objectrequired2fields in each item
currencystringrequiredamountMinornumberrequired
overdueTotalsarray of objectrequired4fields in each item
currencystringrequiredamountMinornumberrequiredcountnumberrequiredworkspacesnumberrequired
dueIn30DaysTotalsarray of objectrequired3fields in each item
currencystringrequiredamountMinornumberrequiredcountnumberrequired
hiddenWorkspacesnumberrequired
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
13 more that every operation can answer (tokens, scopes, limits)
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Money view
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/money" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/money", {
method: "GET",
headers: {
Authorization: "Bearer beplan_pat_…",
},
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.get(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/money",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"overdue": [],
"open": [
{
"invoice": {
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "sent",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [],
"nextChase": {
"stepPosition": 1,
"tone": "nudge",
"at": "2026-12-23T09:00:00.000Z",
"autoSend": false
},
"chasePaused": false
},
"dealId": "5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13",
"dealTitle": "Acme headphones launch",
"company": {
"id": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"name": "Acme",
"kind": "brand",
"domain": "acme.test.beplan.local",
"logoUrl": null,
"category": null
},
"workspaceId": "3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62",
"workspaceName": "Studio Halden",
"owner": {
"id": "user_2x8Kq",
"name": "Alex Martin",
"image": null
}
}
],
"paidThisQuarter": [
{
"currency": "EUR",
"amountMinor": 850000
}
],
"overdueTotals": [],
"dueIn30DaysTotals": [
{
"currency": "EUR",
"amountMinor": 200000,
"count": 1
}
],
"hiddenWorkspaces": 0
}
} Set a deal's payment chase
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/chase deals.chase.set - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Changes data in Beplan.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Sets the deal's own chase sequence, or steps: null to follow the workspace's. A chase is up to 6 reminder steps, each offsetDays after the due date, with a tone (nudge, firm, final), who is copied and whether the late fee is mentioned. A step with autoSend: true emails the brand on its own when due, so through the API it also needs deals:send; other steps are drafted and wait for a person to send them in Beplan. Answers the sequence. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) |
Request body JSON, required
object · SetDealChaseBody
stepsarray of objectrequirednullableat most 6 items5fields in each item
offsetDaysintegerrequiredfrom 0 to 120tonestringrequiredOne of:nudge,firm,finalccRolesarray of stringrequiredOne of:accounts_payable,brand_agency,managerat most 3 itemsautoSendbooleanrequiredmentionsLateFeebooleanrequired
Responses
200 OK
object · DealChaseResponse
dataobjectrequired3fields
stepsarray of objectrequired7fields in each item
idstring (uuid)requiredpositionnumberrequiredoffsetDaysnumberrequiredtonestringrequiredOne of:nudge,firm,finalccRolesarray of stringrequiredOne of:accounts_payable,brand_agency,managerautoSendbooleanrequiredmentionsLateFeebooleanrequired
lateFeeOnlyWithClausebooleanrequiredpauseOnReplybooleanrequired
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
13 more that every operation can answer (tokens, scopes, limits)
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
One polite nudge, drafted
curl -X PUT "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/chase" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Content-Type: application/json" \
-d '{
"steps": [
{
"offsetDays": 0,
"tone": "nudge",
"ccRoles": [],
"autoSend": false,
"mentionsLateFee": false
}
]
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/chase", {
method: "PUT",
headers: {
Authorization: "Bearer beplan_pat_…",
"Content-Type": "application/json",
},
body: JSON.stringify({
"steps": [
{
"offsetDays": 0,
"tone": "nudge",
"ccRoles": [],
"autoSend": false,
"mentionsLateFee": false
}
]
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.put(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/chase",
headers={"Authorization": "Bearer beplan_pat_…"},
json={
"steps": [
{
"offsetDays": 0,
"tone": "nudge",
"ccRoles": [],
"autoSend": False,
"mentionsLateFee": False,
},
],
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"steps": [
{
"id": "c1e3a5c7-9d1f-4b3e-8a5c-7e9b1d3f5a02",
"position": 0,
"offsetDays": 0,
"tone": "nudge",
"ccRoles": [],
"autoSend": false,
"mentionsLateFee": false
}
],
"lateFeeOnlyWithClause": true,
"pauseOnReply": true
}
} Set a deal's agency commission
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/commission deals.commission.set - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Changes data in Beplan.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Sets the agency's commission percent for this deal (null: back to the talent's or the organization's default). Once the deal is signed its commission is frozen: 422 DEAL_COMMISSION_LOCKED unless unlock: true. Answers the deal's money. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) |
Request body JSON, required
object · SetDealCommissionBody
percentnumberrequirednullablefrom 0 to 100unlockbooleanoptional
Responses
200 OK
object · DealMoneyResponse
dataobject · DealMoneyDetailrequired7fields
currencystringrequiredfeesarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of (may gain values):offer,fixed,per_deliverable,bonus,kill_fee,late_fee,extra_revision,expense,in_kindlabelstringrequiredamountMinornumberrequiredtaxPercentnumberrequirednullabledeliverableIdstring (uuid)requirednullableconditionstringrequirednullablestatusstringrequiredOne of:proposed,agreed,due,cancelled
splitsarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of:manager,co_creator,otherlabelstringrequiredrecipientNamestringrequirednullablerecipientUserIdstringrequirednullablesharePercentnumberrequirednullableamountMinornumberrequirednullablecomputedAmountMinornumberrequired
invoicesarray of objectrequired21fields in each item
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of:full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of:date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of (may gain values):draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
totalsobjectrequired4fields
agreedMinornumberrequiredinvoicedMinornumberrequiredpaidMinornumberrequiredoutstandingMinornumberrequired
commissionobjectrequired6fields
percentnumberrequiredsourcestringrequiredOne of:locked,deal,roster,organization,noneoverridePercentnumberrequirednullablebookedMinornumberrequiredearnedMinornumberrequiredagencyNamestringrequired
chaseSequencestringrequiredOne of:workspace,deal
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
| 409 | DEAL_COMMISSION_LOCKED | The commission was fixed when the deal was signed. Unlock it to change it. |
15 more that every operation can answer (tokens, scopes, limits)
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
15 %
curl -X PUT "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/commission" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Content-Type: application/json" \
-d '{
"percent": 15
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/commission", {
method: "PUT",
headers: {
Authorization: "Bearer beplan_pat_…",
"Content-Type": "application/json",
},
body: JSON.stringify({
"percent": 15
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.put(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/commission",
headers={"Authorization": "Bearer beplan_pat_…"},
json={
"percent": 15,
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"currency": "EUR",
"fees": [
{
"id": "b5d7f9b1-3c5e-4a7c-8f9b-1d3f5a7c9e13",
"kind": "fixed",
"label": "Integration fee",
"amountMinor": 200000,
"taxPercent": null,
"deliverableId": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"condition": null,
"status": "agreed"
}
],
"splits": [
{
"id": "c8e0a2c4-6d8f-4b0d-9a2c-4e6a8c0e2a24",
"kind": "manager",
"label": "Manager",
"recipientName": "Alex Martin",
"recipientUserId": "user_2x8Kq",
"sharePercent": 10,
"amountMinor": null,
"computedAmountMinor": 20000
}
],
"invoices": [
{
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "sent",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [],
"nextChase": {
"stepPosition": 1,
"tone": "nudge",
"at": "2026-12-23T09:00:00.000Z",
"autoSend": false
},
"chasePaused": false
}
],
"totals": {
"agreedMinor": 200000,
"invoicedMinor": 200000,
"paidMinor": 0,
"outstandingMinor": 200000
},
"commission": {
"percent": 15,
"source": "deal",
"overridePercent": 15,
"bookedMinor": 30000,
"earnedMinor": 0,
"agencyName": "Studio Halden"
},
"chaseSequence": "workspace"
}
} Add a fee
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/fees deals.fees.create - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Changes data in Beplan.
- Idempotency
- Send an
Idempotency-Keyto retry safely: the same key with the same body within 24 hours returns the stored response. - Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Adds a fee: kind (fixed, per_deliverable, bonus, kill_fee, in_kind…), a label, amountMinor, an optional tax percent, deliverable and condition. Answers 201 with the deal's money. Amounts are integers in minor units (cents) of the deal's currency (ISO 4217). Beplan records the money, it never moves any. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) |
Request body JSON, required
object · CreateDealFeeBody
kindstringrequiredOne of:offer,fixed,per_deliverable,bonus,kill_fee,late_fee,extra_revision,expense,in_kindlabelstringrequired1–160 charactersamountMinorintegerrequiredfrom 0 to 10000000000000taxPercentnumberoptionalnullablefrom 0 to 100deliverableIdstring (uuid)optionalnullableconditionstringoptionalnullableat most 500 charactersstatusstringoptionalOne of:proposed,agreed,due,cancelled
Responses
201 Created
object · DealMoneyResponse
dataobject · DealMoneyDetailrequired7fields
currencystringrequiredfeesarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of (may gain values):offer,fixed,per_deliverable,bonus,kill_fee,late_fee,extra_revision,expense,in_kindlabelstringrequiredamountMinornumberrequiredtaxPercentnumberrequirednullabledeliverableIdstring (uuid)requirednullableconditionstringrequirednullablestatusstringrequiredOne of:proposed,agreed,due,cancelled
splitsarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of:manager,co_creator,otherlabelstringrequiredrecipientNamestringrequirednullablerecipientUserIdstringrequirednullablesharePercentnumberrequirednullableamountMinornumberrequirednullablecomputedAmountMinornumberrequired
invoicesarray of objectrequired21fields in each item
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of:full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of:date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of (may gain values):draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
totalsobjectrequired4fields
agreedMinornumberrequiredinvoicedMinornumberrequiredpaidMinornumberrequiredoutstandingMinornumberrequired
commissionobjectrequired6fields
percentnumberrequiredsourcestringrequiredOne of:locked,deal,roster,organization,noneoverridePercentnumberrequirednullablebookedMinornumberrequiredearnedMinornumberrequiredagencyNamestringrequired
chaseSequencestringrequiredOne of:workspace,deal
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
16 more that every operation can answer (tokens, scopes, limits)
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 409 | CONFLICT | This changed in the meantime. Refresh and try again. |
| 409 | IDEMPOTENCY_KEY_REUSED | This Idempotency-Key was already used for a different request. Send a new key. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
2,000 EUR fixed
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/fees" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"kind": "fixed",
"label": "Integration fee",
"amountMinor": 200000
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/fees", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"kind": "fixed",
"label": "Integration fee",
"amountMinor": 200000
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import uuid
import requests
response = requests.post(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/fees",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"kind": "fixed",
"label": "Integration fee",
"amountMinor": 200000,
},
)
response.raise_for_status()
data = response.json()["data"] Response 201
{
"data": {
"currency": "EUR",
"fees": [
{
"id": "b5d7f9b1-3c5e-4a7c-8f9b-1d3f5a7c9e13",
"kind": "fixed",
"label": "Integration fee",
"amountMinor": 200000,
"taxPercent": null,
"deliverableId": null,
"condition": null,
"status": "proposed"
}
],
"splits": [
{
"id": "c8e0a2c4-6d8f-4b0d-9a2c-4e6a8c0e2a24",
"kind": "manager",
"label": "Manager",
"recipientName": "Alex Martin",
"recipientUserId": "user_2x8Kq",
"sharePercent": 10,
"amountMinor": null,
"computedAmountMinor": 20000
}
],
"invoices": [],
"totals": {
"agreedMinor": 0,
"invoicedMinor": 0,
"paidMinor": 0,
"outstandingMinor": 0
},
"commission": {
"percent": 20,
"source": "roster",
"overridePercent": null,
"bookedMinor": 40000,
"earnedMinor": 0,
"agencyName": "Studio Halden"
},
"chaseSequence": "workspace"
}
} Change a fee
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/fees/{itemId} deals.fees.update - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Changes data in Beplan.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Changes the given fields of a fee (ids from deals.money.get). Answers the deal's money. Amounts are integers in minor units (cents) of the deal's currency (ISO 4217). Beplan records the money, it never moves any. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Request body JSON, required
object · UpdateDealFeeBody
kindstringoptionalOne of:offer,fixed,per_deliverable,bonus,kill_fee,late_fee,extra_revision,expense,in_kindlabelstringoptional1–160 charactersamountMinorintegeroptionalfrom 0 to 10000000000000taxPercentnumberoptionalnullablefrom 0 to 100deliverableIdstring (uuid)optionalnullableconditionstringoptionalnullableat most 500 charactersstatusstringoptionalOne of:proposed,agreed,due,cancelled
Responses
200 OK
object · DealMoneyResponse
dataobject · DealMoneyDetailrequired7fields
currencystringrequiredfeesarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of (may gain values):offer,fixed,per_deliverable,bonus,kill_fee,late_fee,extra_revision,expense,in_kindlabelstringrequiredamountMinornumberrequiredtaxPercentnumberrequirednullabledeliverableIdstring (uuid)requirednullableconditionstringrequirednullablestatusstringrequiredOne of:proposed,agreed,due,cancelled
splitsarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of:manager,co_creator,otherlabelstringrequiredrecipientNamestringrequirednullablerecipientUserIdstringrequirednullablesharePercentnumberrequirednullableamountMinornumberrequirednullablecomputedAmountMinornumberrequired
invoicesarray of objectrequired21fields in each item
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of:full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of:date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of (may gain values):draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
totalsobjectrequired4fields
agreedMinornumberrequiredinvoicedMinornumberrequiredpaidMinornumberrequiredoutstandingMinornumberrequired
commissionobjectrequired6fields
percentnumberrequiredsourcestringrequiredOne of:locked,deal,roster,organization,noneoverridePercentnumberrequirednullablebookedMinornumberrequiredearnedMinornumberrequiredagencyNamestringrequired
chaseSequencestringrequiredOne of:workspace,deal
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
14 more that every operation can answer (tokens, scopes, limits)
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Agreed
curl -X PATCH "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/fees/b5d7f9b1-3c5e-4a7c-8f9b-1d3f5a7c9e13" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Content-Type: application/json" \
-d '{
"status": "agreed"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/fees/b5d7f9b1-3c5e-4a7c-8f9b-1d3f5a7c9e13", {
method: "PATCH",
headers: {
Authorization: "Bearer beplan_pat_…",
"Content-Type": "application/json",
},
body: JSON.stringify({
"status": "agreed"
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.patch(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/fees/b5d7f9b1-3c5e-4a7c-8f9b-1d3f5a7c9e13",
headers={"Authorization": "Bearer beplan_pat_…"},
json={
"status": "agreed",
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"currency": "EUR",
"fees": [
{
"id": "b5d7f9b1-3c5e-4a7c-8f9b-1d3f5a7c9e13",
"kind": "fixed",
"label": "Integration fee",
"amountMinor": 200000,
"taxPercent": null,
"deliverableId": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"condition": null,
"status": "agreed"
}
],
"splits": [
{
"id": "c8e0a2c4-6d8f-4b0d-9a2c-4e6a8c0e2a24",
"kind": "manager",
"label": "Manager",
"recipientName": "Alex Martin",
"recipientUserId": "user_2x8Kq",
"sharePercent": 10,
"amountMinor": null,
"computedAmountMinor": 20000
}
],
"invoices": [
{
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "sent",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [],
"nextChase": {
"stepPosition": 1,
"tone": "nudge",
"at": "2026-12-23T09:00:00.000Z",
"autoSend": false
},
"chasePaused": false
}
],
"totals": {
"agreedMinor": 200000,
"invoicedMinor": 200000,
"paidMinor": 0,
"outstandingMinor": 200000
},
"commission": {
"percent": 20,
"source": "roster",
"overridePercent": null,
"bookedMinor": 40000,
"earnedMinor": 0,
"agencyName": "Studio Halden"
},
"chaseSequence": "workspace"
}
} Remove a fee
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/fees/{itemId} deals.fees.delete - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Deletes data or cannot be undone.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Removes a fee. Answers the deal's money. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Responses
200 OK
object · DealMoneyResponse
dataobject · DealMoneyDetailrequired7fields
currencystringrequiredfeesarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of (may gain values):offer,fixed,per_deliverable,bonus,kill_fee,late_fee,extra_revision,expense,in_kindlabelstringrequiredamountMinornumberrequiredtaxPercentnumberrequirednullabledeliverableIdstring (uuid)requirednullableconditionstringrequirednullablestatusstringrequiredOne of:proposed,agreed,due,cancelled
splitsarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of:manager,co_creator,otherlabelstringrequiredrecipientNamestringrequirednullablerecipientUserIdstringrequirednullablesharePercentnumberrequirednullableamountMinornumberrequirednullablecomputedAmountMinornumberrequired
invoicesarray of objectrequired21fields in each item
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of:full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of:date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of (may gain values):draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
totalsobjectrequired4fields
agreedMinornumberrequiredinvoicedMinornumberrequiredpaidMinornumberrequiredoutstandingMinornumberrequired
commissionobjectrequired6fields
percentnumberrequiredsourcestringrequiredOne of:locked,deal,roster,organization,noneoverridePercentnumberrequirednullablebookedMinornumberrequiredearnedMinornumberrequiredagencyNamestringrequired
chaseSequencestringrequiredOne of:workspace,deal
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
13 more that every operation can answer (tokens, scopes, limits)
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Remove
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/fees/b5d7f9b1-3c5e-4a7c-8f9b-1d3f5a7c9e13" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/fees/b5d7f9b1-3c5e-4a7c-8f9b-1d3f5a7c9e13", {
method: "DELETE",
headers: {
Authorization: "Bearer beplan_pat_…",
},
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.delete(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/fees/b5d7f9b1-3c5e-4a7c-8f9b-1d3f5a7c9e13",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"currency": "EUR",
"fees": [],
"splits": [
{
"id": "c8e0a2c4-6d8f-4b0d-9a2c-4e6a8c0e2a24",
"kind": "manager",
"label": "Manager",
"recipientName": "Alex Martin",
"recipientUserId": "user_2x8Kq",
"sharePercent": 10,
"amountMinor": null,
"computedAmountMinor": 0
}
],
"invoices": [
{
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "sent",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [],
"nextChase": {
"stepPosition": 1,
"tone": "nudge",
"at": "2026-12-23T09:00:00.000Z",
"autoSend": false
},
"chasePaused": false
}
],
"totals": {
"agreedMinor": 0,
"invoicedMinor": 200000,
"paidMinor": 0,
"outstandingMinor": 200000
},
"commission": {
"percent": 20,
"source": "roster",
"overridePercent": null,
"bookedMinor": 40000,
"earnedMinor": 0,
"agencyName": "Studio Halden"
},
"chaseSequence": "workspace"
}
} Record an invoice
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/invoices deals.invoices.create - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Changes data in Beplan.
- Idempotency
- Send an
Idempotency-Keyto retry safely: the same key with the same body within 24 hours returns the stored response. - Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Records an invoice the talent issued (Beplan does not issue legal invoices): number, amountMinor, dates (ISO YYYY-MM-DD), a due date or a due rule (dueKind), an optional PDF (a clean deal file) and the contact it is billed to. Answers 201 with the invoice. Amounts are integers in minor units (cents) of the deal's currency (ISO 4217). Beplan records the money, it never moves any. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) |
Request body JSON, required
object · CreateDealInvoiceBody
numberstringrequired1–60 characterskindstringoptionalOne of:full,deposit,balanceissuedOnstring (date)optionalnullabledueKindstringoptionalOne of:date,on_signature,on_deliverydueOnstring (date)optionalnullableamountMinorintegerrequiredfrom 0 to 10000000000000taxMinorintegeroptionalfrom 0 to 10000000000000currencystringoptionalmatches^[A-Z]{3}$statusstringoptionalOne of:draft,sent,voidpdfFileIdstring (uuid)optionalnullablebillToContactIdstring (uuid)optionalnullable
Responses
201 Created
object · DealInvoiceResponse
dataobject · DealInvoicerequired21fields
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of (may gain values):full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of (may gain values):date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of (may gain values):draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | CONTACT_NOT_FOUND | This contact doesn't exist in this organization. |
| 404 | DEAL_FILE_NOT_FOUND | This file doesn't exist on this deal. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
16 more that every operation can answer (tokens, scopes, limits)
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 409 | CONFLICT | This changed in the meantime. Refresh and try again. |
| 409 | IDEMPOTENCY_KEY_REUSED | This Idempotency-Key was already used for a different request. Send a new key. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
INV-12, due in December
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"number": "INV-12",
"amountMinor": 200000,
"issuedOn": "2026-11-20",
"dueOn": "2026-12-20"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"number": "INV-12",
"amountMinor": 200000,
"issuedOn": "2026-11-20",
"dueOn": "2026-12-20"
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import uuid
import requests
response = requests.post(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"number": "INV-12",
"amountMinor": 200000,
"issuedOn": "2026-11-20",
"dueOn": "2026-12-20",
},
)
response.raise_for_status()
data = response.json()["data"] Response 201
{
"data": {
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "draft",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [],
"nextChase": null,
"chasePaused": false
}
} Change an invoice
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/invoices/{itemId} deals.invoices.update - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Changes data in Beplan.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Changes the given fields of an invoice (mark it sent, fix a date…). Answers the invoice. Amounts are integers in minor units (cents) of the deal's currency (ISO 4217). Beplan records the money, it never moves any. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Request body JSON, required
object · UpdateDealInvoiceBody
numberstringoptional1–60 characterskindstringoptionalOne of:full,deposit,balanceissuedOnstring (date)optionalnullabledueKindstringoptionalOne of:date,on_signature,on_deliverydueOnstring (date)optionalnullableamountMinorintegeroptionalfrom 0 to 10000000000000taxMinorintegeroptionalfrom 0 to 10000000000000currencystringoptionalmatches^[A-Z]{3}$statusstringoptionalOne of:draft,sent,voidpdfFileIdstring (uuid)optionalnullablebillToContactIdstring (uuid)optionalnullable
Responses
200 OK
object · DealInvoiceResponse
dataobject · DealInvoicerequired21fields
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of (may gain values):full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of (may gain values):date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of (may gain values):draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | CONTACT_NOT_FOUND | This contact doesn't exist in this organization. |
| 404 | DEAL_FILE_NOT_FOUND | This file doesn't exist on this deal. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
14 more that every operation can answer (tokens, scopes, limits)
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Sent
curl -X PATCH "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Content-Type: application/json" \
-d '{
"status": "sent"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35", {
method: "PATCH",
headers: {
Authorization: "Bearer beplan_pat_…",
"Content-Type": "application/json",
},
body: JSON.stringify({
"status": "sent"
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.patch(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
headers={"Authorization": "Bearer beplan_pat_…"},
json={
"status": "sent",
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "sent",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [],
"nextChase": {
"stepPosition": 1,
"tone": "nudge",
"at": "2026-12-23T09:00:00.000Z",
"autoSend": false
},
"chasePaused": false
}
} Remove an invoice
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/invoices/{itemId} deals.invoices.delete - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Deletes data or cannot be undone.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Removes an invoice record with its payments and chase. Answers 204. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Responses
204 No content
No content.
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
13 more that every operation can answer (tokens, scopes, limits)
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Remove
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35", {
method: "DELETE",
headers: {
Authorization: "Bearer beplan_pat_…",
},
});
if (!response.ok) throw new Error((await response.json()).error.code); import requests
response = requests.delete(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status() Answers 204 with no content.
Pause or resume an invoice's chase
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/invoices/{itemId}/chase/pause deals.invoices.chase.pause - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Changes data in Beplan.
- Idempotency
- Send an
Idempotency-Keyto retry safely: the same key with the same body within 24 hours returns the stored response. - Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Pauses (paused: true) or resumes the payment chase of one invoice. Needs a role that manages deals too. Answers the invoice. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Request body JSON, required
object · PauseDealChaseBody
pausedbooleanrequired
Responses
200 OK
object · DealInvoiceResponse
dataobject · DealInvoicerequired21fields
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of (may gain values):full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of (may gain values):date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of (may gain values):draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
16 more that every operation can answer (tokens, scopes, limits)
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 409 | CONFLICT | This changed in the meantime. Refresh and try again. |
| 409 | IDEMPOTENCY_KEY_REUSED | This Idempotency-Key was already used for a different request. Send a new key. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Pause
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35/chase/pause" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"paused": true
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35/chase/pause", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"paused": true
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import uuid
import requests
response = requests.post(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35/chase/pause",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"paused": True,
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "sent",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [],
"nextChase": null,
"chasePaused": true
}
} Send a payment reminder now
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/invoices/{itemId}/chase/{position}/send deals.invoices.chase.send - Scope
- deals:send and also deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Leaves Beplan: publishes, sends a message or an email, or spends paid quota. Counts against the smaller budget of operations that leave Beplan.
- Idempotency
- Send an
Idempotency-Keyto retry safely: the same key with the same body within 24 hours returns the stored response. - Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Emails the brand one step of an invoice's payment chase now (position, from the invoice's chase steps on deals.money.get), from the deal's address, with the invoice PDF attached when there is one. It reaches a real person outside the organization: confirm with the user first. text replaces the step's drafted text; without it, the draft (or the tone's default copy) is sent. Works on a paused chase. Needs both the deals:send and the deals:finances scopes, and a role that manages deals as well as the deal's money. 409 CONFLICT when the step was already sent or the invoice can't be chased (details.reason: paid, not_open, deal_exit); 422 DEAL_RECIPIENT_REQUIRED when the deal has no one to send it to. Send an Idempotency-Key: a repeat without one sends a second email. Answers the invoice. Counts against the smaller budget of operations that leave Beplan (30 per minute per connection). Amounts are integers in minor units (cents) of the deal's currency (ISO 4217). Beplan records the money, it never moves any. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) | |
position required | path | integer | from 0 to 10 |
Request body JSON, required
object · SendDealChaseBody
textstringoptional1–10000 characters
Responses
200 OK
object · DealInvoiceResponse
dataobject · DealInvoicerequired21fields
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of (may gain values):full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of (may gain values):date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of (may gain values):draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 422, 429, 500, 503.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
| 409 | CONFLICT | This changed in the meantime. Refresh and try again. |
| 422 | DEAL_RECIPIENT_REQUIRED | Add someone with an email address to send this to. |
| 503 | DEAL_MAIL_UNAVAILABLE | Email can't be sent right now. Your message is saved; try again shortly. |
14 more that every operation can answer (tokens, scopes, limits)
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 409 | IDEMPOTENCY_KEY_REUSED | This Idempotency-Key was already used for a different request. Send a new key. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Send the first reminder as drafted
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35/chase/0/send" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35/chase/0/send", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import uuid
import requests
response = requests.post(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35/chase/0/send",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "late",
"daysLate": 3,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [
{
"stepPosition": 0,
"tone": "nudge",
"offsetDays": 0,
"state": "sent",
"messageId": "f4a6c8e0-2b4d-4f6a-9c1e-3d5f7a9b1c35",
"skipReason": null,
"draftedAt": "2026-12-21T09:00:00.000Z",
"sentAt": "2026-12-23T09:12:00.000Z"
}
],
"nextChase": {
"stepPosition": 1,
"tone": "firm",
"at": "2026-12-27T09:00:00.000Z",
"autoSend": false
},
"chasePaused": false
}
} Record a payment
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/invoices/{itemId}/payments deals.invoices.payments.create - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Changes data in Beplan.
- Idempotency
- Send an
Idempotency-Keyto retry safely: the same key with the same body within 24 hours returns the stored response. - Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Records money received on an invoice (amountMinor, receivedOn as YYYY-MM-DD); the invoice becomes partly paid or paid, and its chase stops once paid. Answers 201 with the invoice. Amounts are integers in minor units (cents) of the deal's currency (ISO 4217). Beplan records the money, it never moves any. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Request body JSON, required
object · CreateDealPaymentBody
amountMinorintegerrequiredabove 0 to 10000000000000receivedOnstring (date)requirednotestringoptionalnullableat most 280 characters
Responses
201 Created
object · DealInvoiceResponse
dataobject · DealInvoicerequired21fields
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of (may gain values):full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of (may gain values):date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of (may gain values):draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
16 more that every operation can answer (tokens, scopes, limits)
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 409 | CONFLICT | This changed in the meantime. Refresh and try again. |
| 409 | IDEMPOTENCY_KEY_REUSED | This Idempotency-Key was already used for a different request. Send a new key. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Paid in full
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35/payments" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"amountMinor": 200000,
"receivedOn": "2026-12-18"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35/payments", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"amountMinor": 200000,
"receivedOn": "2026-12-18"
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import uuid
import requests
response = requests.post(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35/payments",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"amountMinor": 200000,
"receivedOn": "2026-12-18",
},
)
response.raise_for_status()
data = response.json()["data"] Response 201
{
"data": {
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 200000,
"status": "paid",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [
{
"id": "e4a6c8e0-2f4b-4d6f-9c8e-0a2c4e6a8c46",
"amountMinor": 200000,
"receivedOn": "2026-12-18",
"source": "manual",
"note": null
}
],
"chase": [],
"nextChase": null,
"chasePaused": false
}
} Remove a payment
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/invoices/{itemId}/payments/{paymentId} deals.invoices.payments.delete - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Deletes data or cannot be undone.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Removes a recorded payment; the invoice's status follows. Answers the invoice. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) | |
paymentId required | path | string (uuid) |
Responses
200 OK
object · DealInvoiceResponse
dataobject · DealInvoicerequired21fields
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of (may gain values):full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of (may gain values):date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of (may gain values):draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
13 more that every operation can answer (tokens, scopes, limits)
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Remove
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35/payments/e4a6c8e0-2f4b-4d6f-9c8e-0a2c4e6a8c46" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35/payments/e4a6c8e0-2f4b-4d6f-9c8e-0a2c4e6a8c46", {
method: "DELETE",
headers: {
Authorization: "Bearer beplan_pat_…",
},
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.delete(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/invoices/d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35/payments/e4a6c8e0-2f4b-4d6f-9c8e-0a2c4e6a8c46",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "sent",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [],
"nextChase": {
"stepPosition": 1,
"tone": "nudge",
"at": "2026-12-23T09:00:00.000Z",
"autoSend": false
},
"chasePaused": false
}
} Read a deal's negotiation cards
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/kpis deals.kpis.get - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Changes nothing.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
The cards Beplan prepared while the deal is negotiated (past rates, this brand's payment history, expected results, terms worth pricing, risks), each with its evidence and confidence; refreshing while new ones are computed in the background. Reading starts nothing. Amounts in cards are ranges in minor units. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) |
Responses
200 OK
object · DealKpisResponse
dataobjectrequired2fields
cardsarray of objectrequired11fields in each item
idstring (uuid)requiredkindstringrequiredOne of (may gain values):own_history,brand_history,expected_results,price_terms,similar_creators,risktitlestringrequiredvaluestringrequireddetailstringrequiredevidencestringrequiredevidenceCountnumberrequiredtonestringrequiredOne of:neutral,cautionconfidencestringrequiredOne of:high,medium,lowdataSourcestringrequiredOne of:own,similar_creators,audiencecomputedAtstring (date-time)required
refreshingbooleanrequired
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
13 more that every operation can answer (tokens, scopes, limits)
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Cards
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/kpis" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/kpis", {
method: "GET",
headers: {
Authorization: "Bearer beplan_pat_…",
},
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.get(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/kpis",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"cards": [
{
"id": "e2a4c6e8-0b2d-4f4a-8c6e-8a0c2e4b6d24",
"kind": "own_history",
"title": "Your past integrations",
"value": "1,800–2,400 EUR",
"detail": "Your last 4 YouTube integrations of 60–90 seconds were paid in this range.",
"evidence": "4 paid deals since March 2026",
"evidenceCount": 4,
"tone": "neutral",
"confidence": "high",
"dataSource": "own",
"computedAt": "2026-11-19T15:05:00.000Z"
},
{
"id": "f3b5d7f9-1c3e-4a5b-9d7f-9b1d3f5a7c35",
"kind": "brand_history",
"title": "Acme pays late",
"value": "6 days late on average",
"detail": "1 of 2 invoices to Acme was paid on time. Ask for a deposit or a shorter term.",
"evidence": "2 invoices, INV-6 and INV-9",
"evidenceCount": 2,
"tone": "caution",
"confidence": "medium",
"dataSource": "own",
"computedAt": "2026-11-19T15:05:00.000Z"
}
],
"refreshing": false
}
} Read a deal's money
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/money deals.money.get - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Changes nothing.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Returns the deal's fees, splits, effective commission, invoices with their payments and chase steps, and totals (agreed, invoiced, paid, outstanding). Amounts are integers in minor units (cents) of the deal's currency (ISO 4217). Beplan records the money, it never moves any. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) |
Responses
200 OK
object · DealMoneyResponse
dataobject · DealMoneyDetailrequired7fields
currencystringrequiredfeesarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of (may gain values):offer,fixed,per_deliverable,bonus,kill_fee,late_fee,extra_revision,expense,in_kindlabelstringrequiredamountMinornumberrequiredtaxPercentnumberrequirednullabledeliverableIdstring (uuid)requirednullableconditionstringrequirednullablestatusstringrequiredOne of:proposed,agreed,due,cancelled
splitsarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of:manager,co_creator,otherlabelstringrequiredrecipientNamestringrequirednullablerecipientUserIdstringrequirednullablesharePercentnumberrequirednullableamountMinornumberrequirednullablecomputedAmountMinornumberrequired
invoicesarray of objectrequired21fields in each item
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of:full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of:date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of (may gain values):draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
totalsobjectrequired4fields
agreedMinornumberrequiredinvoicedMinornumberrequiredpaidMinornumberrequiredoutstandingMinornumberrequired
commissionobjectrequired6fields
percentnumberrequiredsourcestringrequiredOne of:locked,deal,roster,organization,noneoverridePercentnumberrequirednullablebookedMinornumberrequiredearnedMinornumberrequiredagencyNamestringrequired
chaseSequencestringrequiredOne of:workspace,deal
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
13 more that every operation can answer (tokens, scopes, limits)
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Money
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/money" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/money", {
method: "GET",
headers: {
Authorization: "Bearer beplan_pat_…",
},
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.get(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/money",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"currency": "EUR",
"fees": [
{
"id": "b5d7f9b1-3c5e-4a7c-8f9b-1d3f5a7c9e13",
"kind": "fixed",
"label": "Integration fee",
"amountMinor": 200000,
"taxPercent": null,
"deliverableId": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"condition": null,
"status": "agreed"
}
],
"splits": [
{
"id": "c8e0a2c4-6d8f-4b0d-9a2c-4e6a8c0e2a24",
"kind": "manager",
"label": "Manager",
"recipientName": "Alex Martin",
"recipientUserId": "user_2x8Kq",
"sharePercent": 10,
"amountMinor": null,
"computedAmountMinor": 20000
}
],
"invoices": [
{
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "sent",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [],
"nextChase": {
"stepPosition": 1,
"tone": "nudge",
"at": "2026-12-23T09:00:00.000Z",
"autoSend": false
},
"chasePaused": false
}
],
"totals": {
"agreedMinor": 200000,
"invoicedMinor": 200000,
"paidMinor": 0,
"outstandingMinor": 200000
},
"commission": {
"percent": 20,
"source": "roster",
"overridePercent": null,
"bookedMinor": 40000,
"earnedMinor": 0,
"agencyName": "Studio Halden"
},
"chaseSequence": "workspace"
}
} Add a split
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/splits deals.splits.create - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Changes data in Beplan.
- Idempotency
- Send an
Idempotency-Keyto retry safely: the same key with the same body within 24 hours returns the stored response. - Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Adds who else receives part of the deal's money (a manager, a co-creator): a share (sharePercent) or a fixed amount (amountMinor), exactly one. Answers 201 with the deal's money. Amounts are integers in minor units (cents) of the deal's currency (ISO 4217). Beplan records the money, it never moves any. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) |
Request body JSON, required
object · CreateDealSplitBody
kindstringrequiredOne of:manager,co_creator,otherlabelstringrequired1–160 charactersrecipientNamestringoptionalnullableat most 160 charactersrecipientUserIdstringoptionalnullable1–128 characterssharePercentnumberoptionalnullablefrom 0 to 100amountMinorintegeroptionalnullablefrom 0 to 10000000000000
Responses
201 Created
object · DealMoneyResponse
dataobject · DealMoneyDetailrequired7fields
currencystringrequiredfeesarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of (may gain values):offer,fixed,per_deliverable,bonus,kill_fee,late_fee,extra_revision,expense,in_kindlabelstringrequiredamountMinornumberrequiredtaxPercentnumberrequirednullabledeliverableIdstring (uuid)requirednullableconditionstringrequirednullablestatusstringrequiredOne of:proposed,agreed,due,cancelled
splitsarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of:manager,co_creator,otherlabelstringrequiredrecipientNamestringrequirednullablerecipientUserIdstringrequirednullablesharePercentnumberrequirednullableamountMinornumberrequirednullablecomputedAmountMinornumberrequired
invoicesarray of objectrequired21fields in each item
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of:full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of:date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of (may gain values):draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
totalsobjectrequired4fields
agreedMinornumberrequiredinvoicedMinornumberrequiredpaidMinornumberrequiredoutstandingMinornumberrequired
commissionobjectrequired6fields
percentnumberrequiredsourcestringrequiredOne of:locked,deal,roster,organization,noneoverridePercentnumberrequirednullablebookedMinornumberrequiredearnedMinornumberrequiredagencyNamestringrequired
chaseSequencestringrequiredOne of:workspace,deal
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
| 404 | MEMBER_NOT_FOUND | This person isn't a member of the organization anymore. |
16 more that every operation can answer (tokens, scopes, limits)
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 409 | CONFLICT | This changed in the meantime. Refresh and try again. |
| 409 | IDEMPOTENCY_KEY_REUSED | This Idempotency-Key was already used for a different request. Send a new key. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
A manager's 10 %
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/splits" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"kind": "manager",
"label": "Manager",
"sharePercent": 10
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/splits", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"kind": "manager",
"label": "Manager",
"sharePercent": 10
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import uuid
import requests
response = requests.post(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/splits",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"kind": "manager",
"label": "Manager",
"sharePercent": 10,
},
)
response.raise_for_status()
data = response.json()["data"] Response 201
{
"data": {
"currency": "EUR",
"fees": [
{
"id": "b5d7f9b1-3c5e-4a7c-8f9b-1d3f5a7c9e13",
"kind": "fixed",
"label": "Integration fee",
"amountMinor": 200000,
"taxPercent": null,
"deliverableId": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"condition": null,
"status": "agreed"
}
],
"splits": [
{
"id": "c8e0a2c4-6d8f-4b0d-9a2c-4e6a8c0e2a24",
"kind": "manager",
"label": "Manager",
"recipientName": "Alex Martin",
"recipientUserId": "user_2x8Kq",
"sharePercent": 10,
"amountMinor": null,
"computedAmountMinor": 20000
}
],
"invoices": [
{
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "sent",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [],
"nextChase": {
"stepPosition": 1,
"tone": "nudge",
"at": "2026-12-23T09:00:00.000Z",
"autoSend": false
},
"chasePaused": false
}
],
"totals": {
"agreedMinor": 200000,
"invoicedMinor": 200000,
"paidMinor": 0,
"outstandingMinor": 200000
},
"commission": {
"percent": 20,
"source": "roster",
"overridePercent": null,
"bookedMinor": 40000,
"earnedMinor": 0,
"agencyName": "Studio Halden"
},
"chaseSequence": "workspace"
}
} Change a split
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/splits/{itemId} deals.splits.update - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Changes data in Beplan.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Changes a split's label, recipient name, share or amount. Answers the deal's money. Amounts are integers in minor units (cents) of the deal's currency (ISO 4217). Beplan records the money, it never moves any. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Request body JSON, required
object · UpdateDealSplitBody
labelstringoptional1–160 charactersrecipientNamestringoptionalnullableat most 160 characterssharePercentnumberoptionalnullablefrom 0 to 100amountMinorintegeroptionalnullablefrom 0 to 10000000000000
Responses
200 OK
object · DealMoneyResponse
dataobject · DealMoneyDetailrequired7fields
currencystringrequiredfeesarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of (may gain values):offer,fixed,per_deliverable,bonus,kill_fee,late_fee,extra_revision,expense,in_kindlabelstringrequiredamountMinornumberrequiredtaxPercentnumberrequirednullabledeliverableIdstring (uuid)requirednullableconditionstringrequirednullablestatusstringrequiredOne of:proposed,agreed,due,cancelled
splitsarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of:manager,co_creator,otherlabelstringrequiredrecipientNamestringrequirednullablerecipientUserIdstringrequirednullablesharePercentnumberrequirednullableamountMinornumberrequirednullablecomputedAmountMinornumberrequired
invoicesarray of objectrequired21fields in each item
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of:full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of:date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of (may gain values):draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
totalsobjectrequired4fields
agreedMinornumberrequiredinvoicedMinornumberrequiredpaidMinornumberrequiredoutstandingMinornumberrequired
commissionobjectrequired6fields
percentnumberrequiredsourcestringrequiredOne of:locked,deal,roster,organization,noneoverridePercentnumberrequirednullablebookedMinornumberrequiredearnedMinornumberrequiredagencyNamestringrequired
chaseSequencestringrequiredOne of:workspace,deal
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
14 more that every operation can answer (tokens, scopes, limits)
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
12 %
curl -X PATCH "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/splits/c8e0a2c4-6d8f-4b0d-9a2c-4e6a8c0e2a24" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Content-Type: application/json" \
-d '{
"sharePercent": 12
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/splits/c8e0a2c4-6d8f-4b0d-9a2c-4e6a8c0e2a24", {
method: "PATCH",
headers: {
Authorization: "Bearer beplan_pat_…",
"Content-Type": "application/json",
},
body: JSON.stringify({
"sharePercent": 12
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.patch(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/splits/c8e0a2c4-6d8f-4b0d-9a2c-4e6a8c0e2a24",
headers={"Authorization": "Bearer beplan_pat_…"},
json={
"sharePercent": 12,
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"currency": "EUR",
"fees": [
{
"id": "b5d7f9b1-3c5e-4a7c-8f9b-1d3f5a7c9e13",
"kind": "fixed",
"label": "Integration fee",
"amountMinor": 200000,
"taxPercent": null,
"deliverableId": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"condition": null,
"status": "agreed"
}
],
"splits": [
{
"id": "c8e0a2c4-6d8f-4b0d-9a2c-4e6a8c0e2a24",
"kind": "manager",
"label": "Manager",
"recipientName": "Alex Martin",
"recipientUserId": "user_2x8Kq",
"sharePercent": 12,
"amountMinor": null,
"computedAmountMinor": 24000
}
],
"invoices": [
{
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "sent",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [],
"nextChase": {
"stepPosition": 1,
"tone": "nudge",
"at": "2026-12-23T09:00:00.000Z",
"autoSend": false
},
"chasePaused": false
}
],
"totals": {
"agreedMinor": 200000,
"invoicedMinor": 200000,
"paidMinor": 0,
"outstandingMinor": 200000
},
"commission": {
"percent": 20,
"source": "roster",
"overridePercent": null,
"bookedMinor": 40000,
"earnedMinor": 0,
"agencyName": "Studio Halden"
},
"chaseSequence": "workspace"
}
} Remove a split
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/splits/{itemId} deals.splits.delete - Scope
- deals:finances
- Role permission
- See and edit money (
deals:finances) - Effect
- Deletes data or cannot be undone.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Removes a split. Answers the deal's money. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Responses
200 OK
object · DealMoneyResponse
dataobject · DealMoneyDetailrequired7fields
currencystringrequiredfeesarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of (may gain values):offer,fixed,per_deliverable,bonus,kill_fee,late_fee,extra_revision,expense,in_kindlabelstringrequiredamountMinornumberrequiredtaxPercentnumberrequirednullabledeliverableIdstring (uuid)requirednullableconditionstringrequirednullablestatusstringrequiredOne of:proposed,agreed,due,cancelled
splitsarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of:manager,co_creator,otherlabelstringrequiredrecipientNamestringrequirednullablerecipientUserIdstringrequirednullablesharePercentnumberrequirednullableamountMinornumberrequirednullablecomputedAmountMinornumberrequired
invoicesarray of objectrequired21fields in each item
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of:full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of:date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of (may gain values):draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
totalsobjectrequired4fields
agreedMinornumberrequiredinvoicedMinornumberrequiredpaidMinornumberrequiredoutstandingMinornumberrequired
commissionobjectrequired6fields
percentnumberrequiredsourcestringrequiredOne of:locked,deal,roster,organization,noneoverridePercentnumberrequirednullablebookedMinornumberrequiredearnedMinornumberrequiredagencyNamestringrequired
chaseSequencestringrequiredOne of:workspace,deal
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
13 more that every operation can answer (tokens, scopes, limits)
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Remove
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/splits/c8e0a2c4-6d8f-4b0d-9a2c-4e6a8c0e2a24" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/splits/c8e0a2c4-6d8f-4b0d-9a2c-4e6a8c0e2a24", {
method: "DELETE",
headers: {
Authorization: "Bearer beplan_pat_…",
},
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.delete(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/splits/c8e0a2c4-6d8f-4b0d-9a2c-4e6a8c0e2a24",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"currency": "EUR",
"fees": [
{
"id": "b5d7f9b1-3c5e-4a7c-8f9b-1d3f5a7c9e13",
"kind": "fixed",
"label": "Integration fee",
"amountMinor": 200000,
"taxPercent": null,
"deliverableId": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"condition": null,
"status": "agreed"
}
],
"splits": [],
"invoices": [
{
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "sent",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [],
"nextChase": {
"stepPosition": 1,
"tone": "nudge",
"at": "2026-12-23T09:00:00.000Z",
"autoSend": false
},
"chasePaused": false
}
],
"totals": {
"agreedMinor": 200000,
"invoicedMinor": 200000,
"paidMinor": 0,
"outstandingMinor": 200000
},
"commission": {
"percent": 20,
"source": "roster",
"overridePercent": null,
"bookedMinor": 40000,
"earnedMinor": 0,
"agencyName": "Studio Halden"
},
"chaseSequence": "workspace"
}
}