Documents: Receipts
List ids and versions of receipts
Returns all documents in the administration. The list contains the document id and the version of the document.
Check if the version of the document is newer than the version you have stored locally, use the POST
variant for fetching documents with the given ids.
Parameters
Parameter | Type | Description |
---|---|---|
filter |
String |
String terms, example: key1:value1,key2:value2. |
Example: retrieves all ids for synchronization
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XGET \
https://moneybird.com/api/v2/123/documents/receipts/synchronization.json?
Response
Status: 200 OK
[
{
"id": "446241592817223221",
"version": 1739789167
},
{
"id": "446241592888526401",
"version": 1739789167
},
{
"id": "446241592931518023",
"version": 1739789167
}
]
Example: retrieves all ids for synchronization using a filter
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XGET \
https://moneybird.com/api/v2/123/documents/receipts/synchronization.json?filter=period%3Athis_month
Response
Status: 200 OK
[
{
"id": "446241593091950162",
"version": 1739789167
},
{
"id": "446241593183176286",
"version": 1739789168
},
{
"id": "446241593213584996",
"version": 1739789168
}
]
Fetch receipts with given ids
Given a list of document ids, returns the document information belonging to the documents. Returns a maximum of 100 documents, even if more ids are provided.
Parameters
Parameter | Type | Description |
---|---|---|
ids |
Array[integer] |
Required |
Example: retrieves documents for given ids
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XPOST \
-d '{"ids":[446241593476777595,446241593513477761]}' \
https://moneybird.com/api/v2/123/documents/receipts/synchronization.json
Response
Status: 200 OK
[
{
"id": "446241593476777595",
"administration_id": 123,
"contact_id": "446241593325782636",
"contact": {
"id": "446241593325782636",
"administration_id": 123,
"company_name": "Foobar Holding B.V.",
"firstname": "",
"lastname": "",
"address1": "Hoofdstraat 12",
"address2": "",
"zipcode": "1234AB",
"city": "Amsterdam",
"country": "NL",
"phone": "",
"delivery_method": "Email",
"customer_id": "1",
"tax_number": "",
"chamber_of_commerce": "",
"bank_account": "",
"is_trusted": false,
"max_transfer_amount": null,
"attention": "",
"email": "info@example.com",
"email_ubl": true,
"send_invoices_to_attention": "",
"send_invoices_to_email": "info@example.com",
"send_estimates_to_attention": "",
"send_estimates_to_email": "info@example.com",
"sepa_active": false,
"sepa_iban": "",
"sepa_iban_account_name": "",
"sepa_bic": "",
"sepa_mandate_id": "",
"sepa_mandate_date": null,
"sepa_sequence_type": "RCUR",
"credit_card_number": "",
"credit_card_reference": "",
"credit_card_type": null,
"tax_number_validated_at": null,
"tax_number_valid": null,
"invoice_workflow_id": null,
"estimate_workflow_id": null,
"si_identifier": "",
"si_identifier_type": null,
"moneybird_payments_mandate": false,
"created_at": "2025-02-17T10:46:08.187Z",
"updated_at": "2025-02-17T10:46:08.187Z",
"version": 1739789168,
"sales_invoices_url": "https://moneybird.dev/123/sales_invoices/9b90e2a017b862d321d102cc636fba69211d38a6c525f18325bd8237b015fb7b/all",
"notes": [],
"custom_fields": [],
"contact_people": [],
"archived": false
},
"reference": "Lunch supermarket",
"date": "2025-02-17",
"due_date": null,
"entry_number": 3,
"state": "open",
"currency": "EUR",
"exchange_rate": "1.0",
"revenue_invoice": false,
"prices_are_incl_tax": true,
"origin": null,
"paid_at": null,
"tax_number": "",
"total_price_excl_tax": "247.93",
"total_price_excl_tax_base": "247.93",
"total_price_incl_tax": "300.0",
"total_price_incl_tax_base": "300.0",
"created_at": "2025-02-17T10:46:08.331Z",
"updated_at": "2025-02-17T10:46:08.335Z",
"version": 1739789168,
"details": [
{
"id": "446241593478874748",
"administration_id": 123,
"tax_rate_id": "446241518964966551",
"ledger_account_id": "446241518911489155",
"project_id": null,
"product_id": null,
"amount": null,
"amount_decimal": "1.0",
"description": "Delivery Apple iPad",
"price": "300.0",
"period": null,
"row_order": 0,
"total_price_excl_tax_with_discount": "247.93",
"total_price_excl_tax_with_discount_base": "247.93",
"tax_report_reference": [
"NL/5b"
],
"mandatory_tax_text": null,
"created_at": "2025-02-17T10:46:08.333Z",
"updated_at": "2025-02-17T10:46:08.333Z",
"time_entries": []
}
],
"payments": [],
"notes": [],
"attachments": [],
"events": [
{
"administration_id": 123,
"user_id": 17397890963220,
"action": "document_saved",
"link_entity_id": null,
"link_entity_type": null,
"data": {},
"created_at": "2025-02-17T10:46:08.337Z",
"updated_at": "2025-02-17T10:46:08.337Z"
}
]
},
{
"id": "446241593513477761",
"administration_id": 123,
"contact_id": "446241593325782636",
"contact": {
"id": "446241593325782636",
"administration_id": 123,
"company_name": "Foobar Holding B.V.",
"firstname": "",
"lastname": "",
"address1": "Hoofdstraat 12",
"address2": "",
"zipcode": "1234AB",
"city": "Amsterdam",
"country": "NL",
"phone": "",
"delivery_method": "Email",
"customer_id": "1",
"tax_number": "",
"chamber_of_commerce": "",
"bank_account": "",
"is_trusted": false,
"max_transfer_amount": null,
"attention": "",
"email": "info@example.com",
"email_ubl": true,
"send_invoices_to_attention": "",
"send_invoices_to_email": "info@example.com",
"send_estimates_to_attention": "",
"send_estimates_to_email": "info@example.com",
"sepa_active": false,
"sepa_iban": "",
"sepa_iban_account_name": "",
"sepa_bic": "",
"sepa_mandate_id": "",
"sepa_mandate_date": null,
"sepa_sequence_type": "RCUR",
"credit_card_number": "",
"credit_card_reference": "",
"credit_card_type": null,
"tax_number_validated_at": null,
"tax_number_valid": null,
"invoice_workflow_id": null,
"estimate_workflow_id": null,
"si_identifier": "",
"si_identifier_type": null,
"moneybird_payments_mandate": false,
"created_at": "2025-02-17T10:46:08.187Z",
"updated_at": "2025-02-17T10:46:08.187Z",
"version": 1739789168,
"sales_invoices_url": "https://moneybird.dev/123/sales_invoices/9b90e2a017b862d321d102cc636fba69211d38a6c525f18325bd8237b015fb7b/all",
"notes": [],
"custom_fields": [],
"contact_people": [],
"archived": false
},
"reference": "Lunch supermarket",
"date": "2025-02-17",
"due_date": null,
"entry_number": 4,
"state": "open",
"currency": "EUR",
"exchange_rate": "1.0",
"revenue_invoice": false,
"prices_are_incl_tax": true,
"origin": null,
"paid_at": null,
"tax_number": "",
"total_price_excl_tax": "247.93",
"total_price_excl_tax_base": "247.93",
"total_price_incl_tax": "300.0",
"total_price_incl_tax_base": "300.0",
"created_at": "2025-02-17T10:46:08.366Z",
"updated_at": "2025-02-17T10:46:08.369Z",
"version": 1739789168,
"details": [
{
"id": "446241593514526338",
"administration_id": 123,
"tax_rate_id": "446241518964966551",
"ledger_account_id": "446241518911489155",
"project_id": null,
"product_id": null,
"amount": null,
"amount_decimal": "1.0",
"description": "Delivery Apple iPad",
"price": "300.0",
"period": null,
"row_order": 0,
"total_price_excl_tax_with_discount": "247.93",
"total_price_excl_tax_with_discount_base": "247.93",
"tax_report_reference": [
"NL/5b"
],
"mandatory_tax_text": null,
"created_at": "2025-02-17T10:46:08.368Z",
"updated_at": "2025-02-17T10:46:08.368Z",
"time_entries": []
}
],
"payments": [],
"notes": [],
"attachments": [],
"events": [
{
"administration_id": 123,
"user_id": 17397890963220,
"action": "document_saved",
"link_entity_id": null,
"link_entity_type": null,
"data": {},
"created_at": "2025-02-17T10:46:08.371Z",
"updated_at": "2025-02-17T10:46:08.371Z"
}
]
}
]
Get receipts
Returns a paginated list of documents of this type in the administration.
The filter
argument allows you to filter on the list of documents. Filters are a combination of keys and values,
separated by a comma: key:value,key2:value2
. The most common filter method will be period
: period:this_month
.
Filtering works the same as in the web application, for more advanced examples, change the filtering in the web
application and learn from the resulting URI.
Parameters
Parameter | Type | Description |
---|---|---|
filter |
String |
Required String terms, example: |
new_filter |
String |
String terms, example: |
page |
Integer |
|
per_page |
Integer |
|
exclude_new_general_journal_documents |
Boolean |
Example: returns a list of receipts
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XGET \
https://moneybird.com/api/v2/123/documents/receipts.json?
Response
Status: 200 OK
[
{
"id": "446241587630965926",
"administration_id": 123,
"contact_id": "446241587449562251",
"contact": {
"id": "446241587449562251",
"administration_id": 123,
"company_name": "Foobar Holding B.V.",
"firstname": "",
"lastname": "",
"address1": "Hoofdstraat 12",
"address2": "",
"zipcode": "1234AB",
"city": "Amsterdam",
"country": "NL",
"phone": "",
"delivery_method": "Email",
"customer_id": "1",
"tax_number": "",
"chamber_of_commerce": "",
"bank_account": "",
"is_trusted": false,
"max_transfer_amount": null,
"attention": "",
"email": "info@example.com",
"email_ubl": true,
"send_invoices_to_attention": "",
"send_invoices_to_email": "info@example.com",
"send_estimates_to_attention": "",
"send_estimates_to_email": "info@example.com",
"sepa_active": false,
"sepa_iban": "",
"sepa_iban_account_name": "",
"sepa_bic": "",
"sepa_mandate_id": "",
"sepa_mandate_date": null,
"sepa_sequence_type": "RCUR",
"credit_card_number": "",
"credit_card_reference": "",
"credit_card_type": null,
"tax_number_validated_at": null,
"tax_number_valid": null,
"invoice_workflow_id": null,
"estimate_workflow_id": null,
"si_identifier": "",
"si_identifier_type": null,
"moneybird_payments_mandate": false,
"created_at": "2025-02-17T10:46:02.583Z",
"updated_at": "2025-02-17T10:46:02.583Z",
"version": 1739789162,
"sales_invoices_url": "https://moneybird.dev/123/sales_invoices/b4303b96752ae2c6f60b93671f110f41fa541b28929983fa985694893ca03682/all",
"notes": [],
"custom_fields": [],
"contact_people": [],
"archived": false
},
"reference": "Lunch supermarket",
"date": "2025-02-17",
"due_date": null,
"entry_number": 5,
"state": "open",
"currency": "EUR",
"exchange_rate": "1.0",
"revenue_invoice": false,
"prices_are_incl_tax": true,
"origin": null,
"paid_at": null,
"tax_number": "",
"total_price_excl_tax": "247.93",
"total_price_excl_tax_base": "247.93",
"total_price_incl_tax": "300.0",
"total_price_incl_tax_base": "300.0",
"created_at": "2025-02-17T10:46:02.756Z",
"updated_at": "2025-02-17T10:46:02.759Z",
"version": 1739789162,
"details": [
{
"id": "446241587632014503",
"administration_id": 123,
"tax_rate_id": "446241518964966551",
"ledger_account_id": "446241518911489155",
"project_id": null,
"product_id": null,
"amount": null,
"amount_decimal": "1.0",
"description": "Delivery Apple iPad",
"price": "300.0",
"period": null,
"row_order": 0,
"total_price_excl_tax_with_discount": "247.93",
"total_price_excl_tax_with_discount_base": "247.93",
"tax_report_reference": [
"NL/5b"
],
"mandatory_tax_text": null,
"created_at": "2025-02-17T10:46:02.758Z",
"updated_at": "2025-02-17T10:46:02.758Z",
"time_entries": []
}
],
"payments": [],
"notes": [],
"attachments": [],
"events": [
{
"administration_id": 123,
"user_id": 17397890963220,
"action": "document_saved",
"link_entity_id": null,
"link_entity_type": null,
"data": {},
"created_at": "2025-02-17T10:46:02.761Z",
"updated_at": "2025-02-17T10:46:02.761Z"
}
]
},
{
"id": "446241587596362912",
"administration_id": 123,
"contact_id": "446241587449562251",
"contact": {
"id": "446241587449562251",
"administration_id": 123,
"company_name": "Foobar Holding B.V.",
"firstname": "",
"lastname": "",
"address1": "Hoofdstraat 12",
"address2": "",
"zipcode": "1234AB",
"city": "Amsterdam",
"country": "NL",
"phone": "",
"delivery_method": "Email",
"customer_id": "1",
"tax_number": "",
"chamber_of_commerce": "",
"bank_account": "",
"is_trusted": false,
"max_transfer_amount": null,
"attention": "",
"email": "info@example.com",
"email_ubl": true,
"send_invoices_to_attention": "",
"send_invoices_to_email": "info@example.com",
"send_estimates_to_attention": "",
"send_estimates_to_email": "info@example.com",
"sepa_active": false,
"sepa_iban": "",
"sepa_iban_account_name": "",
"sepa_bic": "",
"sepa_mandate_id": "",
"sepa_mandate_date": null,
"sepa_sequence_type": "RCUR",
"credit_card_number": "",
"credit_card_reference": "",
"credit_card_type": null,
"tax_number_validated_at": null,
"tax_number_valid": null,
"invoice_workflow_id": null,
"estimate_workflow_id": null,
"si_identifier": "",
"si_identifier_type": null,
"moneybird_payments_mandate": false,
"created_at": "2025-02-17T10:46:02.583Z",
"updated_at": "2025-02-17T10:46:02.583Z",
"version": 1739789162,
"sales_invoices_url": "https://moneybird.dev/123/sales_invoices/b4303b96752ae2c6f60b93671f110f41fa541b28929983fa985694893ca03682/all",
"notes": [],
"custom_fields": [],
"contact_people": [],
"archived": false
},
"reference": "Lunch supermarket",
"date": "2025-02-17",
"due_date": null,
"entry_number": 4,
"state": "open",
"currency": "EUR",
"exchange_rate": "1.0",
"revenue_invoice": false,
"prices_are_incl_tax": true,
"origin": null,
"paid_at": null,
"tax_number": "",
"total_price_excl_tax": "247.93",
"total_price_excl_tax_base": "247.93",
"total_price_incl_tax": "300.0",
"total_price_incl_tax_base": "300.0",
"created_at": "2025-02-17T10:46:02.723Z",
"updated_at": "2025-02-17T10:46:02.727Z",
"version": 1739789162,
"details": [
{
"id": "446241587598460065",
"administration_id": 123,
"tax_rate_id": "446241518964966551",
"ledger_account_id": "446241518911489155",
"project_id": null,
"product_id": null,
"amount": null,
"amount_decimal": "1.0",
"description": "Delivery Apple iPad",
"price": "300.0",
"period": null,
"row_order": 0,
"total_price_excl_tax_with_discount": "247.93",
"total_price_excl_tax_with_discount_base": "247.93",
"tax_report_reference": [
"NL/5b"
],
"mandatory_tax_text": null,
"created_at": "2025-02-17T10:46:02.725Z",
"updated_at": "2025-02-17T10:46:02.725Z",
"time_entries": []
}
],
"payments": [],
"notes": [],
"attachments": [],
"events": [
{
"administration_id": 123,
"user_id": 17397890963220,
"action": "document_saved",
"link_entity_id": null,
"link_entity_type": null,
"data": {},
"created_at": "2025-02-17T10:46:02.728Z",
"updated_at": "2025-02-17T10:46:02.728Z"
}
]
},
{
"id": "446241587561759898",
"administration_id": 123,
"contact_id": "446241587449562251",
"contact": {
"id": "446241587449562251",
"administration_id": 123,
"company_name": "Foobar Holding B.V.",
"firstname": "",
"lastname": "",
"address1": "Hoofdstraat 12",
"address2": "",
"zipcode": "1234AB",
"city": "Amsterdam",
"country": "NL",
"phone": "",
"delivery_method": "Email",
"customer_id": "1",
"tax_number": "",
"chamber_of_commerce": "",
"bank_account": "",
"is_trusted": false,
"max_transfer_amount": null,
"attention": "",
"email": "info@example.com",
"email_ubl": true,
"send_invoices_to_attention": "",
"send_invoices_to_email": "info@example.com",
"send_estimates_to_attention": "",
"send_estimates_to_email": "info@example.com",
"sepa_active": false,
"sepa_iban": "",
"sepa_iban_account_name": "",
"sepa_bic": "",
"sepa_mandate_id": "",
"sepa_mandate_date": null,
"sepa_sequence_type": "RCUR",
"credit_card_number": "",
"credit_card_reference": "",
"credit_card_type": null,
"tax_number_validated_at": null,
"tax_number_valid": null,
"invoice_workflow_id": null,
"estimate_workflow_id": null,
"si_identifier": "",
"si_identifier_type": null,
"moneybird_payments_mandate": false,
"created_at": "2025-02-17T10:46:02.583Z",
"updated_at": "2025-02-17T10:46:02.583Z",
"version": 1739789162,
"sales_invoices_url": "https://moneybird.dev/123/sales_invoices/b4303b96752ae2c6f60b93671f110f41fa541b28929983fa985694893ca03682/all",
"notes": [],
"custom_fields": [],
"contact_people": [],
"archived": false
},
"reference": "Lunch supermarket",
"date": "2025-02-17",
"due_date": null,
"entry_number": 3,
"state": "open",
"currency": "EUR",
"exchange_rate": "1.0",
"revenue_invoice": false,
"prices_are_incl_tax": true,
"origin": null,
"paid_at": null,
"tax_number": "",
"total_price_excl_tax": "247.93",
"total_price_excl_tax_base": "247.93",
"total_price_incl_tax": "300.0",
"total_price_incl_tax_base": "300.0",
"created_at": "2025-02-17T10:46:02.691Z",
"updated_at": "2025-02-17T10:46:02.694Z",
"version": 1739789162,
"details": [
{
"id": "446241587563857051",
"administration_id": 123,
"tax_rate_id": "446241518964966551",
"ledger_account_id": "446241518911489155",
"project_id": null,
"product_id": null,
"amount": null,
"amount_decimal": "1.0",
"description": "Delivery Apple iPad",
"price": "300.0",
"period": null,
"row_order": 0,
"total_price_excl_tax_with_discount": "247.93",
"total_price_excl_tax_with_discount_base": "247.93",
"tax_report_reference": [
"NL/5b"
],
"mandatory_tax_text": null,
"created_at": "2025-02-17T10:46:02.692Z",
"updated_at": "2025-02-17T10:46:02.692Z",
"time_entries": []
}
],
"payments": [],
"notes": [],
"attachments": [],
"events": [
{
"administration_id": 123,
"user_id": 17397890963220,
"action": "document_saved",
"link_entity_id": null,
"link_entity_type": null,
"data": {},
"created_at": "2025-02-17T10:46:02.695Z",
"updated_at": "2025-02-17T10:46:02.695Z"
}
]
}
]
Example: returns paginated receipts on page 1
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XGET \
https://moneybird.com/api/v2/123/documents/receipts.json?per_page=1
Response
Status: 200 OK
[
{
"id": "446241587938198729",
"administration_id": 123,
"contact_id": "446241587760989358",
"contact": {
"id": "446241587760989358",
"administration_id": 123,
"company_name": "Foobar Holding B.V.",
"firstname": "",
"lastname": "",
"address1": "Hoofdstraat 12",
"address2": "",
"zipcode": "1234AB",
"city": "Amsterdam",
"country": "NL",
"phone": "",
"delivery_method": "Email",
"customer_id": "1",
"tax_number": "",
"chamber_of_commerce": "",
"bank_account": "",
"is_trusted": false,
"max_transfer_amount": null,
"attention": "",
"email": "info@example.com",
"email_ubl": true,
"send_invoices_to_attention": "",
"send_invoices_to_email": "info@example.com",
"send_estimates_to_attention": "",
"send_estimates_to_email": "info@example.com",
"sepa_active": false,
"sepa_iban": "",
"sepa_iban_account_name": "",
"sepa_bic": "",
"sepa_mandate_id": "",
"sepa_mandate_date": null,
"sepa_sequence_type": "RCUR",
"credit_card_number": "",
"credit_card_reference": "",
"credit_card_type": null,
"tax_number_validated_at": null,
"tax_number_valid": null,
"invoice_workflow_id": null,
"estimate_workflow_id": null,
"si_identifier": "",
"si_identifier_type": null,
"moneybird_payments_mandate": false,
"created_at": "2025-02-17T10:46:02.881Z",
"updated_at": "2025-02-17T10:46:02.881Z",
"version": 1739789162,
"sales_invoices_url": "https://moneybird.dev/123/sales_invoices/7d7ee8d405b835831767d5bad57a397d739615cc331af6c251f1346e3a359ce4/all",
"notes": [],
"custom_fields": [],
"contact_people": [],
"archived": false
},
"reference": "Lunch supermarket",
"date": "2025-02-17",
"due_date": null,
"entry_number": 5,
"state": "open",
"currency": "EUR",
"exchange_rate": "1.0",
"revenue_invoice": false,
"prices_are_incl_tax": true,
"origin": null,
"paid_at": null,
"tax_number": "",
"total_price_excl_tax": "247.93",
"total_price_excl_tax_base": "247.93",
"total_price_incl_tax": "300.0",
"total_price_incl_tax_base": "300.0",
"created_at": "2025-02-17T10:46:03.049Z",
"updated_at": "2025-02-17T10:46:03.053Z",
"version": 1739789163,
"details": [
{
"id": "446241587939247306",
"administration_id": 123,
"tax_rate_id": "446241518964966551",
"ledger_account_id": "446241518911489155",
"project_id": null,
"product_id": null,
"amount": null,
"amount_decimal": "1.0",
"description": "Delivery Apple iPad",
"price": "300.0",
"period": null,
"row_order": 0,
"total_price_excl_tax_with_discount": "247.93",
"total_price_excl_tax_with_discount_base": "247.93",
"tax_report_reference": [
"NL/5b"
],
"mandatory_tax_text": null,
"created_at": "2025-02-17T10:46:03.051Z",
"updated_at": "2025-02-17T10:46:03.051Z",
"time_entries": []
}
],
"payments": [],
"notes": [],
"attachments": [],
"events": [
{
"administration_id": 123,
"user_id": 17397890963220,
"action": "document_saved",
"link_entity_id": null,
"link_entity_type": null,
"data": {},
"created_at": "2025-02-17T10:46:03.054Z",
"updated_at": "2025-02-17T10:46:03.054Z"
}
]
}
]
Example: returns paginated receipts on page 2
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XGET \
https://moneybird.com/api/v2/123/documents/receipts.json?page=2&per_page=1
Response
Status: 200 OK
[
{
"id": "446241588216071398",
"administration_id": 123,
"contact_id": "446241588077659345",
"contact": {
"id": "446241588077659345",
"administration_id": 123,
"company_name": "Foobar Holding B.V.",
"firstname": "",
"lastname": "",
"address1": "Hoofdstraat 12",
"address2": "",
"zipcode": "1234AB",
"city": "Amsterdam",
"country": "NL",
"phone": "",
"delivery_method": "Email",
"customer_id": "1",
"tax_number": "",
"chamber_of_commerce": "",
"bank_account": "",
"is_trusted": false,
"max_transfer_amount": null,
"attention": "",
"email": "info@example.com",
"email_ubl": true,
"send_invoices_to_attention": "",
"send_invoices_to_email": "info@example.com",
"send_estimates_to_attention": "",
"send_estimates_to_email": "info@example.com",
"sepa_active": false,
"sepa_iban": "",
"sepa_iban_account_name": "",
"sepa_bic": "",
"sepa_mandate_id": "",
"sepa_mandate_date": null,
"sepa_sequence_type": "RCUR",
"credit_card_number": "",
"credit_card_reference": "",
"credit_card_type": null,
"tax_number_validated_at": null,
"tax_number_valid": null,
"invoice_workflow_id": null,
"estimate_workflow_id": null,
"si_identifier": "",
"si_identifier_type": null,
"moneybird_payments_mandate": false,
"created_at": "2025-02-17T10:46:03.182Z",
"updated_at": "2025-02-17T10:46:03.182Z",
"version": 1739789163,
"sales_invoices_url": "https://moneybird.dev/123/sales_invoices/c4a524ff7c51f54dfdb5c042649d50111487b800e8cef38273edf605f9ee837b/all",
"notes": [],
"custom_fields": [],
"contact_people": [],
"archived": false
},
"reference": "Lunch supermarket",
"date": "2025-02-17",
"due_date": null,
"entry_number": 4,
"state": "open",
"currency": "EUR",
"exchange_rate": "1.0",
"revenue_invoice": false,
"prices_are_incl_tax": true,
"origin": null,
"paid_at": null,
"tax_number": "",
"total_price_excl_tax": "247.93",
"total_price_excl_tax_base": "247.93",
"total_price_incl_tax": "300.0",
"total_price_incl_tax_base": "300.0",
"created_at": "2025-02-17T10:46:03.315Z",
"updated_at": "2025-02-17T10:46:03.318Z",
"version": 1739789163,
"details": [
{
"id": "446241588217119975",
"administration_id": 123,
"tax_rate_id": "446241518964966551",
"ledger_account_id": "446241518911489155",
"project_id": null,
"product_id": null,
"amount": null,
"amount_decimal": "1.0",
"description": "Delivery Apple iPad",
"price": "300.0",
"period": null,
"row_order": 0,
"total_price_excl_tax_with_discount": "247.93",
"total_price_excl_tax_with_discount_base": "247.93",
"tax_report_reference": [
"NL/5b"
],
"mandatory_tax_text": null,
"created_at": "2025-02-17T10:46:03.316Z",
"updated_at": "2025-02-17T10:46:03.316Z",
"time_entries": []
}
],
"payments": [],
"notes": [],
"attachments": [],
"events": [
{
"administration_id": 123,
"user_id": 17397890963220,
"action": "document_saved",
"link_entity_id": null,
"link_entity_type": null,
"data": {},
"created_at": "2025-02-17T10:46:03.319Z",
"updated_at": "2025-02-17T10:46:03.319Z"
}
]
}
]
Example: returns an error when too many receipts are requested
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XGET \
https://moneybird.com/api/v2/123/documents/receipts.json?per_page=101
Response
Status: 400 Bad Request
{
"error": "Per Page is too big",
"symbolic": {
"per_page": "max"
}
}
Get receipts
Example: returns the wanted receipt
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XGET \
https://moneybird.com/api/v2/123/documents/receipts/446241589255210307.json?
Response
Status: 200 OK
{
"id": "446241589255210307",
"administration_id": 123,
"contact_id": "446241589214315840",
"contact": {
"id": "446241589214315840",
"administration_id": 123,
"company_name": "Foobar Holding B.V.",
"firstname": "",
"lastname": "",
"address1": "Hoofdstraat 12",
"address2": "",
"zipcode": "1234AB",
"city": "Amsterdam",
"country": "NL",
"phone": "",
"delivery_method": "Email",
"customer_id": "1",
"tax_number": "",
"chamber_of_commerce": "",
"bank_account": "",
"is_trusted": false,
"max_transfer_amount": null,
"attention": "",
"email": "info@example.com",
"email_ubl": true,
"send_invoices_to_attention": "",
"send_invoices_to_email": "info@example.com",
"send_estimates_to_attention": "",
"send_estimates_to_email": "info@example.com",
"sepa_active": false,
"sepa_iban": "",
"sepa_iban_account_name": "",
"sepa_bic": "",
"sepa_mandate_id": "",
"sepa_mandate_date": null,
"sepa_sequence_type": "RCUR",
"credit_card_number": "",
"credit_card_reference": "",
"credit_card_type": null,
"tax_number_validated_at": null,
"tax_number_valid": null,
"invoice_workflow_id": null,
"estimate_workflow_id": null,
"si_identifier": "",
"si_identifier_type": null,
"moneybird_payments_mandate": false,
"created_at": "2025-02-17T10:46:04.266Z",
"updated_at": "2025-02-17T10:46:04.266Z",
"version": 1739789164,
"sales_invoices_url": "https://moneybird.dev/123/sales_invoices/f07af3addc4617a3c5f104a3ffee3884846fd51bbd6d34e45fa2ca778f6348f8/all",
"notes": [],
"custom_fields": [],
"contact_people": [],
"archived": false
},
"reference": "Lunch supermarket",
"date": "2025-02-17",
"due_date": null,
"entry_number": 1,
"state": "open",
"currency": "EUR",
"exchange_rate": "1.0",
"revenue_invoice": false,
"prices_are_incl_tax": true,
"origin": null,
"paid_at": null,
"tax_number": "",
"total_price_excl_tax": "247.93",
"total_price_excl_tax_base": "247.93",
"total_price_incl_tax": "300.0",
"total_price_incl_tax_base": "300.0",
"created_at": "2025-02-17T10:46:04.305Z",
"updated_at": "2025-02-17T10:46:04.309Z",
"version": 1739789164,
"details": [
{
"id": "446241589256258884",
"administration_id": 123,
"tax_rate_id": "446241518964966551",
"ledger_account_id": "446241518911489155",
"project_id": null,
"product_id": null,
"amount": null,
"amount_decimal": "1.0",
"description": "Delivery Apple iPad",
"price": "300.0",
"period": null,
"row_order": 0,
"total_price_excl_tax_with_discount": "247.93",
"total_price_excl_tax_with_discount_base": "247.93",
"tax_report_reference": [
"NL/5b"
],
"mandatory_tax_text": null,
"created_at": "2025-02-17T10:46:04.307Z",
"updated_at": "2025-02-17T10:46:04.307Z",
"time_entries": []
}
],
"payments": [],
"notes": [],
"attachments": [],
"events": [
{
"administration_id": 123,
"user_id": 17397890963220,
"action": "document_saved",
"link_entity_id": null,
"link_entity_type": null,
"data": {},
"created_at": "2025-02-17T10:46:04.310Z",
"updated_at": "2025-02-17T10:46:04.310Z"
}
]
}
Example: only returns receipts
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XGET \
https://moneybird.com/api/v2/123/documents/receipts/446241589544617306.json?
Response
Status: 404 Not Found
{
"error": "record not found",
"symbolic": {
"id": "not_found"
}
}
Create a new receipts
Parameters
Parameter | Type | Description |
---|---|---|
receipt[contact_id] |
Integer |
Required. Should be a valid contact id. |
receipt[reference] |
String |
Required. |
receipt[date] |
String |
Required Required. |
receipt[currency] |
String |
ISO three-character currency code, e.g. EUR or USD. |
receipt[prices_are_incl_tax] |
Boolean |
|
receipt[origin] |
String |
Can be |
receipt[details_attributes][id] |
Integer |
|
receipt[details_attributes][description] |
String |
|
receipt[details_attributes][period] |
String |
String with a date range: |
receipt[details_attributes][price] |
Decimal |
Both a decimal and a string ‘10,95’ are accepted. |
receipt[details_attributes][amount] |
String |
|
receipt[details_attributes][tax_rate_id] |
Integer |
Should be a valid tax rate id. |
receipt[details_attributes][ledger_account_id] |
Integer |
Should be a valid ledger account id. |
receipt[details_attributes][project_id] |
Integer |
Should be a valid project id. |
receipt[details_attributes][row_order] |
Integer |
|
receipt[details_attributes][_destroy] |
Boolean |
|
payment[financial_account_id] |
Integer |
Should be a valid financial account id. |
Example: creates the receipt
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XPOST \
-d '{"receipt":{"reference":"foobar","contact_id":446241589650523490,"details_attributes":{"0":{"description":"Lunch","price":20,"tax_rate_id":446241518964966551,"ledger_account_id":446241518911489155}}}}' \
https://moneybird.com/api/v2/123/documents/receipts.json
Response
Status: 201 Created
{
"id": "446241589840315761",
"administration_id": 123,
"contact_id": "446241589650523490",
"contact": {
"id": "446241589650523490",
"administration_id": 123,
"company_name": "Foobar Holding B.V.",
"firstname": "",
"lastname": "",
"address1": "Hoofdstraat 12",
"address2": "",
"zipcode": "1234AB",
"city": "Amsterdam",
"country": "NL",
"phone": "",
"delivery_method": "Email",
"customer_id": "1",
"tax_number": "",
"chamber_of_commerce": "",
"bank_account": "",
"is_trusted": false,
"max_transfer_amount": null,
"attention": "",
"email": "info@example.com",
"email_ubl": true,
"send_invoices_to_attention": "",
"send_invoices_to_email": "info@example.com",
"send_estimates_to_attention": "",
"send_estimates_to_email": "info@example.com",
"sepa_active": false,
"sepa_iban": "",
"sepa_iban_account_name": "",
"sepa_bic": "",
"sepa_mandate_id": "",
"sepa_mandate_date": null,
"sepa_sequence_type": "RCUR",
"credit_card_number": "",
"credit_card_reference": "",
"credit_card_type": null,
"tax_number_validated_at": null,
"tax_number_valid": null,
"invoice_workflow_id": null,
"estimate_workflow_id": null,
"si_identifier": "",
"si_identifier_type": null,
"moneybird_payments_mandate": false,
"created_at": "2025-02-17T10:46:04.683Z",
"updated_at": "2025-02-17T10:46:04.683Z",
"version": 1739789164,
"sales_invoices_url": "https://moneybird.dev/123/sales_invoices/e6ac1725b2a2bf1941d432cc837ce938690b651218cda96c16390823c4e474ed/all",
"notes": [],
"custom_fields": [],
"contact_people": [],
"archived": false
},
"reference": "foobar",
"date": "2025-02-17",
"due_date": null,
"entry_number": 3,
"state": "open",
"currency": "EUR",
"exchange_rate": "1.0",
"revenue_invoice": false,
"prices_are_incl_tax": true,
"origin": null,
"paid_at": null,
"tax_number": "",
"total_price_excl_tax": "16.53",
"total_price_excl_tax_base": "16.53",
"total_price_incl_tax": "20.0",
"total_price_incl_tax_base": "20.0",
"created_at": "2025-02-17T10:46:04.863Z",
"updated_at": "2025-02-17T10:46:04.866Z",
"version": 1739789164,
"details": [
{
"id": "446241589841364338",
"administration_id": 123,
"tax_rate_id": "446241518964966551",
"ledger_account_id": "446241518911489155",
"project_id": null,
"product_id": null,
"amount": null,
"amount_decimal": "1.0",
"description": "Lunch",
"price": "20.0",
"period": null,
"row_order": 0,
"total_price_excl_tax_with_discount": "16.53",
"total_price_excl_tax_with_discount_base": "16.53",
"tax_report_reference": [
"NL/5b"
],
"mandatory_tax_text": null,
"created_at": "2025-02-17T10:46:04.865Z",
"updated_at": "2025-02-17T10:46:04.865Z",
"time_entries": []
}
],
"payments": [],
"notes": [],
"attachments": [],
"events": [
{
"administration_id": 123,
"user_id": 17397890963220,
"action": "document_saved",
"link_entity_id": null,
"link_entity_type": null,
"data": {},
"created_at": "2025-02-17T10:46:04.867Z",
"updated_at": "2025-02-17T10:46:04.867Z"
}
]
}
Example: requires all input
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XPOST \
-d '{}' \
https://moneybird.com/api/v2/123/documents/receipts.json
Response
Status: 400 Bad Request
{
"error": "Receipt is required",
"symbolic": {
"receipt": "required"
}
}
Delete a receipts
Parameters
Parameter | Type | Description |
---|---|---|
refresh_journal_entries |
Boolean |
Example: deletes the receipt
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XDELETE \
-d '{}' \
https://moneybird.com/api/v2/123/documents/receipts/446241590952854990.json
Response
Status: 200 OK
200
Update a receipts
Parameters
Parameter | Type | Description |
---|---|---|
receipt[contact_id] |
Integer |
Required. Should be a valid contact id. |
receipt[reference] |
String |
Required. |
receipt[date] |
String |
Required Required. |
receipt[currency] |
String |
ISO three-character currency code, e.g. EUR or USD. |
receipt[prices_are_incl_tax] |
Boolean |
|
receipt[origin] |
String |
Can be |
receipt[details_attributes][id] |
Integer |
|
receipt[details_attributes][description] |
String |
|
receipt[details_attributes][period] |
String |
String with a date range: |
receipt[details_attributes][price] |
Decimal |
Both a decimal and a string ‘10,95’ are accepted. |
receipt[details_attributes][amount] |
String |
|
receipt[details_attributes][tax_rate_id] |
Integer |
Should be a valid tax rate id. |
receipt[details_attributes][ledger_account_id] |
Integer |
Should be a valid ledger account id. |
receipt[details_attributes][project_id] |
Integer |
Should be a valid project id. |
receipt[details_attributes][row_order] |
Integer |
|
receipt[details_attributes][_destroy] |
Boolean |
|
payment[financial_account_id] |
Integer |
Should be a valid financial account id. |
Example: updates the receipt
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XPATCH \
-d '{"receipt":{"reference":"updated reference"}}' \
https://moneybird.com/api/v2/123/documents/receipts/446241590174811533.json
Response
Status: 200 OK
{
"id": "446241590174811533",
"administration_id": 123,
"contact_id": "446241590130771338",
"contact": {
"id": "446241590130771338",
"administration_id": 123,
"company_name": "Foobar Holding B.V.",
"firstname": "",
"lastname": "",
"address1": "Hoofdstraat 12",
"address2": "",
"zipcode": "1234AB",
"city": "Amsterdam",
"country": "NL",
"phone": "",
"delivery_method": "Email",
"customer_id": "1",
"tax_number": "",
"chamber_of_commerce": "",
"bank_account": "",
"is_trusted": false,
"max_transfer_amount": null,
"attention": "",
"email": "info@example.com",
"email_ubl": true,
"send_invoices_to_attention": "",
"send_invoices_to_email": "info@example.com",
"send_estimates_to_attention": "",
"send_estimates_to_email": "info@example.com",
"sepa_active": false,
"sepa_iban": "",
"sepa_iban_account_name": "",
"sepa_bic": "",
"sepa_mandate_id": "",
"sepa_mandate_date": null,
"sepa_sequence_type": "RCUR",
"credit_card_number": "",
"credit_card_reference": "",
"credit_card_type": null,
"tax_number_validated_at": null,
"tax_number_valid": null,
"invoice_workflow_id": null,
"estimate_workflow_id": null,
"si_identifier": "",
"si_identifier_type": null,
"moneybird_payments_mandate": false,
"created_at": "2025-02-17T10:46:05.140Z",
"updated_at": "2025-02-17T10:46:05.140Z",
"version": 1739789165,
"sales_invoices_url": "https://moneybird.dev/123/sales_invoices/d463a8e6b708ab86eaa1aa40fef3aba7fabe27831e129875a6067ff4e44168fb/all",
"notes": [],
"custom_fields": [],
"contact_people": [],
"archived": false
},
"reference": "updated reference",
"date": "2025-02-17",
"due_date": null,
"entry_number": 1,
"state": "open",
"currency": "EUR",
"exchange_rate": "1.0",
"revenue_invoice": false,
"prices_are_incl_tax": true,
"origin": null,
"paid_at": null,
"tax_number": "",
"total_price_excl_tax": "247.93",
"total_price_excl_tax_base": "247.93",
"total_price_incl_tax": "300.0",
"total_price_incl_tax_base": "300.0",
"created_at": "2025-02-17T10:46:05.182Z",
"updated_at": "2025-02-17T10:46:05.308Z",
"version": 1739789165,
"details": [
{
"id": "446241590179005838",
"administration_id": 123,
"tax_rate_id": "446241518964966551",
"ledger_account_id": "446241518911489155",
"project_id": null,
"product_id": null,
"amount": null,
"amount_decimal": "1.0",
"description": "Delivery Apple iPad",
"price": "300.0",
"period": null,
"row_order": 0,
"total_price_excl_tax_with_discount": "247.93",
"total_price_excl_tax_with_discount_base": "247.93",
"tax_report_reference": [
"NL/5b"
],
"mandatory_tax_text": null,
"created_at": "2025-02-17T10:46:05.184Z",
"updated_at": "2025-02-17T10:46:05.184Z",
"time_entries": []
}
],
"payments": [],
"notes": [],
"attachments": [],
"events": [
{
"administration_id": 123,
"user_id": 17397890963220,
"action": "document_saved",
"link_entity_id": null,
"link_entity_type": null,
"data": {},
"created_at": "2025-02-17T10:46:05.190Z",
"updated_at": "2025-02-17T10:46:05.190Z"
},
{
"administration_id": 123,
"user_id": 17397890963220,
"action": "document_updated",
"link_entity_id": null,
"link_entity_type": null,
"data": {
"changes": {
"reference": [
"Lunch supermarket",
"updated reference"
],
"updated_at": [
"2025-02-17T11:46:05.188+01:00",
"2025-02-17T11:46:05.308+01:00"
]
}
},
"created_at": "2025-02-17T10:46:05.312Z",
"updated_at": "2025-02-17T10:46:05.312Z"
}
]
}
Example: updates the receipt details
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XPATCH \
-d '{"receipt":{"details_attributes":{"0":{"id":446241590445344166,"description":"updated description","price":20}}}}' \
https://moneybird.com/api/v2/123/documents/receipts/446241590444295589.json
Response
Status: 200 OK
{
"id": "446241590444295589",
"administration_id": 123,
"contact_id": "446241590403401122",
"contact": {
"id": "446241590403401122",
"administration_id": 123,
"company_name": "Foobar Holding B.V.",
"firstname": "",
"lastname": "",
"address1": "Hoofdstraat 12",
"address2": "",
"zipcode": "1234AB",
"city": "Amsterdam",
"country": "NL",
"phone": "",
"delivery_method": "Email",
"customer_id": "1",
"tax_number": "",
"chamber_of_commerce": "",
"bank_account": "",
"is_trusted": false,
"max_transfer_amount": null,
"attention": "",
"email": "info@example.com",
"email_ubl": true,
"send_invoices_to_attention": "",
"send_invoices_to_email": "info@example.com",
"send_estimates_to_attention": "",
"send_estimates_to_email": "info@example.com",
"sepa_active": false,
"sepa_iban": "",
"sepa_iban_account_name": "",
"sepa_bic": "",
"sepa_mandate_id": "",
"sepa_mandate_date": null,
"sepa_sequence_type": "RCUR",
"credit_card_number": "",
"credit_card_reference": "",
"credit_card_type": null,
"tax_number_validated_at": null,
"tax_number_valid": null,
"invoice_workflow_id": null,
"estimate_workflow_id": null,
"si_identifier": "",
"si_identifier_type": null,
"moneybird_payments_mandate": false,
"created_at": "2025-02-17T10:46:05.400Z",
"updated_at": "2025-02-17T10:46:05.400Z",
"version": 1739789165,
"sales_invoices_url": "https://moneybird.dev/123/sales_invoices/2672f7b3d2ed5432ca88fb619b40a8dbb5f3c4fcbe65c1a784dcea2f690e77c5/all",
"notes": [],
"custom_fields": [],
"contact_people": [],
"archived": false
},
"reference": "Lunch supermarket",
"date": "2025-02-17",
"due_date": null,
"entry_number": 1,
"state": "open",
"currency": "EUR",
"exchange_rate": "1.0",
"revenue_invoice": false,
"prices_are_incl_tax": true,
"origin": null,
"paid_at": null,
"tax_number": "",
"total_price_excl_tax": "16.53",
"total_price_excl_tax_base": "16.53",
"total_price_incl_tax": "20.0",
"total_price_incl_tax_base": "20.0",
"created_at": "2025-02-17T10:46:05.440Z",
"updated_at": "2025-02-17T10:46:05.611Z",
"version": 1739789165,
"details": [
{
"id": "446241590445344166",
"administration_id": 123,
"tax_rate_id": "446241518964966551",
"ledger_account_id": "446241518911489155",
"project_id": null,
"product_id": null,
"amount": null,
"amount_decimal": "1.0",
"description": "updated description",
"price": "20.0",
"period": null,
"row_order": 0,
"total_price_excl_tax_with_discount": "16.53",
"total_price_excl_tax_with_discount_base": "16.53",
"tax_report_reference": [
"NL/5b"
],
"mandatory_tax_text": null,
"created_at": "2025-02-17T10:46:05.441Z",
"updated_at": "2025-02-17T10:46:05.608Z",
"time_entries": []
}
],
"payments": [],
"notes": [],
"attachments": [],
"events": [
{
"administration_id": 123,
"user_id": 17397890963220,
"action": "document_saved",
"link_entity_id": null,
"link_entity_type": null,
"data": {},
"created_at": "2025-02-17T10:46:05.444Z",
"updated_at": "2025-02-17T10:46:05.444Z"
},
{
"administration_id": 123,
"user_id": 17397890963220,
"action": "document_updated",
"link_entity_id": null,
"link_entity_type": null,
"data": {
"changes": {
"total_price_excl_tax": [
"247.93",
"16.53"
],
"total_price_excl_tax_base": [
"247.93",
"16.53"
],
"total_price_incl_tax": [
"300.0",
"20.0"
],
"total_price_incl_tax_base": [
"300.0",
"20.0"
],
"cached_taxes": [
[
{
"tax_rate_id": "446241518964966551",
"report_reference": "NL/5b",
"payable": false,
"debit": "52.07",
"credit": 0
}
],
[
{
"tax_rate_id": "446241518964966551",
"report_reference": "NL/5b",
"payable": false,
"debit": "3.47",
"credit": 0
}
]
],
"updated_at": [
"2025-02-17T11:46:05.443+01:00",
"2025-02-17T11:46:05.605+01:00"
]
}
},
"created_at": "2025-02-17T10:46:05.612Z",
"updated_at": "2025-02-17T10:46:05.612Z"
}
]
}
DEPRECATED: Register a payment for a receipt
This endpoint is deprecated and should no longer be used. It has been replaced by Create a payment
.
Parameters
Parameter | Type | Description |
---|---|---|
payment[payment_date] |
String |
Required |
payment[price] |
Decimal |
Required Both a decimal and a string ‘10,95’ are accepted. Should be a number -1,000,000,000 <= n <= 1,000,000,000. |
payment[price_base] |
Decimal |
Amount paid expressed in the base currency. Required for foreign currencies. Should be a number -1,000,000,000 <= n <= 1,000,000,000. |
payment[financial_account_id] |
Integer |
Should be a valid financial account id. |
payment[financial_mutation_id] |
Integer |
Should be a valid financial mutation id. |
payment[transaction_identifier] |
String |
|
payment[manual_payment_action] |
String |
Can be |
payment[ledger_account_id] |
Integer |
Should be a valid ledger account id. |
payment[invoice_id] |
Integer |
Example: registers payments
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XPATCH \
-d '{"payment":{"payment_date":"2025-02-17 10:46:06 UTC","price":"300.0"}}' \
https://moneybird.com/api/v2/123/documents/receipts/446241591156278755/register_payment.json
Response
Status: 200 OK
200
Create a payment
Parameters
Parameter | Type | Description |
---|---|---|
payment[payment_date] |
String |
Required |
payment[price] |
Decimal |
Required Both a decimal and a string ‘10,95’ are accepted. Should be a number -1,000,000,000 <= n <= 1,000,000,000. |
payment[price_base] |
Decimal |
Amount paid expressed in the base currency. Required for foreign currencies. Should be a number -1,000,000,000 <= n <= 1,000,000,000. |
payment[financial_account_id] |
Integer |
Should be a valid financial account id. |
payment[financial_mutation_id] |
Integer |
Should be a valid financial mutation id. |
payment[transaction_identifier] |
String |
|
payment[manual_payment_action] |
String |
Can be |
payment[ledger_account_id] |
Integer |
Should be a valid ledger account id. |
payment[invoice_id] |
Integer |
Delete a payment
Add attachment to receipt
Example: uploads an attachment
Request
curl -s -H "Content-Type: multipart/mixed" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XPOST \
-F file=@/tmp/upload.pdf \
https://moneybird.com/api/v2/123/documents/receipts/446241592019256867/attachments.json
Response
Status: 200 OK
200
Download attachment
Download the attachment. The response will be a redirect to a temporarily available URL
where the attachment can be downloaded. Use the Location
header in the response
to download the attachment.
Delete an attachment
Deletes an attachment of an attachable.
Example: destroys an attachment
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XDELETE \
-d '{}' \
https://moneybird.com/api/v2/123/documents/receipts/446241593701172876/attachments/446241593861605016.json
Response
Adds note to entity
Parameters
Parameter | Type | Description |
---|---|---|
note[note] |
String |
Required. Text for the note or to-do. |
note[todo] |
Boolean |
If |
note[assignee_id] |
Integer |
Assign to-do to user. Should be a valid user id. If assignee_id is provided the note will be a to-do. |
Example: create a note
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XPOST \
-d '{"note":{"note":"Text of the note","assignee_id":446241588872480038,"todo":true}}' \
https://moneybird.com/api/v2/123/documents/receipts/446241588796982554/notes.json
Response
Status: 201 Created
{
"id": "446241588939588904",
"administration_id": 123,
"entity_id": "446241588796982554",
"entity_type": "Document",
"user_id": 17397890963220,
"assignee_id": "446241588872480038",
"todo": true,
"note": "Text of the note",
"completed_at": null,
"completed_by_id": null,
"todo_type": null,
"data": {},
"created_at": "2025-02-17T10:46:04.003Z",
"updated_at": "2025-02-17T10:46:04.003Z"
}
Destroys note from entity
Example: destroy a note
Request
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
-XDELETE \
-d '{}' \
https://moneybird.com/api/v2/123/documents/receipts/446241589030815023/notes/446241589092681019.json