Start free
Docs · Deals

API reference

Deals: Money and invoices

Read as Markdown

On this page
  1. Read money across talents
  2. Read the workspace's money view
  3. Set a deal's payment chase
  4. Set a deal's agency commission
  5. Add a fee
  6. Change a fee
  7. Remove a fee
  8. Record an invoice
  9. Change an invoice
  10. Remove an invoice
  11. Pause or resume an invoice's chase
  12. Send a payment reminder now
  13. Record a payment
  14. Remove a payment
  15. Read a deal's negotiation cards
  16. Read a deal's money
  17. Add a split
  18. Change a split
  19. 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

Read money across talents

GET /organizations/{organizationId}/deals/money
Beta Reads only 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 · DealMoneyOverviewrequired
    6fields
    • overduearray of objectrequired
      7fields in each item
      • invoiceobject · DealInvoicerequired
        21fields
        • idstring (uuid)required
        • numberstringrequired
        • kindstringrequired
          One of: full, deposit, balance
        • issuedOnstring (date)requirednullable
        • dueKindstringrequired
          One of: date, on_signature, on_delivery
        • dueOnstring (date)requirednullable
        • amountMinornumberrequired
        • taxMinornumberrequired
        • currencystringrequired
        • paidMinornumberrequired
        • statusstringrequired
          One of: draft, sent, partly_paid, paid, late, void
        • daysLatenumberrequirednullable
        • pdfFileIdstring (uuid)requirednullable
        • billToobject · DealContactRefrequirednullable
          6fields
          • idstring (uuid)required
          • namestringrequirednullable
          • emailstringrequirednullable
          • rolestringrequirednullable
          • companyIdstring (uuid)requirednullable
          • erasedbooleanrequired
        • connectedTostringrequirednullable
          One of: pennylane, qonto, storecove, xero, quickbooks
        • externalUrlstringrequirednullable
        • syncedAtstring (date-time)requirednullable
        • paymentsarray of objectrequired
          5fields in each item
          • idstring (uuid)required
          • amountMinornumberrequired
          • receivedOnstring (date)required
          • sourcestringrequired
            One of: manual, sync
          • notestringrequirednullable
        • chasearray of objectrequired
          8fields in each item
          • stepPositionnumberrequired
          • tonestringrequired
            One of: nudge, firm, final
          • offsetDaysnumberrequired
          • statestringrequired
            One of: drafted, sent, skipped
          • messageIdstring (uuid)requirednullable
          • skipReasonstringrequirednullable
          • draftedAtstring (date-time)requirednullable
          • sentAtstring (date-time)requirednullable
        • nextChaseobjectrequirednullable
          4fields
          • stepPositionnumberrequired
          • tonestringrequired
            One of: nudge, firm, final
          • atstring (date-time)required
          • autoSendbooleanrequired
        • chasePausedbooleanrequired
      • dealIdstring (uuid)required
      • dealTitlestringrequired
      • companyobject · DealCompanyRefrequirednullable
        6fields
        • idstring (uuid)required
        • namestringrequired
        • kindstringrequired
          One of: brand, agency
        • domainstringrequirednullable
        • logoUrlstringrequirednullable
        • categorystringrequirednullable
      • workspaceIdstring (uuid)required
      • workspaceNamestringrequired
      • ownerobject · MediaPersonrequirednullable
        3fields
        • idstringrequired
        • namestringrequired
          The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
        • imagestringrequirednullable
          Their picture's URL; null without one, and for an integration that does not hold members:read (outside the Inbox).
    • openarray of objectrequired
      7fields in each item
      • invoiceobject · DealInvoicerequired
        21fields
        • idstring (uuid)required
        • numberstringrequired
        • kindstringrequired
          One of: full, deposit, balance
        • issuedOnstring (date)requirednullable
        • dueKindstringrequired
          One of: date, on_signature, on_delivery
        • dueOnstring (date)requirednullable
        • amountMinornumberrequired
        • taxMinornumberrequired
        • currencystringrequired
        • paidMinornumberrequired
        • statusstringrequired
          One of: draft, sent, partly_paid, paid, late, void
        • daysLatenumberrequirednullable
        • pdfFileIdstring (uuid)requirednullable
        • billToobject · DealContactRefrequirednullable
          6fields
          • idstring (uuid)required
          • namestringrequirednullable
          • emailstringrequirednullable
          • rolestringrequirednullable
          • companyIdstring (uuid)requirednullable
          • erasedbooleanrequired
        • connectedTostringrequirednullable
          One of: pennylane, qonto, storecove, xero, quickbooks
        • externalUrlstringrequirednullable
        • syncedAtstring (date-time)requirednullable
        • paymentsarray of objectrequired
          5fields in each item
          • idstring (uuid)required
          • amountMinornumberrequired
          • receivedOnstring (date)required
          • sourcestringrequired
            One of: manual, sync
          • notestringrequirednullable
        • chasearray of objectrequired
          8fields in each item
          • stepPositionnumberrequired
          • tonestringrequired
            One of: nudge, firm, final
          • offsetDaysnumberrequired
          • statestringrequired
            One of: drafted, sent, skipped
          • messageIdstring (uuid)requirednullable
          • skipReasonstringrequirednullable
          • draftedAtstring (date-time)requirednullable
          • sentAtstring (date-time)requirednullable
        • nextChaseobjectrequirednullable
          4fields
          • stepPositionnumberrequired
          • tonestringrequired
            One of: nudge, firm, final
          • atstring (date-time)required
          • autoSendbooleanrequired
        • chasePausedbooleanrequired
      • dealIdstring (uuid)required
      • dealTitlestringrequired
      • companyobject · DealCompanyRefrequirednullable
        6fields
        • idstring (uuid)required
        • namestringrequired
        • kindstringrequired
          One of: brand, agency
        • domainstringrequirednullable
        • logoUrlstringrequirednullable
        • categorystringrequirednullable
      • workspaceIdstring (uuid)required
      • workspaceNamestringrequired
      • ownerobject · MediaPersonrequirednullable
        3fields
        • idstringrequired
        • namestringrequired
          The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
        • imagestringrequirednullable
          Their picture's URL; null without one, and for an integration that does not hold members:read (outside the Inbox).
    • paidThisQuarterarray of objectrequired
      2fields in each item
      • currencystringrequired
      • amountMinornumberrequired
    • overdueTotalsarray of objectrequired
      4fields in each item
      • currencystringrequired
      • amountMinornumberrequired
      • countnumberrequired
      • workspacesnumberrequired
    • dueIn30DaysTotalsarray of objectrequired
      3fields in each item
      • currencystringrequired
      • amountMinornumberrequired
      • countnumberrequired
    • 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
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/deals/money" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
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();
Python
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

