/moco-purchases | Type: Application | PCID required: Yes
Tools
moco_purchases_create_purchases
Create purchase Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
bank_account_number | string | No | — | Bank Account Number |
cash_discount_rate | number | No | — | Cash Discount Rate |
cash_discount_until | string | No | — | Cash Discount Until |
company_id | integer | No | — | Company Id |
cost_center_id | integer | No | — | Cost Center Id |
currency | string | No | — | The currency value |
custom_properties | object | No | — | Custom Properties |
date | string | No | — | The date value |
due_date | string | No | — | Due Date |
file | object | No | — | The file value |
iban | string | No | — | The iban value |
inbound_email_id | integer | No | — | Inbound Email Id |
info | string | No | — | The info value |
items | object[] | No | — | The items value |
payment_method | string | No | — | Payment Method |
purchase_draft_id | integer | No | — | Purchase Draft Id |
receipt_identifier | string | No | — | Receipt Identifier |
reference | string | No | — | The reference value |
service_period_from | string | No | — | Service Period From |
service_period_to | string | No | — | Service Period To |
tags | string[] | No | — | The tags value |
title | string | No | — | The title value |
user_id | integer | No | — | User Id |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"bank_account_number": {
"type": "string",
"description": "Bank Account Number"
},
"cash_discount_rate": {
"type": "number",
"description": "Cash Discount Rate"
},
"cash_discount_until": {
"type": "string",
"description": "Cash Discount Until"
},
"company_id": {
"type": "integer",
"description": "Company Id"
},
"cost_center_id": {
"type": "integer",
"description": "Cost Center Id"
},
"currency": {
"type": "string",
"description": "The currency value"
},
"custom_properties": {
"type": "object",
"description": "Custom Properties"
},
"date": {
"type": "string",
"description": "The date value"
},
"due_date": {
"type": "string",
"description": "Due Date"
},
"file": {
"type": "object",
"description": "The file value",
"properties": {
"filename": {
"type": "string",
"description": "The filename value"
},
"base64": {
"type": "string",
"description": "The base64 value"
}
}
},
"iban": {
"type": "string",
"description": "The iban value"
},
"inbound_email_id": {
"type": "integer",
"description": "Inbound Email Id"
},
"info": {
"type": "string",
"description": "The info value"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title value"
},
"total": {
"type": "number",
"description": "The total value"
},
"tax": {
"type": "number",
"description": "The tax value"
},
"vat_code_id": {
"type": "integer",
"description": "Vat Code Id"
},
"tax_included": {
"type": "boolean",
"description": "Tax Included"
},
"category_id": {
"type": "integer",
"description": "Category Id"
}
}
},
"description": "The items value"
},
"payment_method": {
"type": "string",
"description": "Payment Method",
"enum": [
"bank_transfer",
"direct_debit",
"credit_card",
"paypal",
"cash",
"bank_transfer_swiss_qr_esr"
]
},
"purchase_draft_id": {
"type": "integer",
"description": "Purchase Draft Id"
},
"receipt_identifier": {
"type": "string",
"description": "Receipt Identifier"
},
"reference": {
"type": "string",
"description": "The reference value"
},
"service_period_from": {
"type": "string",
"description": "Service Period From"
},
"service_period_to": {
"type": "string",
"description": "Service Period To"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "The tags value"
},
"title": {
"type": "string",
"description": "The title value"
},
"user_id": {
"type": "integer",
"description": "User Id"
}
},
"required": [
"PCID"
]
}
moco_purchases_create_purchases_assign_to_project
Assign purchase item to project Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
X-IMPERSONATE-USER-ID | integer | No | — | Execute request on behalf of another user if allowed. |
billable | boolean | No | — | The billable value |
budget_relevant | boolean | No | — | Budget Relevant |
expense_id | integer | No | — | Existing expense ID to attach to. |
item_id | integer | No | — | Single purchase item ID. |
notify_project_leader | boolean | No | — | Notify Project Leader |
project_id | integer | Yes | — | Project Id |
surcharge | number | No | — | The surcharge value |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
},
"X-IMPERSONATE-USER-ID": {
"type": "integer",
"description": "Execute request on behalf of another user if allowed."
},
"billable": {
"type": "boolean",
"description": "The billable value"
},
"budget_relevant": {
"type": "boolean",
"description": "Budget Relevant"
},
"expense_id": {
"type": "integer",
"description": "Existing expense ID to attach to."
},
"item_id": {
"type": "integer",
"description": "Single purchase item ID."
},
"notify_project_leader": {
"type": "boolean",
"description": "Notify Project Leader"
},
"project_id": {
"type": "integer",
"description": "Project Id"
},
"surcharge": {
"type": "number",
"description": "The surcharge value"
}
},
"required": [
"PCID",
"id",
"project_id"
]
}
moco_purchases_create_purchases_bookkeeping_exports
Create purchase bookkeeping export Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
archive_after_export | boolean | No | — | Archive After Export |
comment | string | No | — | The comment value |
purchase_ids | integer[] | No | — | Purchase Ids |
trigger_submission | boolean | No | — | Trigger Submission |
with_direct_online_submission | boolean | No | — | With Direct Online Submission |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"archive_after_export": {
"type": "boolean",
"description": "Archive After Export"
},
"comment": {
"type": "string",
"description": "The comment value"
},
"purchase_ids": {
"type": "array",
"items": {
"type": "integer"
},
"description": "Purchase Ids"
},
"trigger_submission": {
"type": "boolean",
"description": "Trigger Submission"
},
"with_direct_online_submission": {
"type": "boolean",
"description": "With Direct Online Submission"
}
},
"required": [
"PCID"
]
}
moco_purchases_create_purchases_drafts
Create purchase draft Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
file | object | No | — | Optional file attachment. |
title | string | Yes | — | Title of the purchase draft. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"file": {
"type": "object",
"description": "Optional file attachment.",
"properties": {
"filename": {
"type": "string",
"description": "Original file name including extension."
},
"base64": {
"type": "string",
"description": "Base64-encoded file content."
}
},
"required": [
"filename",
"base64"
]
},
"title": {
"type": "string",
"description": "Title of the purchase draft."
}
},
"required": [
"PCID",
"title"
]
}
moco_purchases_create_purchases_payments
Create purchase payment Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
currency | string | No | — | The currency value |
date | string | Yes | — | The date value |
description | string | No | — | The description value |
partially_paid | boolean | No | — | Indicates whether the purchase is partially paid. |
payment_account_id | integer | No | — | Payment Account Id |
purchase_id | integer | Yes | — | Purchase Id |
total | number | Yes | — | The total value |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"currency": {
"type": "string",
"description": "The currency value"
},
"date": {
"type": "string",
"description": "The date value"
},
"description": {
"type": "string",
"description": "The description value"
},
"partially_paid": {
"type": "boolean",
"description": "Indicates whether the purchase is partially paid."
},
"payment_account_id": {
"type": "integer",
"description": "Payment Account Id"
},
"purchase_id": {
"type": "integer",
"description": "Purchase Id"
},
"total": {
"type": "number",
"description": "The total value"
}
},
"required": [
"PCID",
"date",
"purchase_id",
"total"
]
}
moco_purchases_create_purchases_payments_bulk
Create purchase payments in bulk Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
bulk_data | any[] | Yes | — | Bulk Data |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"bulk_data": {
"type": "array",
"description": "Bulk Data"
}
},
"required": [
"PCID",
"bulk_data"
]
}
moco_purchases_create_receipts
Create receipt Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
attachment | object | No | — | The attachment value |
billable | boolean | No | — | The billable value |
currency | string | No | — | The currency value |
date | string | No | — | The date value |
info | string | No | — | The info value |
items | object[] | No | — | The items value |
project_id | integer | No | — | Project Id |
title | string | No | — | The title value |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"attachment": {
"type": "object",
"description": "The attachment value",
"properties": {
"filename": {
"type": "string",
"description": "The filename value"
},
"base64": {
"type": "string",
"description": "The base64 value"
}
}
},
"billable": {
"type": "boolean",
"description": "The billable value"
},
"currency": {
"type": "string",
"description": "The currency value"
},
"date": {
"type": "string",
"description": "The date value"
},
"info": {
"type": "string",
"description": "The info value"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"purchase_category_id": {
"type": "integer",
"description": "Purchase Category Id"
},
"gross_total": {
"type": "number",
"description": "Gross Total"
},
"vat_code_id": {
"type": "integer",
"description": "Vat Code Id"
}
}
},
"description": "The items value"
},
"project_id": {
"type": "integer",
"description": "Project Id"
},
"title": {
"type": "string",
"description": "The title value"
}
},
"required": [
"PCID"
]
}
moco_purchases_delete_drafts
Delete purchase draft Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_delete_payments
Delete purchase payment Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_delete_purchases
Delete purchase Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
X-IMPERSONATE-USER-ID | integer | No | — | Execute request on behalf of another user if allowed. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
},
"X-IMPERSONATE-USER-ID": {
"type": "integer",
"description": "Execute request on behalf of another user if allowed."
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_delete_receipts
Delete receipt Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
X-IMPERSONATE-USER-ID | integer | No | — | Execute request on behalf of another user if allowed. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
},
"X-IMPERSONATE-USER-ID": {
"type": "integer",
"description": "Execute request on behalf of another user if allowed."
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_get_bookkeeping_exports
Get purchase bookkeeping export Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_get_categories
Get purchase category Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_get_drafts
Download purchase draft PDF Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_get_drafts_1
Get purchase draft Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_get_payments
Get purchase payment Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_get_purchases
Get purchase Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
X-IMPERSONATE-USER-ID | integer | No | — | Execute request on behalf of another user if allowed. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
},
"X-IMPERSONATE-USER-ID": {
"type": "integer",
"description": "Execute request on behalf of another user if allowed."
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_get_receipts
Get receipt Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
X-IMPERSONATE-USER-ID | integer | No | — | Execute request on behalf of another user if allowed. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
},
"X-IMPERSONATE-USER-ID": {
"type": "integer",
"description": "Execute request on behalf of another user if allowed."
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_list_purchases
List purchases Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
X-IMPERSONATE-USER-ID | integer | No | — | Execute request on behalf of another user if allowed. |
page | integer | No | — | Page number, starting at 1. |
per_page | integer | No | — | Page size. |
id | string | No | — | Legacy alias for filtering by purchase ID (single ID or comma-separated list). |
ids | string | No | — | Comma-separated IDs. |
updated_after | string | No | — | ISO 8601 UTC timestamp (e.g. 2026-01-31T14:30:00Z). Returns entities created or updated after this timestamp and is intended for incremental synchronization. Combine with delete webhooks for full synchronization. |
custom_properties | object | No | — | Filter by custom field values. Unknown custom field names return an empty result set. For MultiSelect fields, pass multiple values using custom_properties[Field][]=A&custom_properties[Field][]=B. Boolean fields should be queried with true or false. |
category_id | integer | No | — | Category Id |
term | string | No | — | The term value |
company_id | integer | No | — | Supplier company ID. Use 0 for purchases without supplier. |
status | string | No | — | The status value |
not_booked | boolean | No | — | Not Booked |
tags | string | No | — | Comma-separated list of tag names. |
tag_ids | string | No | — | Comma-separated list of tag IDs. |
date | string | No | — | Date range, e.g. 2020-02-01:2020-02-22. |
unpaid | boolean | No | — | The unpaid value |
partially_paid | boolean | No | — | Partially Paid |
payment_method | string | No | — | Payment Method |
receipt_identifier | string | No | — | Receipt Identifier |
identifier | string | No | — | The identifier value |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"X-IMPERSONATE-USER-ID": {
"type": "integer",
"description": "Execute request on behalf of another user if allowed."
},
"page": {
"type": "integer",
"description": "Page number, starting at 1."
},
"per_page": {
"type": "integer",
"description": "Page size."
},
"id": {
"type": "string",
"description": "Legacy alias for filtering by purchase ID (single ID or comma-separated list)."
},
"ids": {
"type": "string",
"description": "Comma-separated IDs."
},
"updated_after": {
"type": "string",
"description": "ISO 8601 UTC timestamp (e.g. `2026-01-31T14:30:00Z`). Returns entities created or updated after this timestamp and is intended for incremental synchronization. Combine with delete webhooks for full synchronization."
},
"custom_properties": {
"type": "object",
"description": "Filter by custom field values. Unknown custom field names return an empty result set. For MultiSelect fields, pass multiple values using `custom_properties[Field][]=A&custom_properties[Field][]=B`. Boolean fields should be queried with `true` or `false`."
},
"category_id": {
"type": "integer",
"description": "Category Id"
},
"term": {
"type": "string",
"description": "The term value"
},
"company_id": {
"type": "integer",
"description": "Supplier company ID. Use `0` for purchases without supplier."
},
"status": {
"type": "string",
"description": "The status value",
"enum": [
"pending",
"archived"
]
},
"not_booked": {
"type": "boolean",
"description": "Not Booked"
},
"tags": {
"type": "string",
"description": "Comma-separated list of tag names."
},
"tag_ids": {
"type": "string",
"description": "Comma-separated list of tag IDs."
},
"date": {
"type": "string",
"description": "Date range, e.g. `2020-02-01:2020-02-22`."
},
"unpaid": {
"type": "boolean",
"description": "The unpaid value"
},
"partially_paid": {
"type": "boolean",
"description": "Partially Paid"
},
"payment_method": {
"type": "string",
"description": "Payment Method",
"enum": [
"bank_transfer",
"direct_debit",
"credit_card",
"paypal",
"cash",
"bank_transfer_swiss_qr_esr"
]
},
"receipt_identifier": {
"type": "string",
"description": "Receipt Identifier"
},
"identifier": {
"type": "string",
"description": "The identifier value"
}
},
"required": [
"PCID"
]
}
moco_purchases_list_purchases_bookkeeping_exports
List purchase bookkeeping exports Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
page | integer | No | — | Page number, starting at 1. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"page": {
"type": "integer",
"description": "Page number, starting at 1."
}
},
"required": [
"PCID"
]
}
moco_purchases_list_purchases_budgets
List purchase budgets Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
year | integer | No | — | The year value |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"year": {
"type": "integer",
"description": "The year value"
}
},
"required": [
"PCID"
]
}
moco_purchases_list_purchases_categories
List purchase categories Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
page | integer | No | — | Page number, starting at 1. |
ids | string | No | — | Comma-separated IDs. |
updated_after | string | No | — | ISO 8601 UTC timestamp (e.g. 2026-01-31T14:30:00Z). Returns entities created or updated after this timestamp and is intended for incremental synchronization. Combine with delete webhooks for full synchronization. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"page": {
"type": "integer",
"description": "Page number, starting at 1."
},
"ids": {
"type": "string",
"description": "Comma-separated IDs."
},
"updated_after": {
"type": "string",
"description": "ISO 8601 UTC timestamp (e.g. `2026-01-31T14:30:00Z`). Returns entities created or updated after this timestamp and is intended for incremental synchronization. Combine with delete webhooks for full synchronization."
}
},
"required": [
"PCID"
]
}
moco_purchases_list_purchases_drafts
List purchase drafts Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
page | integer | No | — | Page number, starting at 1. |
ids | string | No | — | Comma-separated IDs. |
updated_after | string | No | — | ISO 8601 UTC timestamp (e.g. 2026-01-31T14:30:00Z). Returns entities created or updated after this timestamp and is intended for incremental synchronization. Combine with delete webhooks for full synchronization. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"page": {
"type": "integer",
"description": "Page number, starting at 1."
},
"ids": {
"type": "string",
"description": "Comma-separated IDs."
},
"updated_after": {
"type": "string",
"description": "ISO 8601 UTC timestamp (e.g. `2026-01-31T14:30:00Z`). Returns entities created or updated after this timestamp and is intended for incremental synchronization. Combine with delete webhooks for full synchronization."
}
},
"required": [
"PCID"
]
}
moco_purchases_list_purchases_payments
List purchase payments Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
page | integer | No | — | Page number, starting at 1. |
ids | string | No | — | Comma-separated IDs. |
updated_after | string | No | — | ISO 8601 UTC timestamp (e.g. 2026-01-31T14:30:00Z). Returns entities created or updated after this timestamp and is intended for incremental synchronization. Combine with delete webhooks for full synchronization. |
purchase_id | string | No | — | Single ID or comma-separated list. |
date_from | string | No | — | Payment date range start. Format: YYYY-MM-DD (e.g. 2026-01-01). |
date_to | string | No | — | Payment date range end. Format: YYYY-MM-DD (e.g. 2026-01-31). |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"page": {
"type": "integer",
"description": "Page number, starting at 1."
},
"ids": {
"type": "string",
"description": "Comma-separated IDs."
},
"updated_after": {
"type": "string",
"description": "ISO 8601 UTC timestamp (e.g. `2026-01-31T14:30:00Z`). Returns entities created or updated after this timestamp and is intended for incremental synchronization. Combine with delete webhooks for full synchronization."
},
"purchase_id": {
"type": "string",
"description": "Single ID or comma-separated list."
},
"date_from": {
"type": "string",
"description": "Payment date range start. Format: YYYY-MM-DD (e.g. `2026-01-01`)."
},
"date_to": {
"type": "string",
"description": "Payment date range end. Format: YYYY-MM-DD (e.g. `2026-01-31`)."
}
},
"required": [
"PCID"
]
}
moco_purchases_list_receipts
List receipts Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
page | integer | No | — | Page number, starting at 1. |
per_page | integer | No | — | Page size. |
ids | string | No | — | Comma-separated IDs. |
updated_after | string | No | — | ISO 8601 UTC timestamp (e.g. 2026-01-31T14:30:00Z). Returns entities created or updated after this timestamp and is intended for incremental synchronization. Combine with delete webhooks for full synchronization. |
user_id | integer | No | — | User Id |
project_id | integer | No | — | Project Id |
from | string | No | — | Receipt date range start. Format: YYYY-MM-DD (e.g. 2026-01-01). |
to | string | No | — | Receipt date range end. Format: YYYY-MM-DD (e.g. 2026-01-31). |
purchase_category_id | integer | No | — | Purchase Category Id |
submitted | boolean | No | — | true for submitted/closed receipts, false for pending. |
refund_request_id | string | No | — | Single ID or comma-separated list. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"page": {
"type": "integer",
"description": "Page number, starting at 1."
},
"per_page": {
"type": "integer",
"description": "Page size."
},
"ids": {
"type": "string",
"description": "Comma-separated IDs."
},
"updated_after": {
"type": "string",
"description": "ISO 8601 UTC timestamp (e.g. `2026-01-31T14:30:00Z`). Returns entities created or updated after this timestamp and is intended for incremental synchronization. Combine with delete webhooks for full synchronization."
},
"user_id": {
"type": "integer",
"description": "User Id"
},
"project_id": {
"type": "integer",
"description": "Project Id"
},
"from": {
"type": "string",
"description": "Receipt date range start. Format: YYYY-MM-DD (e.g. `2026-01-01`)."
},
"to": {
"type": "string",
"description": "Receipt date range end. Format: YYYY-MM-DD (e.g. `2026-01-31`)."
},
"purchase_category_id": {
"type": "integer",
"description": "Purchase Category Id"
},
"submitted": {
"type": "boolean",
"description": "`true` for submitted/closed receipts, `false` for pending."
},
"refund_request_id": {
"type": "string",
"description": "Single ID or comma-separated list."
}
},
"required": [
"PCID"
]
}
moco_purchases_store_document_purchases
Store purchase document Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
X-IMPERSONATE-USER-ID | integer | No | — | Execute request on behalf of another user if allowed. |
file | string | No | — | The file value |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
},
"X-IMPERSONATE-USER-ID": {
"type": "integer",
"description": "Execute request on behalf of another user if allowed."
},
"file": {
"type": "string",
"description": "The file value"
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_update_purchases
Update purchase Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
X-IMPERSONATE-USER-ID | integer | No | — | Execute request on behalf of another user if allowed. |
bank_account_number | string | No | — | Bank Account Number |
cash_discount_rate | number | No | — | Cash Discount Rate |
cash_discount_until | string | No | — | Cash Discount Until |
company_id | integer | No | — | Company Id |
cost_center_id | integer | No | — | Cost Center Id |
currency | string | No | — | The currency value |
custom_properties | object | No | — | Custom Properties |
date | string | No | — | The date value |
due_date | string | No | — | Due Date |
file | object | No | — | The file value |
iban | string | No | — | The iban value |
inbound_email_id | integer | No | — | Inbound Email Id |
info | string | No | — | The info value |
items | object[] | No | — | The items value |
payment_method | string | No | — | Payment Method |
purchase_draft_id | integer | No | — | Purchase Draft Id |
receipt_identifier | string | No | — | Receipt Identifier |
reference | string | No | — | The reference value |
service_period_from | string | No | — | Service Period From |
service_period_to | string | No | — | Service Period To |
tags | string[] | No | — | The tags value |
title | string | No | — | The title value |
user_id | integer | No | — | User Id |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
},
"X-IMPERSONATE-USER-ID": {
"type": "integer",
"description": "Execute request on behalf of another user if allowed."
},
"bank_account_number": {
"type": "string",
"description": "Bank Account Number"
},
"cash_discount_rate": {
"type": "number",
"description": "Cash Discount Rate"
},
"cash_discount_until": {
"type": "string",
"description": "Cash Discount Until"
},
"company_id": {
"type": "integer",
"description": "Company Id"
},
"cost_center_id": {
"type": "integer",
"description": "Cost Center Id"
},
"currency": {
"type": "string",
"description": "The currency value"
},
"custom_properties": {
"type": "object",
"description": "Custom Properties"
},
"date": {
"type": "string",
"description": "The date value"
},
"due_date": {
"type": "string",
"description": "Due Date"
},
"file": {
"type": "object",
"description": "The file value",
"properties": {
"filename": {
"type": "string",
"description": "The filename value"
},
"base64": {
"type": "string",
"description": "The base64 value"
}
}
},
"iban": {
"type": "string",
"description": "The iban value"
},
"inbound_email_id": {
"type": "integer",
"description": "Inbound Email Id"
},
"info": {
"type": "string",
"description": "The info value"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title value"
},
"total": {
"type": "number",
"description": "The total value"
},
"tax": {
"type": "number",
"description": "The tax value"
},
"vat_code_id": {
"type": "integer",
"description": "Vat Code Id"
},
"tax_included": {
"type": "boolean",
"description": "Tax Included"
},
"category_id": {
"type": "integer",
"description": "Category Id"
}
}
},
"description": "The items value"
},
"payment_method": {
"type": "string",
"description": "Payment Method",
"enum": [
"bank_transfer",
"direct_debit",
"credit_card",
"paypal",
"cash",
"bank_transfer_swiss_qr_esr"
]
},
"purchase_draft_id": {
"type": "integer",
"description": "Purchase Draft Id"
},
"receipt_identifier": {
"type": "string",
"description": "Receipt Identifier"
},
"reference": {
"type": "string",
"description": "The reference value"
},
"service_period_from": {
"type": "string",
"description": "Service Period From"
},
"service_period_to": {
"type": "string",
"description": "Service Period To"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "The tags value"
},
"title": {
"type": "string",
"description": "The title value"
},
"user_id": {
"type": "integer",
"description": "User Id"
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_update_purchases_1
Update purchase Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
X-IMPERSONATE-USER-ID | integer | No | — | Execute request on behalf of another user if allowed. |
bank_account_number | string | No | — | Bank Account Number |
cash_discount_rate | number | No | — | Cash Discount Rate |
cash_discount_until | string | No | — | Cash Discount Until |
company_id | integer | No | — | Company Id |
cost_center_id | integer | No | — | Cost Center Id |
currency | string | No | — | The currency value |
custom_properties | object | No | — | Custom Properties |
date | string | No | — | The date value |
due_date | string | No | — | Due Date |
file | object | No | — | The file value |
iban | string | No | — | The iban value |
inbound_email_id | integer | No | — | Inbound Email Id |
info | string | No | — | The info value |
items | object[] | No | — | The items value |
payment_method | string | No | — | Payment Method |
purchase_draft_id | integer | No | — | Purchase Draft Id |
receipt_identifier | string | No | — | Receipt Identifier |
reference | string | No | — | The reference value |
service_period_from | string | No | — | Service Period From |
service_period_to | string | No | — | Service Period To |
tags | string[] | No | — | The tags value |
title | string | No | — | The title value |
user_id | integer | No | — | User Id |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
},
"X-IMPERSONATE-USER-ID": {
"type": "integer",
"description": "Execute request on behalf of another user if allowed."
},
"bank_account_number": {
"type": "string",
"description": "Bank Account Number"
},
"cash_discount_rate": {
"type": "number",
"description": "Cash Discount Rate"
},
"cash_discount_until": {
"type": "string",
"description": "Cash Discount Until"
},
"company_id": {
"type": "integer",
"description": "Company Id"
},
"cost_center_id": {
"type": "integer",
"description": "Cost Center Id"
},
"currency": {
"type": "string",
"description": "The currency value"
},
"custom_properties": {
"type": "object",
"description": "Custom Properties"
},
"date": {
"type": "string",
"description": "The date value"
},
"due_date": {
"type": "string",
"description": "Due Date"
},
"file": {
"type": "object",
"description": "The file value",
"properties": {
"filename": {
"type": "string",
"description": "The filename value"
},
"base64": {
"type": "string",
"description": "The base64 value"
}
}
},
"iban": {
"type": "string",
"description": "The iban value"
},
"inbound_email_id": {
"type": "integer",
"description": "Inbound Email Id"
},
"info": {
"type": "string",
"description": "The info value"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title value"
},
"total": {
"type": "number",
"description": "The total value"
},
"tax": {
"type": "number",
"description": "The tax value"
},
"vat_code_id": {
"type": "integer",
"description": "Vat Code Id"
},
"tax_included": {
"type": "boolean",
"description": "Tax Included"
},
"category_id": {
"type": "integer",
"description": "Category Id"
}
}
},
"description": "The items value"
},
"payment_method": {
"type": "string",
"description": "Payment Method",
"enum": [
"bank_transfer",
"direct_debit",
"credit_card",
"paypal",
"cash",
"bank_transfer_swiss_qr_esr"
]
},
"purchase_draft_id": {
"type": "integer",
"description": "Purchase Draft Id"
},
"receipt_identifier": {
"type": "string",
"description": "Receipt Identifier"
},
"reference": {
"type": "string",
"description": "The reference value"
},
"service_period_from": {
"type": "string",
"description": "Service Period From"
},
"service_period_to": {
"type": "string",
"description": "Service Period To"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "The tags value"
},
"title": {
"type": "string",
"description": "The title value"
},
"user_id": {
"type": "integer",
"description": "User Id"
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_update_purchases_payments
Update purchase payment Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
currency | string | No | — | The currency value |
date | string | No | — | The date value |
description | string | No | — | The description value |
partially_paid | boolean | No | — | Indicates whether the purchase is partially paid. |
payment_account_id | integer | No | — | Payment Account Id |
purchase_id | integer | No | — | Purchase Id |
total | number | No | — | The total value |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
},
"currency": {
"type": "string",
"description": "The currency value"
},
"date": {
"type": "string",
"description": "The date value"
},
"description": {
"type": "string",
"description": "The description value"
},
"partially_paid": {
"type": "boolean",
"description": "Indicates whether the purchase is partially paid."
},
"payment_account_id": {
"type": "integer",
"description": "Payment Account Id"
},
"purchase_id": {
"type": "integer",
"description": "Purchase Id"
},
"total": {
"type": "number",
"description": "The total value"
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_update_purchases_payments_1
Update purchase payment Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
currency | string | No | — | The currency value |
date | string | No | — | The date value |
description | string | No | — | The description value |
partially_paid | boolean | No | — | Indicates whether the purchase is partially paid. |
payment_account_id | integer | No | — | Payment Account Id |
purchase_id | integer | No | — | Purchase Id |
total | number | No | — | The total value |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
},
"currency": {
"type": "string",
"description": "The currency value"
},
"date": {
"type": "string",
"description": "The date value"
},
"description": {
"type": "string",
"description": "The description value"
},
"partially_paid": {
"type": "boolean",
"description": "Indicates whether the purchase is partially paid."
},
"payment_account_id": {
"type": "integer",
"description": "Payment Account Id"
},
"purchase_id": {
"type": "integer",
"description": "Purchase Id"
},
"total": {
"type": "number",
"description": "The total value"
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_update_receipts
Update receipt Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
X-IMPERSONATE-USER-ID | integer | No | — | Execute request on behalf of another user if allowed. |
attachment | object | No | — | The attachment value |
billable | boolean | No | — | The billable value |
currency | string | No | — | The currency value |
date | string | No | — | The date value |
info | string | No | — | The info value |
items | object[] | No | — | The items value |
project_id | integer | No | — | Project Id |
title | string | No | — | The title value |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
},
"X-IMPERSONATE-USER-ID": {
"type": "integer",
"description": "Execute request on behalf of another user if allowed."
},
"attachment": {
"type": "object",
"description": "The attachment value",
"properties": {
"filename": {
"type": "string",
"description": "The filename value"
},
"base64": {
"type": "string",
"description": "The base64 value"
}
}
},
"billable": {
"type": "boolean",
"description": "The billable value"
},
"currency": {
"type": "string",
"description": "The currency value"
},
"date": {
"type": "string",
"description": "The date value"
},
"info": {
"type": "string",
"description": "The info value"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"purchase_category_id": {
"type": "integer",
"description": "Purchase Category Id"
},
"gross_total": {
"type": "number",
"description": "Gross Total"
},
"vat_code_id": {
"type": "integer",
"description": "Vat Code Id"
}
}
},
"description": "The items value"
},
"project_id": {
"type": "integer",
"description": "Project Id"
},
"title": {
"type": "string",
"description": "The title value"
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_update_receipts_1
Update receipt Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
X-IMPERSONATE-USER-ID | integer | No | — | Execute request on behalf of another user if allowed. |
attachment | object | No | — | The attachment value |
billable | boolean | No | — | The billable value |
currency | string | No | — | The currency value |
date | string | No | — | The date value |
info | string | No | — | The info value |
items | object[] | No | — | The items value |
project_id | integer | No | — | Project Id |
title | string | No | — | The title value |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
},
"X-IMPERSONATE-USER-ID": {
"type": "integer",
"description": "Execute request on behalf of another user if allowed."
},
"attachment": {
"type": "object",
"description": "The attachment value",
"properties": {
"filename": {
"type": "string",
"description": "The filename value"
},
"base64": {
"type": "string",
"description": "The base64 value"
}
}
},
"billable": {
"type": "boolean",
"description": "The billable value"
},
"currency": {
"type": "string",
"description": "The currency value"
},
"date": {
"type": "string",
"description": "The date value"
},
"info": {
"type": "string",
"description": "The info value"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"purchase_category_id": {
"type": "integer",
"description": "Purchase Category Id"
},
"gross_total": {
"type": "number",
"description": "Gross Total"
},
"vat_code_id": {
"type": "integer",
"description": "Vat Code Id"
}
}
},
"description": "The items value"
},
"project_id": {
"type": "integer",
"description": "Project Id"
},
"title": {
"type": "string",
"description": "The title value"
}
},
"required": [
"PCID",
"id"
]
}
moco_purchases_update_status_purchases
Update purchase status Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Resource ID. |
X-IMPERSONATE-USER-ID | integer | No | — | Execute request on behalf of another user if allowed. |
status | string | Yes | — | Supports legacy approved (mapped to internal archived) and direct archived. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"id": {
"type": "integer",
"description": "Resource ID."
},
"X-IMPERSONATE-USER-ID": {
"type": "integer",
"description": "Execute request on behalf of another user if allowed."
},
"status": {
"type": "string",
"description": "Supports legacy `approved` (mapped to internal `archived`) and direct `archived`.",
"enum": [
"pending",
"approved",
"archived"
]
}
},
"required": [
"PCID",
"id",
"status"
]
}