GET /organizations/{organizationId}/workspaces/{workspaceId}/deals/money
Beta Reads only 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 · DealMoneyOverviewrequired
    6fields
    • overduearray of objectrequired
      7fields in each item
      • invoiceobject · DealInvoicerequired
        21fields
        • idstring (uuid)required
        • numberstringrequired
        • kindstringrequired
          One of: full, deposit, balance
        • issuedOnstring (date)requirednullable
        • dueKindstringrequired
          One of: date, on_signature, on_delivery
        • dueOnstring (date)requirednullable
        • amountMinornumberrequired
        • taxMinornumberrequired
        • currencystringrequired
        • paidMinornumberrequired
        • statusstringrequired
          One of: draft, sent, partly_paid, paid, late, void
        • daysLatenumberrequirednullable
        • pdfFileIdstring (uuid)requirednullable
        • billToobject · DealContactRefrequirednullable
          6fields
          • idstring (uuid)required
          • namestringrequirednullable
          • emailstringrequirednullable
          • rolestringrequirednullable
          • companyIdstring (uuid)requirednullable
          • erasedbooleanrequired
        • connectedTostringrequirednullable
          One of: pennylane, qonto, storecove, xero, quickbooks
        • externalUrlstringrequirednullable
        • syncedAtstring (date-time)requirednullable
        • paymentsarray of objectrequired
          5fields in each item
          • idstring (uuid)required
          • amountMinornumberrequired
          • receivedOnstring (date)required
          • sourcestringrequired
            One of: manual, sync
          • notestringrequirednullable
        • chasearray of objectrequired
          8fields in each item
          • stepPositionnumberrequired
          • tonestringrequired
            One of: nudge, firm, final
          • offsetDaysnumberrequired
          • statestringrequired
            One of: drafted, sent, skipped
          • messageIdstring (uuid)requirednullable
          • skipReasonstringrequirednullable
          • draftedAtstring (date-time)requirednullable
          • sentAtstring (date-time)requirednullable
        • nextChaseobjectrequirednullable
          4fields
          • stepPositionnumberrequired
          • tonestringrequired
            One of: nudge, firm, final
          • atstring (date-time)required
          • autoSendbooleanrequired
        • chasePausedbooleanrequired
      • dealIdstring (uuid)required
      • dealTitlestringrequired
      • companyobject · DealCompanyRefrequirednullable
        6fields
        • idstring (uuid)required
        • namestringrequired
        • kindstringrequired
          One of: brand, agency
        • domainstringrequirednullable
        • logoUrlstringrequirednullable
        • categorystringrequirednullable
      • workspaceIdstring (uuid)required
      • workspaceNamestringrequired
      • ownerobject · MediaPersonrequirednullable
        3fields
        • idstringrequired
        • namestringrequired
          The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
        • imagestringrequirednullable
          Their picture's URL; null without one, and for an integration that does not hold members:read (outside the Inbox).
    • openarray of objectrequired
      7fields in each item
      • invoiceobject · DealInvoicerequired
        21fields
        • idstring (uuid)required
        • numberstringrequired
        • kindstringrequired
          One of: full, deposit, balance
        • issuedOnstring (date)requirednullable
        • dueKindstringrequired
          One of: date, on_signature, on_delivery
        • dueOnstring (date)requirednullable
        • amountMinornumberrequired
        • taxMinornumberrequired
        • currencystringrequired
        • paidMinornumberrequired
        • statusstringrequired
          One of: draft, sent, partly_paid, paid, late, void
        • daysLatenumberrequirednullable
        • pdfFileIdstring (uuid)requirednullable
        • billToobject · DealContactRefrequirednullable
          6fields
          • idstring (uuid)required
          • namestringrequirednullable
          • emailstringrequirednullable
          • rolestringrequirednullable
          • companyIdstring (uuid)requirednullable
          • erasedbooleanrequired
        • connectedTostringrequirednullable
          One of: pennylane, qonto, storecove, xero, quickbooks
        • externalUrlstringrequirednullable
        • syncedAtstring (date-time)requirednullable
        • paymentsarray of objectrequired
          5fields in each item
          • idstring (uuid)required
          • amountMinornumberrequired
          • receivedOnstring (date)required
          • sourcestringrequired
            One of: manual, sync
          • notestringrequirednullable
        • chasearray of objectrequired
          8fields in each item
          • stepPositionnumberrequired
          • tonestringrequired
            One of: nudge, firm, final
          • offsetDaysnumberrequired
          • statestringrequired
            One of: drafted, sent, skipped
          • messageIdstring (uuid)requirednullable
          • skipReasonstringrequirednullable
          • draftedAtstring (date-time)requirednullable
          • sentAtstring (date-time)requirednullable
        • nextChaseobjectrequirednullable
          4fields
          • stepPositionnumberrequired
          • tonestringrequired
            One of: nudge, firm, final
          • atstring (date-time)required
          • autoSendbooleanrequired
        • chasePausedbooleanrequired
      • dealIdstring (uuid)required
      • dealTitlestringrequired
      • companyobject · DealCompanyRefrequirednullable
        6fields
        • idstring (uuid)required
        • namestringrequired
        • kindstringrequired
          One of: brand, agency
        • domainstringrequirednullable
        • logoUrlstringrequirednullable
        • categorystringrequirednullable
      • workspaceIdstring (uuid)required
      • workspaceNamestringrequired
      • ownerobject · MediaPersonrequirednullable
        3fields
        • idstringrequired
        • namestringrequired
          The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
        • imagestringrequirednullable
          Their picture's URL; null without one, and for an integration that does not hold members:read (outside the Inbox).
    • paidThisQuarterarray of objectrequired
      2fields in each item
      • currencystringrequired
      • amountMinornumberrequired
    • overdueTotalsarray of objectrequired
      4fields in each item
      • currencystringrequired
      • amountMinornumberrequired
      • countnumberrequired
      • workspacesnumberrequired
    • dueIn30DaysTotalsarray of objectrequired
      3fields in each item
      • currencystringrequired
      • amountMinornumberrequired
      • countnumberrequired
    • 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
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/money" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
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();
Python
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

PUT /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/chase
Beta Changes data 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 objectrequirednullable
    at most 6 items
    5fields in each item
    • offsetDaysintegerrequired
      from 0 to 120
    • tonestringrequired
      One of: nudge, firm, final
    • ccRolesarray of stringrequired
      One of: accounts_payable, brand_agency, manager
      at most 3 items
    • autoSendbooleanrequired
    • mentionsLateFeebooleanrequired

Responses

200 OK

object · DealChaseResponse

  • dataobjectrequired
    3fields
    • stepsarray of objectrequired
      7fields in each item
      • idstring (uuid)required
      • positionnumberrequired
      • offsetDaysnumberrequired
      • tonestringrequired
        One of: nudge, firm, final
      • ccRolesarray of stringrequired
        One of: accounts_payable, brand_agency, manager
      • autoSendbooleanrequired
      • mentionsLateFeebooleanrequired
    • lateFeeOnlyWithClausebooleanrequired
    • pauseOnReplybooleanrequired

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
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
    }
  ]
}'
TypeScript
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();
Python
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

PUT /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/commission
Beta Changes data 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

  • percentnumberrequirednullable
    from 0 to 100
  • unlockbooleanoptional

Responses

200 OK

object · DealMoneyResponse

  • dataobject · DealMoneyDetailrequired
    7fields
    • currencystringrequired
    • feesarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of (may gain values): offer, fixed, per_deliverable, bonus, kill_fee, late_fee, extra_revision, expense, in_kind
      • labelstringrequired
      • amountMinornumberrequired
      • taxPercentnumberrequirednullable
      • deliverableIdstring (uuid)requirednullable
      • conditionstringrequirednullable
      • statusstringrequired
        One of: proposed, agreed, due, cancelled
    • splitsarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of: manager, co_creator, other
      • labelstringrequired
      • recipientNamestringrequirednullable
      • recipientUserIdstringrequirednullable
      • sharePercentnumberrequirednullable
      • amountMinornumberrequirednullable
      • computedAmountMinornumberrequired
    • invoicesarray of objectrequired
      21fields in each item
      • idstring (uuid)required
      • numberstringrequired
      • kindstringrequired
        One of: full, deposit, balance
      • issuedOnstring (date)requirednullable
      • dueKindstringrequired
        One of: date, on_signature, on_delivery
      • dueOnstring (date)requirednullable
      • amountMinornumberrequired
      • taxMinornumberrequired
      • currencystringrequired
      • paidMinornumberrequired
      • statusstringrequired
        One of (may gain values): draft, sent, partly_paid, paid, late, void
      • daysLatenumberrequirednullable
      • pdfFileIdstring (uuid)requirednullable
      • billToobject · DealContactRefrequirednullable
        6fields
        • idstring (uuid)required
        • namestringrequirednullable
        • emailstringrequirednullable
        • rolestringrequirednullable
        • companyIdstring (uuid)requirednullable
        • erasedbooleanrequired
      • connectedTostringrequirednullable
        One of: pennylane, qonto, storecove, xero, quickbooks
      • externalUrlstringrequirednullable
      • syncedAtstring (date-time)requirednullable
      • paymentsarray of objectrequired
        5fields in each item
        • idstring (uuid)required
        • amountMinornumberrequired
        • receivedOnstring (date)required
        • sourcestringrequired
          One of: manual, sync
        • notestringrequirednullable
      • chasearray of objectrequired
        8fields in each item
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • offsetDaysnumberrequired
        • statestringrequired
          One of: drafted, sent, skipped
        • messageIdstring (uuid)requirednullable
        • skipReasonstringrequirednullable
        • draftedAtstring (date-time)requirednullable
        • sentAtstring (date-time)requirednullable
      • nextChaseobjectrequirednullable
        4fields
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • atstring (date-time)required
        • autoSendbooleanrequired
      • chasePausedbooleanrequired
    • totalsobjectrequired
      4fields
      • agreedMinornumberrequired
      • invoicedMinornumberrequired
      • paidMinornumberrequired
      • outstandingMinornumberrequired
    • commissionobjectrequired
      6fields
      • percentnumberrequired
      • sourcestringrequired
        One of: locked, deal, roster, organization, none
      • overridePercentnumberrequirednullable
      • bookedMinornumberrequired
      • earnedMinornumberrequired
      • agencyNamestringrequired
    • chaseSequencestringrequired
      One 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
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
}'
TypeScript
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();
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/fees
Beta Changes data deals.fees.create
Scope
deals:finances
Role permission
See and edit money (deals:finances)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to 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

  • kindstringrequired
    One of: offer, fixed, per_deliverable, bonus, kill_fee, late_fee, extra_revision, expense, in_kind
  • labelstringrequired
    1–160 characters
  • amountMinorintegerrequired
    from 0 to 10000000000000
  • taxPercentnumberoptionalnullable
    from 0 to 100
  • deliverableIdstring (uuid)optionalnullable
  • conditionstringoptionalnullable
    at most 500 characters
  • statusstringoptional
    One of: proposed, agreed, due, cancelled

Responses

201 Created

object · DealMoneyResponse

  • dataobject · DealMoneyDetailrequired
    7fields
    • currencystringrequired
    • feesarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of (may gain values): offer, fixed, per_deliverable, bonus, kill_fee, late_fee, extra_revision, expense, in_kind
      • labelstringrequired
      • amountMinornumberrequired
      • taxPercentnumberrequirednullable
      • deliverableIdstring (uuid)requirednullable
      • conditionstringrequirednullable
      • statusstringrequired
        One of: proposed, agreed, due, cancelled
    • splitsarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of: manager, co_creator, other
      • labelstringrequired
      • recipientNamestringrequirednullable
      • recipientUserIdstringrequirednullable
      • sharePercentnumberrequirednullable
      • amountMinornumberrequirednullable
      • computedAmountMinornumberrequired
    • invoicesarray of objectrequired
      21fields in each item
      • idstring (uuid)required
      • numberstringrequired
      • kindstringrequired
        One of: full, deposit, balance
      • issuedOnstring (date)requirednullable
      • dueKindstringrequired
        One of: date, on_signature, on_delivery
      • dueOnstring (date)requirednullable
      • amountMinornumberrequired
      • taxMinornumberrequired
      • currencystringrequired
      • paidMinornumberrequired
      • statusstringrequired
        One of (may gain values): draft, sent, partly_paid, paid, late, void
      • daysLatenumberrequirednullable
      • pdfFileIdstring (uuid)requirednullable
      • billToobject · DealContactRefrequirednullable
        6fields
        • idstring (uuid)required
        • namestringrequirednullable
        • emailstringrequirednullable
        • rolestringrequirednullable
        • companyIdstring (uuid)requirednullable
        • erasedbooleanrequired
      • connectedTostringrequirednullable
        One of: pennylane, qonto, storecove, xero, quickbooks
      • externalUrlstringrequirednullable
      • syncedAtstring (date-time)requirednullable
      • paymentsarray of objectrequired
        5fields in each item
        • idstring (uuid)required
        • amountMinornumberrequired
        • receivedOnstring (date)required
        • sourcestringrequired
          One of: manual, sync
        • notestringrequirednullable
      • chasearray of objectrequired
        8fields in each item
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • offsetDaysnumberrequired
        • statestringrequired
          One of: drafted, sent, skipped
        • messageIdstring (uuid)requirednullable
        • skipReasonstringrequirednullable
        • draftedAtstring (date-time)requirednullable
        • sentAtstring (date-time)requirednullable
      • nextChaseobjectrequirednullable
        4fields
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • atstring (date-time)required
        • autoSendbooleanrequired
      • chasePausedbooleanrequired
    • totalsobjectrequired
      4fields
      • agreedMinornumberrequired
      • invoicedMinornumberrequired
      • paidMinornumberrequired
      • outstandingMinornumberrequired
    • commissionobjectrequired
      6fields
      • percentnumberrequired
      • sourcestringrequired
        One of: locked, deal, roster, organization, none
      • overridePercentnumberrequirednullable
      • bookedMinornumberrequired
      • earnedMinornumberrequired
      • agencyNamestringrequired
    • chaseSequencestringrequired
      One 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
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
}'
TypeScript
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();
Python
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

PATCH /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/fees/{itemId}
Beta Changes data 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

  • kindstringoptional
    One of: offer, fixed, per_deliverable, bonus, kill_fee, late_fee, extra_revision, expense, in_kind
  • labelstringoptional
    1–160 characters
  • amountMinorintegeroptional
    from 0 to 10000000000000
  • taxPercentnumberoptionalnullable
    from 0 to 100
  • deliverableIdstring (uuid)optionalnullable
  • conditionstringoptionalnullable
    at most 500 characters
  • statusstringoptional
    One of: proposed, agreed, due, cancelled

Responses

200 OK

object · DealMoneyResponse

  • dataobject · DealMoneyDetailrequired
    7fields
    • currencystringrequired
    • feesarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of (may gain values): offer, fixed, per_deliverable, bonus, kill_fee, late_fee, extra_revision, expense, in_kind
      • labelstringrequired
      • amountMinornumberrequired
      • taxPercentnumberrequirednullable
      • deliverableIdstring (uuid)requirednullable
      • conditionstringrequirednullable
      • statusstringrequired
        One of: proposed, agreed, due, cancelled
    • splitsarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of: manager, co_creator, other
      • labelstringrequired
      • recipientNamestringrequirednullable
      • recipientUserIdstringrequirednullable
      • sharePercentnumberrequirednullable
      • amountMinornumberrequirednullable
      • computedAmountMinornumberrequired
    • invoicesarray of objectrequired
      21fields in each item
      • idstring (uuid)required
      • numberstringrequired
      • kindstringrequired
        One of: full, deposit, balance
      • issuedOnstring (date)requirednullable
      • dueKindstringrequired
        One of: date, on_signature, on_delivery
      • dueOnstring (date)requirednullable
      • amountMinornumberrequired
      • taxMinornumberrequired
      • currencystringrequired
      • paidMinornumberrequired
      • statusstringrequired
        One of (may gain values): draft, sent, partly_paid, paid, late, void
      • daysLatenumberrequirednullable
      • pdfFileIdstring (uuid)requirednullable
      • billToobject · DealContactRefrequirednullable
        6fields
        • idstring (uuid)required
        • namestringrequirednullable
        • emailstringrequirednullable
        • rolestringrequirednullable
        • companyIdstring (uuid)requirednullable
        • erasedbooleanrequired
      • connectedTostringrequirednullable
        One of: pennylane, qonto, storecove, xero, quickbooks
      • externalUrlstringrequirednullable
      • syncedAtstring (date-time)requirednullable
      • paymentsarray of objectrequired
        5fields in each item
        • idstring (uuid)required
        • amountMinornumberrequired
        • receivedOnstring (date)required
        • sourcestringrequired
          One of: manual, sync
        • notestringrequirednullable
      • chasearray of objectrequired
        8fields in each item
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • offsetDaysnumberrequired
        • statestringrequired
          One of: drafted, sent, skipped
        • messageIdstring (uuid)requirednullable
        • skipReasonstringrequirednullable
        • draftedAtstring (date-time)requirednullable
        • sentAtstring (date-time)requirednullable
      • nextChaseobjectrequirednullable
        4fields
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • atstring (date-time)required
        • autoSendbooleanrequired
      • chasePausedbooleanrequired
    • totalsobjectrequired
      4fields
      • agreedMinornumberrequired
      • invoicedMinornumberrequired
      • paidMinornumberrequired
      • outstandingMinornumberrequired
    • commissionobjectrequired
      6fields
      • percentnumberrequired
      • sourcestringrequired
        One of: locked, deal, roster, organization, none
      • overridePercentnumberrequirednullable
      • bookedMinornumberrequired
      • earnedMinornumberrequired
      • agencyNamestringrequired
    • chaseSequencestringrequired
      One 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
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"
}'
TypeScript
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();
Python
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

DELETE /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/fees/{itemId}
Beta Deletes 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 · DealMoneyDetailrequired
    7fields
    • currencystringrequired
    • feesarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of (may gain values): offer, fixed, per_deliverable, bonus, kill_fee, late_fee, extra_revision, expense, in_kind
      • labelstringrequired
      • amountMinornumberrequired
      • taxPercentnumberrequirednullable
      • deliverableIdstring (uuid)requirednullable
      • conditionstringrequirednullable
      • statusstringrequired
        One of: proposed, agreed, due, cancelled
    • splitsarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of: manager, co_creator, other
      • labelstringrequired
      • recipientNamestringrequirednullable
      • recipientUserIdstringrequirednullable
      • sharePercentnumberrequirednullable
      • amountMinornumberrequirednullable
      • computedAmountMinornumberrequired
    • invoicesarray of objectrequired
      21fields in each item
      • idstring (uuid)required
      • numberstringrequired
      • kindstringrequired
        One of: full, deposit, balance
      • issuedOnstring (date)requirednullable
      • dueKindstringrequired
        One of: date, on_signature, on_delivery
      • dueOnstring (date)requirednullable
      • amountMinornumberrequired
      • taxMinornumberrequired
      • currencystringrequired
      • paidMinornumberrequired
      • statusstringrequired
        One of (may gain values): draft, sent, partly_paid, paid, late, void
      • daysLatenumberrequirednullable
      • pdfFileIdstring (uuid)requirednullable
      • billToobject · DealContactRefrequirednullable
        6fields
        • idstring (uuid)required
        • namestringrequirednullable
        • emailstringrequirednullable
        • rolestringrequirednullable
        • companyIdstring (uuid)requirednullable
        • erasedbooleanrequired
      • connectedTostringrequirednullable
        One of: pennylane, qonto, storecove, xero, quickbooks
      • externalUrlstringrequirednullable
      • syncedAtstring (date-time)requirednullable
      • paymentsarray of objectrequired
        5fields in each item
        • idstring (uuid)required
        • amountMinornumberrequired
        • receivedOnstring (date)required
        • sourcestringrequired
          One of: manual, sync
        • notestringrequirednullable
      • chasearray of objectrequired
        8fields in each item
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • offsetDaysnumberrequired
        • statestringrequired
          One of: drafted, sent, skipped
        • messageIdstring (uuid)requirednullable
        • skipReasonstringrequirednullable
        • draftedAtstring (date-time)requirednullable
        • sentAtstring (date-time)requirednullable
      • nextChaseobjectrequirednullable
        4fields
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • atstring (date-time)required
        • autoSendbooleanrequired
      • chasePausedbooleanrequired
    • totalsobjectrequired
      4fields
      • agreedMinornumberrequired
      • invoicedMinornumberrequired
      • paidMinornumberrequired
      • outstandingMinornumberrequired
    • commissionobjectrequired
      6fields
      • percentnumberrequired
      • sourcestringrequired
        One of: locked, deal, roster, organization, none
      • overridePercentnumberrequirednullable
      • bookedMinornumberrequired
      • earnedMinornumberrequired
      • agencyNamestringrequired
    • chaseSequencestringrequired
      One 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
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_…"
TypeScript
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();
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/invoices
Beta Changes data deals.invoices.create
Scope
deals:finances
Role permission
See and edit money (deals:finances)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to 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

  • numberstringrequired
    1–60 characters
  • kindstringoptional
    One of: full, deposit, balance
  • issuedOnstring (date)optionalnullable
  • dueKindstringoptional
    One of: date, on_signature, on_delivery
  • dueOnstring (date)optionalnullable
  • amountMinorintegerrequired
    from 0 to 10000000000000
  • taxMinorintegeroptional
    from 0 to 10000000000000
  • currencystringoptional
    matches ^[A-Z]{3}$
  • statusstringoptional
    One of: draft, sent, void
  • pdfFileIdstring (uuid)optionalnullable
  • billToContactIdstring (uuid)optionalnullable

Responses

201 Created

object · DealInvoiceResponse

  • dataobject · DealInvoicerequired
    21fields
    • idstring (uuid)required
    • numberstringrequired
    • kindstringrequired
      One of (may gain values): full, deposit, balance
    • issuedOnstring (date)requirednullable
    • dueKindstringrequired
      One of (may gain values): date, on_signature, on_delivery
    • dueOnstring (date)requirednullable
    • amountMinornumberrequired
    • taxMinornumberrequired
    • currencystringrequired
    • paidMinornumberrequired
    • statusstringrequired
      One of (may gain values): draft, sent, partly_paid, paid, late, void
    • daysLatenumberrequirednullable
    • pdfFileIdstring (uuid)requirednullable
    • billToobject · DealContactRefrequirednullable
      6fields
      • idstring (uuid)required
      • namestringrequirednullable
      • emailstringrequirednullable
      • rolestringrequirednullable
      • companyIdstring (uuid)requirednullable
      • erasedbooleanrequired
    • connectedTostringrequirednullable
      One of: pennylane, qonto, storecove, xero, quickbooks
    • externalUrlstringrequirednullable
    • syncedAtstring (date-time)requirednullable
    • paymentsarray of objectrequired
      5fields in each item
      • idstring (uuid)required
      • amountMinornumberrequired
      • receivedOnstring (date)required
      • sourcestringrequired
        One of: manual, sync
      • notestringrequirednullable
    • chasearray of objectrequired
      8fields in each item
      • stepPositionnumberrequired
      • tonestringrequired
        One of: nudge, firm, final
      • offsetDaysnumberrequired
      • statestringrequired
        One of: drafted, sent, skipped
      • messageIdstring (uuid)requirednullable
      • skipReasonstringrequirednullable
      • draftedAtstring (date-time)requirednullable
      • sentAtstring (date-time)requirednullable
    • nextChaseobjectrequirednullable
      4fields
      • stepPositionnumberrequired
      • tonestringrequired
        One of: nudge, firm, final
      • atstring (date-time)required
      • autoSendbooleanrequired
    • 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
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"
}'
TypeScript
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();
Python
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

PATCH /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/invoices/{itemId}
Beta Changes data 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

  • numberstringoptional
    1–60 characters
  • kindstringoptional
    One of: full, deposit, balance
  • issuedOnstring (date)optionalnullable
  • dueKindstringoptional
    One of: date, on_signature, on_delivery
  • dueOnstring (date)optionalnullable
  • amountMinorintegeroptional
    from 0 to 10000000000000
  • taxMinorintegeroptional
    from 0 to 10000000000000
  • currencystringoptional
    matches ^[A-Z]{3}$
  • statusstringoptional
    One of: draft, sent, void
  • pdfFileIdstring (uuid)optionalnullable
  • billToContactIdstring (uuid)optionalnullable

Responses

200 OK

object · DealInvoiceResponse

  • dataobject · DealInvoicerequired
    21fields
    • idstring (uuid)required
    • numberstringrequired
    • kindstringrequired
      One of (may gain values): full, deposit, balance
    • issuedOnstring (date)requirednullable
    • dueKindstringrequired
      One of (may gain values): date, on_signature, on_delivery
    • dueOnstring (date)requirednullable
    • amountMinornumberrequired
    • taxMinornumberrequired
    • currencystringrequired
    • paidMinornumberrequired
    • statusstringrequired
      One of (may gain values): draft, sent, partly_paid, paid, late, void
    • daysLatenumberrequirednullable
    • pdfFileIdstring (uuid)requirednullable
    • billToobject · DealContactRefrequirednullable
      6fields
      • idstring (uuid)required
      • namestringrequirednullable
      • emailstringrequirednullable
      • rolestringrequirednullable
      • companyIdstring (uuid)requirednullable
      • erasedbooleanrequired
    • connectedTostringrequirednullable
      One of: pennylane, qonto, storecove, xero, quickbooks
    • externalUrlstringrequirednullable
    • syncedAtstring (date-time)requirednullable
    • paymentsarray of objectrequired
      5fields in each item
      • idstring (uuid)required
      • amountMinornumberrequired
      • receivedOnstring (date)required
      • sourcestringrequired
        One of: manual, sync
      • notestringrequirednullable
    • chasearray of objectrequired
      8fields in each item
      • stepPositionnumberrequired
      • tonestringrequired
        One of: nudge, firm, final
      • offsetDaysnumberrequired
      • statestringrequired
        One of: drafted, sent, skipped
      • messageIdstring (uuid)requirednullable
      • skipReasonstringrequirednullable
      • draftedAtstring (date-time)requirednullable
      • sentAtstring (date-time)requirednullable
    • nextChaseobjectrequirednullable
      4fields
      • stepPositionnumberrequired
      • tonestringrequired
        One of: nudge, firm, final
      • atstring (date-time)required
      • autoSendbooleanrequired
    • 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
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"
}'
TypeScript
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();
Python
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

DELETE /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/invoices/{itemId}
Beta Deletes 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
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_…"
TypeScript
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);
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/invoices/{itemId}/chase/pause
Beta Changes data deals.invoices.chase.pause
Scope
deals:finances
Role permission
See and edit money (deals:finances)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to 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 · DealInvoicerequired
    21fields
    • idstring (uuid)required
    • numberstringrequired
    • kindstringrequired
      One of (may gain values): full, deposit, balance
    • issuedOnstring (date)requirednullable
    • dueKindstringrequired
      One of (may gain values): date, on_signature, on_delivery
    • dueOnstring (date)requirednullable
    • amountMinornumberrequired
    • taxMinornumberrequired
    • currencystringrequired
    • paidMinornumberrequired
    • statusstringrequired
      One of (may gain values): draft, sent, partly_paid, paid, late, void
    • daysLatenumberrequirednullable
    • pdfFileIdstring (uuid)requirednullable
    • billToobject · DealContactRefrequirednullable
      6fields
      • idstring (uuid)required
      • namestringrequirednullable
      • emailstringrequirednullable
      • rolestringrequirednullable
      • companyIdstring (uuid)requirednullable
      • erasedbooleanrequired
    • connectedTostringrequirednullable
      One of: pennylane, qonto, storecove, xero, quickbooks
    • externalUrlstringrequirednullable
    • syncedAtstring (date-time)requirednullable
    • paymentsarray of objectrequired
      5fields in each item
      • idstring (uuid)required
      • amountMinornumberrequired
      • receivedOnstring (date)required
      • sourcestringrequired
        One of: manual, sync
      • notestringrequirednullable
    • chasearray of objectrequired
      8fields in each item
      • stepPositionnumberrequired
      • tonestringrequired
        One of: nudge, firm, final
      • offsetDaysnumberrequired
      • statestringrequired
        One of: drafted, sent, skipped
      • messageIdstring (uuid)requirednullable
      • skipReasonstringrequirednullable
      • draftedAtstring (date-time)requirednullable
      • sentAtstring (date-time)requirednullable
    • nextChaseobjectrequirednullable
      4fields
      • stepPositionnumberrequired
      • tonestringrequired
        One of: nudge, firm, final
      • atstring (date-time)required
      • autoSendbooleanrequired
    • 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
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
}'
TypeScript
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();
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/invoices/{itemId}/chase/{position}/send
Beta Acts outside Beplan 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-Key to 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

  • textstringoptional
    1–10000 characters

Responses

200 OK

object · DealInvoiceResponse

  • dataobject · DealInvoicerequired
    21fields
    • idstring (uuid)required
    • numberstringrequired
    • kindstringrequired
      One of (may gain values): full, deposit, balance
    • issuedOnstring (date)requirednullable
    • dueKindstringrequired
      One of (may gain values): date, on_signature, on_delivery
    • dueOnstring (date)requirednullable
    • amountMinornumberrequired
    • taxMinornumberrequired
    • currencystringrequired
    • paidMinornumberrequired
    • statusstringrequired
      One of (may gain values): draft, sent, partly_paid, paid, late, void
    • daysLatenumberrequirednullable
    • pdfFileIdstring (uuid)requirednullable
    • billToobject · DealContactRefrequirednullable
      6fields
      • idstring (uuid)required
      • namestringrequirednullable
      • emailstringrequirednullable
      • rolestringrequirednullable
      • companyIdstring (uuid)requirednullable
      • erasedbooleanrequired
    • connectedTostringrequirednullable
      One of: pennylane, qonto, storecove, xero, quickbooks
    • externalUrlstringrequirednullable
    • syncedAtstring (date-time)requirednullable
    • paymentsarray of objectrequired
      5fields in each item
      • idstring (uuid)required
      • amountMinornumberrequired
      • receivedOnstring (date)required
      • sourcestringrequired
        One of: manual, sync
      • notestringrequirednullable
    • chasearray of objectrequired
      8fields in each item
      • stepPositionnumberrequired
      • tonestringrequired
        One of: nudge, firm, final
      • offsetDaysnumberrequired
      • statestringrequired
        One of: drafted, sent, skipped
      • messageIdstring (uuid)requirednullable
      • skipReasonstringrequirednullable
      • draftedAtstring (date-time)requirednullable
      • sentAtstring (date-time)requirednullable
    • nextChaseobjectrequirednullable
      4fields
      • stepPositionnumberrequired
      • tonestringrequired
        One of: nudge, firm, final
      • atstring (date-time)required
      • autoSendbooleanrequired
    • 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
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 '{}'
TypeScript
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();
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/invoices/{itemId}/payments
Beta Changes data deals.invoices.payments.create
Scope
deals:finances
Role permission
See and edit money (deals:finances)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to 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

  • amountMinorintegerrequired
    above 0 to 10000000000000
  • receivedOnstring (date)required
  • notestringoptionalnullable
    at most 280 characters

Responses

201 Created

object · DealInvoiceResponse

  • dataobject · DealInvoicerequired
    21fields
    • idstring (uuid)required
    • numberstringrequired
    • kindstringrequired
      One of (may gain values): full, deposit, balance
    • issuedOnstring (date)requirednullable
    • dueKindstringrequired
      One of (may gain values): date, on_signature, on_delivery
    • dueOnstring (date)requirednullable
    • amountMinornumberrequired
    • taxMinornumberrequired
    • currencystringrequired
    • paidMinornumberrequired
    • statusstringrequired
      One of (may gain values): draft, sent, partly_paid, paid, late, void
    • daysLatenumberrequirednullable
    • pdfFileIdstring (uuid)requirednullable
    • billToobject · DealContactRefrequirednullable
      6fields
      • idstring (uuid)required
      • namestringrequirednullable
      • emailstringrequirednullable
      • rolestringrequirednullable
      • companyIdstring (uuid)requirednullable
      • erasedbooleanrequired
    • connectedTostringrequirednullable
      One of: pennylane, qonto, storecove, xero, quickbooks
    • externalUrlstringrequirednullable
    • syncedAtstring (date-time)requirednullable
    • paymentsarray of objectrequired
      5fields in each item
      • idstring (uuid)required
      • amountMinornumberrequired
      • receivedOnstring (date)required
      • sourcestringrequired
        One of: manual, sync
      • notestringrequirednullable
    • chasearray of objectrequired
      8fields in each item
      • stepPositionnumberrequired
      • tonestringrequired
        One of: nudge, firm, final
      • offsetDaysnumberrequired
      • statestringrequired
        One of: drafted, sent, skipped
      • messageIdstring (uuid)requirednullable
      • skipReasonstringrequirednullable
      • draftedAtstring (date-time)requirednullable
      • sentAtstring (date-time)requirednullable
    • nextChaseobjectrequirednullable
      4fields
      • stepPositionnumberrequired
      • tonestringrequired
        One of: nudge, firm, final
      • atstring (date-time)required
      • autoSendbooleanrequired
    • 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
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"
}'
TypeScript
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();
Python
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

DELETE /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/invoices/{itemId}/payments/{paymentId}
Beta Deletes 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 · DealInvoicerequired
    21fields
    • idstring (uuid)required
    • numberstringrequired
    • kindstringrequired
      One of (may gain values): full, deposit, balance
    • issuedOnstring (date)requirednullable
    • dueKindstringrequired
      One of (may gain values): date, on_signature, on_delivery
    • dueOnstring (date)requirednullable
    • amountMinornumberrequired
    • taxMinornumberrequired
    • currencystringrequired
    • paidMinornumberrequired
    • statusstringrequired
      One of (may gain values): draft, sent, partly_paid, paid, late, void
    • daysLatenumberrequirednullable
    • pdfFileIdstring (uuid)requirednullable
    • billToobject · DealContactRefrequirednullable
      6fields
      • idstring (uuid)required
      • namestringrequirednullable
      • emailstringrequirednullable
      • rolestringrequirednullable
      • companyIdstring (uuid)requirednullable
      • erasedbooleanrequired
    • connectedTostringrequirednullable
      One of: pennylane, qonto, storecove, xero, quickbooks
    • externalUrlstringrequirednullable
    • syncedAtstring (date-time)requirednullable
    • paymentsarray of objectrequired
      5fields in each item
      • idstring (uuid)required
      • amountMinornumberrequired
      • receivedOnstring (date)required
      • sourcestringrequired
        One of: manual, sync
      • notestringrequirednullable
    • chasearray of objectrequired
      8fields in each item
      • stepPositionnumberrequired
      • tonestringrequired
        One of: nudge, firm, final
      • offsetDaysnumberrequired
      • statestringrequired
        One of: drafted, sent, skipped
      • messageIdstring (uuid)requirednullable
      • skipReasonstringrequirednullable
      • draftedAtstring (date-time)requirednullable
      • sentAtstring (date-time)requirednullable
    • nextChaseobjectrequirednullable
      4fields
      • stepPositionnumberrequired
      • tonestringrequired
        One of: nudge, firm, final
      • atstring (date-time)required
      • autoSendbooleanrequired
    • 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
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_…"
TypeScript
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();
Python
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

GET /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/kpis
Beta Reads only 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

  • dataobjectrequired
    2fields
    • cardsarray of objectrequired
      11fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of (may gain values): own_history, brand_history, expected_results, price_terms, similar_creators, risk
      • titlestringrequired
      • valuestringrequired
      • detailstringrequired
      • evidencestringrequired
      • evidenceCountnumberrequired
      • tonestringrequired
        One of: neutral, caution
      • confidencestringrequired
        One of: high, medium, low
      • dataSourcestringrequired
        One of: own, similar_creators, audience
      • computedAtstring (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
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_…"
TypeScript
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();
Python
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

GET /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/money
Beta Reads only 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 · DealMoneyDetailrequired
    7fields
    • currencystringrequired
    • feesarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of (may gain values): offer, fixed, per_deliverable, bonus, kill_fee, late_fee, extra_revision, expense, in_kind
      • labelstringrequired
      • amountMinornumberrequired
      • taxPercentnumberrequirednullable
      • deliverableIdstring (uuid)requirednullable
      • conditionstringrequirednullable
      • statusstringrequired
        One of: proposed, agreed, due, cancelled
    • splitsarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of: manager, co_creator, other
      • labelstringrequired
      • recipientNamestringrequirednullable
      • recipientUserIdstringrequirednullable
      • sharePercentnumberrequirednullable
      • amountMinornumberrequirednullable
      • computedAmountMinornumberrequired
    • invoicesarray of objectrequired
      21fields in each item
      • idstring (uuid)required
      • numberstringrequired
      • kindstringrequired
        One of: full, deposit, balance
      • issuedOnstring (date)requirednullable
      • dueKindstringrequired
        One of: date, on_signature, on_delivery
      • dueOnstring (date)requirednullable
      • amountMinornumberrequired
      • taxMinornumberrequired
      • currencystringrequired
      • paidMinornumberrequired
      • statusstringrequired
        One of (may gain values): draft, sent, partly_paid, paid, late, void
      • daysLatenumberrequirednullable
      • pdfFileIdstring (uuid)requirednullable
      • billToobject · DealContactRefrequirednullable
        6fields
        • idstring (uuid)required
        • namestringrequirednullable
        • emailstringrequirednullable
        • rolestringrequirednullable
        • companyIdstring (uuid)requirednullable
        • erasedbooleanrequired
      • connectedTostringrequirednullable
        One of: pennylane, qonto, storecove, xero, quickbooks
      • externalUrlstringrequirednullable
      • syncedAtstring (date-time)requirednullable
      • paymentsarray of objectrequired
        5fields in each item
        • idstring (uuid)required
        • amountMinornumberrequired
        • receivedOnstring (date)required
        • sourcestringrequired
          One of: manual, sync
        • notestringrequirednullable
      • chasearray of objectrequired
        8fields in each item
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • offsetDaysnumberrequired
        • statestringrequired
          One of: drafted, sent, skipped
        • messageIdstring (uuid)requirednullable
        • skipReasonstringrequirednullable
        • draftedAtstring (date-time)requirednullable
        • sentAtstring (date-time)requirednullable
      • nextChaseobjectrequirednullable
        4fields
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • atstring (date-time)required
        • autoSendbooleanrequired
      • chasePausedbooleanrequired
    • totalsobjectrequired
      4fields
      • agreedMinornumberrequired
      • invoicedMinornumberrequired
      • paidMinornumberrequired
      • outstandingMinornumberrequired
    • commissionobjectrequired
      6fields
      • percentnumberrequired
      • sourcestringrequired
        One of: locked, deal, roster, organization, none
      • overridePercentnumberrequirednullable
      • bookedMinornumberrequired
      • earnedMinornumberrequired
      • agencyNamestringrequired
    • chaseSequencestringrequired
      One 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
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_…"
TypeScript
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();
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/splits
Beta Changes data deals.splits.create
Scope
deals:finances
Role permission
See and edit money (deals:finances)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to 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

  • kindstringrequired
    One of: manager, co_creator, other
  • labelstringrequired
    1–160 characters
  • recipientNamestringoptionalnullable
    at most 160 characters
  • recipientUserIdstringoptionalnullable
    1–128 characters
  • sharePercentnumberoptionalnullable
    from 0 to 100
  • amountMinorintegeroptionalnullable
    from 0 to 10000000000000

Responses

201 Created

object · DealMoneyResponse

  • dataobject · DealMoneyDetailrequired
    7fields
    • currencystringrequired
    • feesarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of (may gain values): offer, fixed, per_deliverable, bonus, kill_fee, late_fee, extra_revision, expense, in_kind
      • labelstringrequired
      • amountMinornumberrequired
      • taxPercentnumberrequirednullable
      • deliverableIdstring (uuid)requirednullable
      • conditionstringrequirednullable
      • statusstringrequired
        One of: proposed, agreed, due, cancelled
    • splitsarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of: manager, co_creator, other
      • labelstringrequired
      • recipientNamestringrequirednullable
      • recipientUserIdstringrequirednullable
      • sharePercentnumberrequirednullable
      • amountMinornumberrequirednullable
      • computedAmountMinornumberrequired
    • invoicesarray of objectrequired
      21fields in each item
      • idstring (uuid)required
      • numberstringrequired
      • kindstringrequired
        One of: full, deposit, balance
      • issuedOnstring (date)requirednullable
      • dueKindstringrequired
        One of: date, on_signature, on_delivery
      • dueOnstring (date)requirednullable
      • amountMinornumberrequired
      • taxMinornumberrequired
      • currencystringrequired
      • paidMinornumberrequired
      • statusstringrequired
        One of (may gain values): draft, sent, partly_paid, paid, late, void
      • daysLatenumberrequirednullable
      • pdfFileIdstring (uuid)requirednullable
      • billToobject · DealContactRefrequirednullable
        6fields
        • idstring (uuid)required
        • namestringrequirednullable
        • emailstringrequirednullable
        • rolestringrequirednullable
        • companyIdstring (uuid)requirednullable
        • erasedbooleanrequired
      • connectedTostringrequirednullable
        One of: pennylane, qonto, storecove, xero, quickbooks
      • externalUrlstringrequirednullable
      • syncedAtstring (date-time)requirednullable
      • paymentsarray of objectrequired
        5fields in each item
        • idstring (uuid)required
        • amountMinornumberrequired
        • receivedOnstring (date)required
        • sourcestringrequired
          One of: manual, sync
        • notestringrequirednullable
      • chasearray of objectrequired
        8fields in each item
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • offsetDaysnumberrequired
        • statestringrequired
          One of: drafted, sent, skipped
        • messageIdstring (uuid)requirednullable
        • skipReasonstringrequirednullable
        • draftedAtstring (date-time)requirednullable
        • sentAtstring (date-time)requirednullable
      • nextChaseobjectrequirednullable
        4fields
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • atstring (date-time)required
        • autoSendbooleanrequired
      • chasePausedbooleanrequired
    • totalsobjectrequired
      4fields
      • agreedMinornumberrequired
      • invoicedMinornumberrequired
      • paidMinornumberrequired
      • outstandingMinornumberrequired
    • commissionobjectrequired
      6fields
      • percentnumberrequired
      • sourcestringrequired
        One of: locked, deal, roster, organization, none
      • overridePercentnumberrequirednullable
      • bookedMinornumberrequired
      • earnedMinornumberrequired
      • agencyNamestringrequired
    • chaseSequencestringrequired
      One 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
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
}'
TypeScript
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();
Python
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

PATCH /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/splits/{itemId}
Beta Changes data 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

  • labelstringoptional
    1–160 characters
  • recipientNamestringoptionalnullable
    at most 160 characters
  • sharePercentnumberoptionalnullable
    from 0 to 100
  • amountMinorintegeroptionalnullable
    from 0 to 10000000000000

Responses

200 OK

object · DealMoneyResponse

  • dataobject · DealMoneyDetailrequired
    7fields
    • currencystringrequired
    • feesarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of (may gain values): offer, fixed, per_deliverable, bonus, kill_fee, late_fee, extra_revision, expense, in_kind
      • labelstringrequired
      • amountMinornumberrequired
      • taxPercentnumberrequirednullable
      • deliverableIdstring (uuid)requirednullable
      • conditionstringrequirednullable
      • statusstringrequired
        One of: proposed, agreed, due, cancelled
    • splitsarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of: manager, co_creator, other
      • labelstringrequired
      • recipientNamestringrequirednullable
      • recipientUserIdstringrequirednullable
      • sharePercentnumberrequirednullable
      • amountMinornumberrequirednullable
      • computedAmountMinornumberrequired
    • invoicesarray of objectrequired
      21fields in each item
      • idstring (uuid)required
      • numberstringrequired
      • kindstringrequired
        One of: full, deposit, balance
      • issuedOnstring (date)requirednullable
      • dueKindstringrequired
        One of: date, on_signature, on_delivery
      • dueOnstring (date)requirednullable
      • amountMinornumberrequired
      • taxMinornumberrequired
      • currencystringrequired
      • paidMinornumberrequired
      • statusstringrequired
        One of (may gain values): draft, sent, partly_paid, paid, late, void
      • daysLatenumberrequirednullable
      • pdfFileIdstring (uuid)requirednullable
      • billToobject · DealContactRefrequirednullable
        6fields
        • idstring (uuid)required
        • namestringrequirednullable
        • emailstringrequirednullable
        • rolestringrequirednullable
        • companyIdstring (uuid)requirednullable
        • erasedbooleanrequired
      • connectedTostringrequirednullable
        One of: pennylane, qonto, storecove, xero, quickbooks
      • externalUrlstringrequirednullable
      • syncedAtstring (date-time)requirednullable
      • paymentsarray of objectrequired
        5fields in each item
        • idstring (uuid)required
        • amountMinornumberrequired
        • receivedOnstring (date)required
        • sourcestringrequired
          One of: manual, sync
        • notestringrequirednullable
      • chasearray of objectrequired
        8fields in each item
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • offsetDaysnumberrequired
        • statestringrequired
          One of: drafted, sent, skipped
        • messageIdstring (uuid)requirednullable
        • skipReasonstringrequirednullable
        • draftedAtstring (date-time)requirednullable
        • sentAtstring (date-time)requirednullable
      • nextChaseobjectrequirednullable
        4fields
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • atstring (date-time)required
        • autoSendbooleanrequired
      • chasePausedbooleanrequired
    • totalsobjectrequired
      4fields
      • agreedMinornumberrequired
      • invoicedMinornumberrequired
      • paidMinornumberrequired
      • outstandingMinornumberrequired
    • commissionobjectrequired
      6fields
      • percentnumberrequired
      • sourcestringrequired
        One of: locked, deal, roster, organization, none
      • overridePercentnumberrequirednullable
      • bookedMinornumberrequired
      • earnedMinornumberrequired
      • agencyNamestringrequired
    • chaseSequencestringrequired
      One 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
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
}'
TypeScript
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();
Python
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

DELETE /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/splits/{itemId}
Beta Deletes 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 · DealMoneyDetailrequired
    7fields
    • currencystringrequired
    • feesarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of (may gain values): offer, fixed, per_deliverable, bonus, kill_fee, late_fee, extra_revision, expense, in_kind
      • labelstringrequired
      • amountMinornumberrequired
      • taxPercentnumberrequirednullable
      • deliverableIdstring (uuid)requirednullable
      • conditionstringrequirednullable
      • statusstringrequired
        One of: proposed, agreed, due, cancelled
    • splitsarray of objectrequired
      8fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of: manager, co_creator, other
      • labelstringrequired
      • recipientNamestringrequirednullable
      • recipientUserIdstringrequirednullable
      • sharePercentnumberrequirednullable
      • amountMinornumberrequirednullable
      • computedAmountMinornumberrequired
    • invoicesarray of objectrequired
      21fields in each item
      • idstring (uuid)required
      • numberstringrequired
      • kindstringrequired
        One of: full, deposit, balance
      • issuedOnstring (date)requirednullable
      • dueKindstringrequired
        One of: date, on_signature, on_delivery
      • dueOnstring (date)requirednullable
      • amountMinornumberrequired
      • taxMinornumberrequired
      • currencystringrequired
      • paidMinornumberrequired
      • statusstringrequired
        One of (may gain values): draft, sent, partly_paid, paid, late, void
      • daysLatenumberrequirednullable
      • pdfFileIdstring (uuid)requirednullable
      • billToobject · DealContactRefrequirednullable
        6fields
        • idstring (uuid)required
        • namestringrequirednullable
        • emailstringrequirednullable
        • rolestringrequirednullable
        • companyIdstring (uuid)requirednullable
        • erasedbooleanrequired
      • connectedTostringrequirednullable
        One of: pennylane, qonto, storecove, xero, quickbooks
      • externalUrlstringrequirednullable
      • syncedAtstring (date-time)requirednullable
      • paymentsarray of objectrequired
        5fields in each item
        • idstring (uuid)required
        • amountMinornumberrequired
        • receivedOnstring (date)required
        • sourcestringrequired
          One of: manual, sync
        • notestringrequirednullable
      • chasearray of objectrequired
        8fields in each item
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • offsetDaysnumberrequired
        • statestringrequired
          One of: drafted, sent, skipped
        • messageIdstring (uuid)requirednullable
        • skipReasonstringrequirednullable
        • draftedAtstring (date-time)requirednullable
        • sentAtstring (date-time)requirednullable
      • nextChaseobjectrequirednullable
        4fields
        • stepPositionnumberrequired
        • tonestringrequired
          One of: nudge, firm, final
        • atstring (date-time)required
        • autoSendbooleanrequired
      • chasePausedbooleanrequired
    • totalsobjectrequired
      4fields
      • agreedMinornumberrequired
      • invoicedMinornumberrequired
      • paidMinornumberrequired
      • outstandingMinornumberrequired
    • commissionobjectrequired
      6fields
      • percentnumberrequired
      • sourcestringrequired
        One of: locked, deal, roster, organization, none
      • overridePercentnumberrequirednullable
      • bookedMinornumberrequired
      • earnedMinornumberrequired
      • agencyNamestringrequired
    • chaseSequencestringrequired
      One 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
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_…"
TypeScript
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();
Python
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"
  }
}