The Finance, or Collect, API provides all the accounts receivable capabilities in Rhythm. This includes all aspects of Invoices, Credits, Payments, Credit Memos, and Debit Memos. Additionally, this API manages Batches and Fiscal Periods and can be used to download batches for import into your accounting package.
Like most of the other Rhythm apps, the Collect API includes endpoints for Query Definitions. These endpoints are commonly used to retrieve saved queries, which can then be executed using the Query endpoints of the System API.
https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/
https://collect.api.rhythmsoftware.com/
https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}
https://collect.api.rhythmsoftware.com/businessUnits/{tenantId}
curl -i -X GET \
'https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}?exclusiveStartKey=string&fields=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
The business unitswere retrieved successfully.
The accounting method for generating subledger entries
The base currency for the business unit
The optional template to use to format the financial download file
When enabled, batches are automatically synced with users accounting software
Whether or not multi-currency is turned on for this business unit
Teh default invoice template to use for printing invoices
The G/L account for missing products
Teh default payment template to use for printing payment receipts
A priority number that determines how this is displayed; lower numbers indicate higher priority
The quickbooks online account tied to the business unit
Teh default template to use for printing refund receipts
The starting month of the fiscal year, between 1-12
If this record was loaded via bulk, the timestamp when the record was processed
If this record was loaded via bulk, the ID of the bulk load process
If this record was loaded via bulk, the tenant and key of the bulk load process used as a partition key
If this record was loaded via bulk, the record number in the source file
If this record was loaded via bulk, the source file
The error associated with the calculated field
If a snapshot was restored/applies to this record, the ID of the snapshot
The date/time that this record was created, expressed in ISO-8601 date format
The ID of the user that deleted (or last tried to delete) this object
Means for passing directive information into an object processing logic
If true, this record has files in S3. If false, it doesnt, so no need to hit S3 upon deletion
If this record was last touched by a bulk data operation, the ID of that operation
If this record was last touched by a bulk data operation, the sys_version at the time of that operation
The date/time that this record record was last modified, expressed in ISO-8601 date format
The ID of the user that last modified this record
The security context of the last insert, modify, or delete performed on this item
The version to use as a base when creating a configuration snapshot; if not set, 1 is used. Helpful when creating a sandbox
A number representing the version of this record in the database
[ { "accounting_method": "accrual", "ar_gl_account_id": "string", "automatic_batch_download_options": { … }, "bad_debts_expense_gl_account_id": "string", "base_currency_code": "str", "base_currency_symbol": "string", "batch_download_method": "batch-level summary", "cogs_expense_gl_account_id": "string", "currency_trading_gl_account_id": "string", "custom_field_values": [ … ], "default_write_off_method": "allowance", "deferred_revenue_gl_account_id": "string", "description": "string", "download_template_id": "string", "due_to_due_from_entries": [ … ], "enable_automatic_batch_downloads": true, "enable_multi_currency": true, "financial_software_package": "great plains", "id": "string", "inventory_costing_method": "do not calculate", "inventory_gl_account_id": "string", "invoice_template_id": "string", "is_active": true, "missing_product_revenue_gl_account_id": "string", "name": "string", "overpayment_liability_gl_account_id": "string", "payment_receipt_email": { … }, "payment_receipt_template_id": "string", "priority": 0.1, "quickbooks_online_account_id": "string", "refund_receipt_email": { … }, "refund_receipt_template_id": "string", "start_of_fiscal_year": 1, "store_credit_gl_account_id": "string", "supported_currencies": [ … ], "sys_bulk_load_at": "string", "sys_bulk_load_id": "string", "sys_bulk_load_pk": "string", "sys_bulk_load_record_no": 0.1, "sys_bulk_load_source_file": "string", "sys_calculated_field_error": "string", "sys_calculated_field_errors": [ … ], "sys_configuration_snapshot_id": "string", "sys_created_at": "2019-08-24T14:15:22Z", "sys_created_by_id": "string", "sys_deleted_by_id": "string", "sys_directive": "string", "sys_external_id": "string", "sys_has_files_in_s3": true, "sys_last_bulk_data_operation_id": "string", "sys_last_bulk_data_operation_sys_version": "string", "sys_last_modified_at": "2019-08-24T14:15:22Z", "sys_last_modified_by_id": "string", "sys_last_security_context": {}, "sys_locked": true, "sys_snapshot_base_version": 0.1, "sys_version": 0.1 } ]
The business unit that you would like to be saved.
The accounting method for generating subledger entries
The base currency for the business unit
The optional template to use to format the financial download file
When enabled, batches are automatically synced with users accounting software
Whether or not multi-currency is turned on for this business unit
Teh default invoice template to use for printing invoices
The G/L account for missing products
Teh default payment template to use for printing payment receipts
A priority number that determines how this is displayed; lower numbers indicate higher priority
The quickbooks online account tied to the business unit
Teh default template to use for printing refund receipts
The starting month of the fiscal year, between 1-12
If this record was loaded via bulk, the timestamp when the record was processed
If this record was loaded via bulk, the ID of the bulk load process
If this record was loaded via bulk, the tenant and key of the bulk load process used as a partition key
If this record was loaded via bulk, the record number in the source file
If this record was loaded via bulk, the source file
The error associated with the calculated field
If a snapshot was restored/applies to this record, the ID of the snapshot
The date/time that this record was created, expressed in ISO-8601 date format
The ID of the user that deleted (or last tried to delete) this object
Means for passing directive information into an object processing logic
If true, this record has files in S3. If false, it doesnt, so no need to hit S3 upon deletion
If this record was last touched by a bulk data operation, the ID of that operation
If this record was last touched by a bulk data operation, the sys_version at the time of that operation
The date/time that this record record was last modified, expressed in ISO-8601 date format
The ID of the user that last modified this record
The security context of the last insert, modify, or delete performed on this item
The version to use as a base when creating a configuration snapshot; if not set, 1 is used. Helpful when creating a sandbox
https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}
https://collect.api.rhythmsoftware.com/businessUnits/{tenantId}
curl -i -X POST \
'https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"accounting_method": "accrual",
"ar_gl_account_id": "string",
"automatic_batch_download_options": {
"accounting_integration_account_id": "string",
"accounting_integration_service": "integration-qbo-accounts"
},
"bad_debts_expense_gl_account_id": "string",
"base_currency_code": "str",
"base_currency_symbol": "string",
"batch_download_method": "batch-level summary",
"cogs_expense_gl_account_id": "string",
"currency_trading_gl_account_id": "string",
"custom_field_values": [
{
"boolean_value": true,
"custom_field_id": "string",
"file_url_value": "string",
"list_value": [
"string"
],
"numeric_value": 0.1,
"string_value": "string",
"table_value": [
{}
]
}
],
"default_write_off_method": "allowance",
"deferred_revenue_gl_account_id": "string",
"description": "string",
"download_template_id": "string",
"due_to_due_from_entries": [
{
"accounts_receivable_gl_account_id": "string",
"business_unit_id": "string",
"liability_gl_account_id": "string"
}
],
"enable_automatic_batch_downloads": true,
"enable_multi_currency": true,
"financial_software_package": "great plains",
"id": "string",
"inventory_costing_method": "do not calculate",
"inventory_gl_account_id": "string",
"invoice_template_id": "string",
"is_active": true,
"missing_product_revenue_gl_account_id": "string",
"name": "string",
"overpayment_liability_gl_account_id": "string",
"payment_receipt_email": {
"bcc": "string",
"body": "string",
"cc": "string",
"from": "string",
"from_name": "string",
"reply_to": "string",
"subject": "string"
},
"payment_receipt_template_id": "string",
"priority": 0.1,
"quickbooks_online_account_id": "string",
"refund_receipt_email": {
"bcc": "string",
"body": "string",
"cc": "string",
"from": "string",
"from_name": "string",
"reply_to": "string",
"subject": "string"
},
"refund_receipt_template_id": "string",
"start_of_fiscal_year": 1,
"store_credit_gl_account_id": "string",
"supported_currencies": [
{
"currency_code": "AED"
}
],
"sys_bulk_load_at": "string",
"sys_bulk_load_id": "string",
"sys_bulk_load_pk": "string",
"sys_bulk_load_record_no": 0.1,
"sys_bulk_load_source_file": "string",
"sys_calculated_field_error": "string",
"sys_calculated_field_errors": [
{
"error": "string",
"field": "string"
}
],
"sys_configuration_snapshot_id": "string",
"sys_created_at": "2019-08-24T14:15:22Z",
"sys_created_by_id": "string",
"sys_deleted_by_id": "string",
"sys_directive": "string",
"sys_external_id": "string",
"sys_has_files_in_s3": true,
"sys_last_bulk_data_operation_id": "string",
"sys_last_bulk_data_operation_sys_version": "string",
"sys_last_modified_at": "2019-08-24T14:15:22Z",
"sys_last_modified_by_id": "string",
"sys_last_security_context": {},
"sys_locked": true,
"sys_snapshot_base_version": 0.1,
"sys_version": 0.1
}'
The business unit was saved successfully.
The accounting method for generating subledger entries
The base currency for the business unit
The optional template to use to format the financial download file
When enabled, batches are automatically synced with users accounting software
Whether or not multi-currency is turned on for this business unit
Teh default invoice template to use for printing invoices
The G/L account for missing products
Teh default payment template to use for printing payment receipts
A priority number that determines how this is displayed; lower numbers indicate higher priority
The quickbooks online account tied to the business unit
Teh default template to use for printing refund receipts
The starting month of the fiscal year, between 1-12
If this record was loaded via bulk, the timestamp when the record was processed
If this record was loaded via bulk, the ID of the bulk load process
If this record was loaded via bulk, the tenant and key of the bulk load process used as a partition key
If this record was loaded via bulk, the record number in the source file
If this record was loaded via bulk, the source file
The error associated with the calculated field
If a snapshot was restored/applies to this record, the ID of the snapshot
The date/time that this record was created, expressed in ISO-8601 date format
The ID of the user that deleted (or last tried to delete) this object
Means for passing directive information into an object processing logic
If true, this record has files in S3. If false, it doesnt, so no need to hit S3 upon deletion
If this record was last touched by a bulk data operation, the ID of that operation
If this record was last touched by a bulk data operation, the sys_version at the time of that operation
The date/time that this record record was last modified, expressed in ISO-8601 date format
The ID of the user that last modified this record
The security context of the last insert, modify, or delete performed on this item
The version to use as a base when creating a configuration snapshot; if not set, 1 is used. Helpful when creating a sandbox
{ "accounting_method": "accrual", "ar_gl_account_id": "string", "automatic_batch_download_options": { "accounting_integration_account_id": "string", "accounting_integration_service": "integration-qbo-accounts" }, "bad_debts_expense_gl_account_id": "string", "base_currency_code": "str", "base_currency_symbol": "string", "batch_download_method": "batch-level summary", "cogs_expense_gl_account_id": "string", "currency_trading_gl_account_id": "string", "custom_field_values": [ { … } ], "default_write_off_method": "allowance", "deferred_revenue_gl_account_id": "string", "description": "string", "download_template_id": "string", "due_to_due_from_entries": [ { … } ], "enable_automatic_batch_downloads": true, "enable_multi_currency": true, "financial_software_package": "great plains", "id": "string", "inventory_costing_method": "do not calculate", "inventory_gl_account_id": "string", "invoice_template_id": "string", "is_active": true, "missing_product_revenue_gl_account_id": "string", "name": "string", "overpayment_liability_gl_account_id": "string", "payment_receipt_email": { "bcc": "string", "body": "string", "cc": "string", "from": "string", "from_name": "string", "reply_to": "string", "subject": "string" }, "payment_receipt_template_id": "string", "priority": 0.1, "quickbooks_online_account_id": "string", "refund_receipt_email": { "bcc": "string", "body": "string", "cc": "string", "from": "string", "from_name": "string", "reply_to": "string", "subject": "string" }, "refund_receipt_template_id": "string", "start_of_fiscal_year": 1, "store_credit_gl_account_id": "string", "supported_currencies": [ { … } ], "sys_bulk_load_at": "string", "sys_bulk_load_id": "string", "sys_bulk_load_pk": "string", "sys_bulk_load_record_no": 0.1, "sys_bulk_load_source_file": "string", "sys_calculated_field_error": "string", "sys_calculated_field_errors": [ { … } ], "sys_configuration_snapshot_id": "string", "sys_created_at": "2019-08-24T14:15:22Z", "sys_created_by_id": "string", "sys_deleted_by_id": "string", "sys_directive": "string", "sys_external_id": "string", "sys_has_files_in_s3": true, "sys_last_bulk_data_operation_id": "string", "sys_last_bulk_data_operation_sys_version": "string", "sys_last_modified_at": "2019-08-24T14:15:22Z", "sys_last_modified_by_id": "string", "sys_last_security_context": {}, "sys_locked": true, "sys_snapshot_base_version": 0.1, "sys_version": 0.1 }
https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}/batch
https://collect.api.rhythmsoftware.com/businessUnits/{tenantId}/batch
curl -i -X POST \
'https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}/batch' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"operations": [
{
"id": null,
"object": {},
"operation": "create",
"patch_directives": {
"0": {
"op": "add",
"path": "string",
"value": "string"
}
}
}
]
}'
{ "error_count": 0.1, "results": [ { … } ], "success_count": 0.1 }
https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}/{id}
https://collect.api.rhythmsoftware.com/businessUnits/{tenantId}/{id}
curl -i -X DELETE \
'https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
"string"
https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}/{id}
https://collect.api.rhythmsoftware.com/businessUnits/{tenantId}/{id}
curl -i -X GET \
'https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}/{id}?consistentRead=string&fields=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
The business unit was retrieved successfully.
The accounting method for generating subledger entries
The base currency for the business unit
The optional template to use to format the financial download file
When enabled, batches are automatically synced with users accounting software
Whether or not multi-currency is turned on for this business unit
Teh default invoice template to use for printing invoices
The G/L account for missing products
Teh default payment template to use for printing payment receipts
A priority number that determines how this is displayed; lower numbers indicate higher priority
The quickbooks online account tied to the business unit
Teh default template to use for printing refund receipts
The starting month of the fiscal year, between 1-12
If this record was loaded via bulk, the timestamp when the record was processed
If this record was loaded via bulk, the ID of the bulk load process
If this record was loaded via bulk, the tenant and key of the bulk load process used as a partition key
If this record was loaded via bulk, the record number in the source file
If this record was loaded via bulk, the source file
The error associated with the calculated field
If a snapshot was restored/applies to this record, the ID of the snapshot
The date/time that this record was created, expressed in ISO-8601 date format
The ID of the user that deleted (or last tried to delete) this object
Means for passing directive information into an object processing logic
If true, this record has files in S3. If false, it doesnt, so no need to hit S3 upon deletion
If this record was last touched by a bulk data operation, the ID of that operation
If this record was last touched by a bulk data operation, the sys_version at the time of that operation
The date/time that this record record was last modified, expressed in ISO-8601 date format
The ID of the user that last modified this record
The security context of the last insert, modify, or delete performed on this item
The version to use as a base when creating a configuration snapshot; if not set, 1 is used. Helpful when creating a sandbox
{ "accounting_method": "accrual", "ar_gl_account_id": "string", "automatic_batch_download_options": { "accounting_integration_account_id": "string", "accounting_integration_service": "integration-qbo-accounts" }, "bad_debts_expense_gl_account_id": "string", "base_currency_code": "str", "base_currency_symbol": "string", "batch_download_method": "batch-level summary", "cogs_expense_gl_account_id": "string", "currency_trading_gl_account_id": "string", "custom_field_values": [ { … } ], "default_write_off_method": "allowance", "deferred_revenue_gl_account_id": "string", "description": "string", "download_template_id": "string", "due_to_due_from_entries": [ { … } ], "enable_automatic_batch_downloads": true, "enable_multi_currency": true, "financial_software_package": "great plains", "id": "string", "inventory_costing_method": "do not calculate", "inventory_gl_account_id": "string", "invoice_template_id": "string", "is_active": true, "missing_product_revenue_gl_account_id": "string", "name": "string", "overpayment_liability_gl_account_id": "string", "payment_receipt_email": { "bcc": "string", "body": "string", "cc": "string", "from": "string", "from_name": "string", "reply_to": "string", "subject": "string" }, "payment_receipt_template_id": "string", "priority": 0.1, "quickbooks_online_account_id": "string", "refund_receipt_email": { "bcc": "string", "body": "string", "cc": "string", "from": "string", "from_name": "string", "reply_to": "string", "subject": "string" }, "refund_receipt_template_id": "string", "start_of_fiscal_year": 1, "store_credit_gl_account_id": "string", "supported_currencies": [ { … } ], "sys_bulk_load_at": "string", "sys_bulk_load_id": "string", "sys_bulk_load_pk": "string", "sys_bulk_load_record_no": 0.1, "sys_bulk_load_source_file": "string", "sys_calculated_field_error": "string", "sys_calculated_field_errors": [ { … } ], "sys_configuration_snapshot_id": "string", "sys_created_at": "2019-08-24T14:15:22Z", "sys_created_by_id": "string", "sys_deleted_by_id": "string", "sys_directive": "string", "sys_external_id": "string", "sys_has_files_in_s3": true, "sys_last_bulk_data_operation_id": "string", "sys_last_bulk_data_operation_sys_version": "string", "sys_last_modified_at": "2019-08-24T14:15:22Z", "sys_last_modified_by_id": "string", "sys_last_security_context": {}, "sys_locked": true, "sys_snapshot_base_version": 0.1, "sys_version": 0.1 }
https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}/{id}
https://collect.api.rhythmsoftware.com/businessUnits/{tenantId}/{id}
curl -i -X PATCH \
'https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '[
{
"op": "add",
"path": "string",
"value": "string"
}
]'
The business unit was patched successfully.
The accounting method for generating subledger entries
The base currency for the business unit
The optional template to use to format the financial download file
When enabled, batches are automatically synced with users accounting software
Whether or not multi-currency is turned on for this business unit
Teh default invoice template to use for printing invoices
The G/L account for missing products
Teh default payment template to use for printing payment receipts
A priority number that determines how this is displayed; lower numbers indicate higher priority
The quickbooks online account tied to the business unit
Teh default template to use for printing refund receipts
The starting month of the fiscal year, between 1-12
If this record was loaded via bulk, the timestamp when the record was processed
If this record was loaded via bulk, the ID of the bulk load process
If this record was loaded via bulk, the tenant and key of the bulk load process used as a partition key
If this record was loaded via bulk, the record number in the source file
If this record was loaded via bulk, the source file
The error associated with the calculated field
If a snapshot was restored/applies to this record, the ID of the snapshot
The date/time that this record was created, expressed in ISO-8601 date format
The ID of the user that deleted (or last tried to delete) this object
Means for passing directive information into an object processing logic
If true, this record has files in S3. If false, it doesnt, so no need to hit S3 upon deletion
If this record was last touched by a bulk data operation, the ID of that operation
If this record was last touched by a bulk data operation, the sys_version at the time of that operation
The date/time that this record record was last modified, expressed in ISO-8601 date format
The ID of the user that last modified this record
The security context of the last insert, modify, or delete performed on this item
The version to use as a base when creating a configuration snapshot; if not set, 1 is used. Helpful when creating a sandbox
{ "accounting_method": "accrual", "ar_gl_account_id": "string", "automatic_batch_download_options": { "accounting_integration_account_id": "string", "accounting_integration_service": "integration-qbo-accounts" }, "bad_debts_expense_gl_account_id": "string", "base_currency_code": "str", "base_currency_symbol": "string", "batch_download_method": "batch-level summary", "cogs_expense_gl_account_id": "string", "currency_trading_gl_account_id": "string", "custom_field_values": [ { … } ], "default_write_off_method": "allowance", "deferred_revenue_gl_account_id": "string", "description": "string", "download_template_id": "string", "due_to_due_from_entries": [ { … } ], "enable_automatic_batch_downloads": true, "enable_multi_currency": true, "financial_software_package": "great plains", "id": "string", "inventory_costing_method": "do not calculate", "inventory_gl_account_id": "string", "invoice_template_id": "string", "is_active": true, "missing_product_revenue_gl_account_id": "string", "name": "string", "overpayment_liability_gl_account_id": "string", "payment_receipt_email": { "bcc": "string", "body": "string", "cc": "string", "from": "string", "from_name": "string", "reply_to": "string", "subject": "string" }, "payment_receipt_template_id": "string", "priority": 0.1, "quickbooks_online_account_id": "string", "refund_receipt_email": { "bcc": "string", "body": "string", "cc": "string", "from": "string", "from_name": "string", "reply_to": "string", "subject": "string" }, "refund_receipt_template_id": "string", "start_of_fiscal_year": 1, "store_credit_gl_account_id": "string", "supported_currencies": [ { … } ], "sys_bulk_load_at": "string", "sys_bulk_load_id": "string", "sys_bulk_load_pk": "string", "sys_bulk_load_record_no": 0.1, "sys_bulk_load_source_file": "string", "sys_calculated_field_error": "string", "sys_calculated_field_errors": [ { … } ], "sys_configuration_snapshot_id": "string", "sys_created_at": "2019-08-24T14:15:22Z", "sys_created_by_id": "string", "sys_deleted_by_id": "string", "sys_directive": "string", "sys_external_id": "string", "sys_has_files_in_s3": true, "sys_last_bulk_data_operation_id": "string", "sys_last_bulk_data_operation_sys_version": "string", "sys_last_modified_at": "2019-08-24T14:15:22Z", "sys_last_modified_by_id": "string", "sys_last_security_context": {}, "sys_locked": true, "sys_snapshot_base_version": 0.1, "sys_version": 0.1 }
The updated business unit that will be saved.
The accounting method for generating subledger entries
The base currency for the business unit
The optional template to use to format the financial download file
When enabled, batches are automatically synced with users accounting software
Whether or not multi-currency is turned on for this business unit
Teh default invoice template to use for printing invoices
The G/L account for missing products
Teh default payment template to use for printing payment receipts
A priority number that determines how this is displayed; lower numbers indicate higher priority
The quickbooks online account tied to the business unit
Teh default template to use for printing refund receipts
The starting month of the fiscal year, between 1-12
If this record was loaded via bulk, the timestamp when the record was processed
If this record was loaded via bulk, the ID of the bulk load process
If this record was loaded via bulk, the tenant and key of the bulk load process used as a partition key
If this record was loaded via bulk, the record number in the source file
If this record was loaded via bulk, the source file
The error associated with the calculated field
If a snapshot was restored/applies to this record, the ID of the snapshot
The date/time that this record was created, expressed in ISO-8601 date format
The ID of the user that deleted (or last tried to delete) this object
Means for passing directive information into an object processing logic
If true, this record has files in S3. If false, it doesnt, so no need to hit S3 upon deletion
If this record was last touched by a bulk data operation, the ID of that operation
If this record was last touched by a bulk data operation, the sys_version at the time of that operation
The date/time that this record record was last modified, expressed in ISO-8601 date format
The ID of the user that last modified this record
The security context of the last insert, modify, or delete performed on this item
The version to use as a base when creating a configuration snapshot; if not set, 1 is used. Helpful when creating a sandbox
https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}/{id}
https://collect.api.rhythmsoftware.com/businessUnits/{tenantId}/{id}
curl -i -X PUT \
'https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"accounting_method": "accrual",
"ar_gl_account_id": "string",
"automatic_batch_download_options": {
"accounting_integration_account_id": "string",
"accounting_integration_service": "integration-qbo-accounts"
},
"bad_debts_expense_gl_account_id": "string",
"base_currency_code": "str",
"base_currency_symbol": "string",
"batch_download_method": "batch-level summary",
"cogs_expense_gl_account_id": "string",
"currency_trading_gl_account_id": "string",
"custom_field_values": [
{
"boolean_value": true,
"custom_field_id": "string",
"file_url_value": "string",
"list_value": [
"string"
],
"numeric_value": 0.1,
"string_value": "string",
"table_value": [
{}
]
}
],
"default_write_off_method": "allowance",
"deferred_revenue_gl_account_id": "string",
"description": "string",
"download_template_id": "string",
"due_to_due_from_entries": [
{
"accounts_receivable_gl_account_id": "string",
"business_unit_id": "string",
"liability_gl_account_id": "string"
}
],
"enable_automatic_batch_downloads": true,
"enable_multi_currency": true,
"financial_software_package": "great plains",
"id": "string",
"inventory_costing_method": "do not calculate",
"inventory_gl_account_id": "string",
"invoice_template_id": "string",
"is_active": true,
"missing_product_revenue_gl_account_id": "string",
"name": "string",
"overpayment_liability_gl_account_id": "string",
"payment_receipt_email": {
"bcc": "string",
"body": "string",
"cc": "string",
"from": "string",
"from_name": "string",
"reply_to": "string",
"subject": "string"
},
"payment_receipt_template_id": "string",
"priority": 0.1,
"quickbooks_online_account_id": "string",
"refund_receipt_email": {
"bcc": "string",
"body": "string",
"cc": "string",
"from": "string",
"from_name": "string",
"reply_to": "string",
"subject": "string"
},
"refund_receipt_template_id": "string",
"start_of_fiscal_year": 1,
"store_credit_gl_account_id": "string",
"supported_currencies": [
{
"currency_code": "AED"
}
],
"sys_bulk_load_at": "string",
"sys_bulk_load_id": "string",
"sys_bulk_load_pk": "string",
"sys_bulk_load_record_no": 0.1,
"sys_bulk_load_source_file": "string",
"sys_calculated_field_error": "string",
"sys_calculated_field_errors": [
{
"error": "string",
"field": "string"
}
],
"sys_configuration_snapshot_id": "string",
"sys_created_at": "2019-08-24T14:15:22Z",
"sys_created_by_id": "string",
"sys_deleted_by_id": "string",
"sys_directive": "string",
"sys_external_id": "string",
"sys_has_files_in_s3": true,
"sys_last_bulk_data_operation_id": "string",
"sys_last_bulk_data_operation_sys_version": "string",
"sys_last_modified_at": "2019-08-24T14:15:22Z",
"sys_last_modified_by_id": "string",
"sys_last_security_context": {},
"sys_locked": true,
"sys_snapshot_base_version": 0.1,
"sys_version": 0.1
}'
The business unit was updated successfully.
The accounting method for generating subledger entries
The base currency for the business unit
The optional template to use to format the financial download file
When enabled, batches are automatically synced with users accounting software
Whether or not multi-currency is turned on for this business unit
Teh default invoice template to use for printing invoices
The G/L account for missing products
Teh default payment template to use for printing payment receipts
A priority number that determines how this is displayed; lower numbers indicate higher priority
The quickbooks online account tied to the business unit
Teh default template to use for printing refund receipts
The starting month of the fiscal year, between 1-12
If this record was loaded via bulk, the timestamp when the record was processed
If this record was loaded via bulk, the ID of the bulk load process
If this record was loaded via bulk, the tenant and key of the bulk load process used as a partition key
If this record was loaded via bulk, the record number in the source file
If this record was loaded via bulk, the source file
The error associated with the calculated field
If a snapshot was restored/applies to this record, the ID of the snapshot
The date/time that this record was created, expressed in ISO-8601 date format
The ID of the user that deleted (or last tried to delete) this object
Means for passing directive information into an object processing logic
If true, this record has files in S3. If false, it doesnt, so no need to hit S3 upon deletion
If this record was last touched by a bulk data operation, the ID of that operation
If this record was last touched by a bulk data operation, the sys_version at the time of that operation
The date/time that this record record was last modified, expressed in ISO-8601 date format
The ID of the user that last modified this record
The security context of the last insert, modify, or delete performed on this item
The version to use as a base when creating a configuration snapshot; if not set, 1 is used. Helpful when creating a sandbox
{ "accounting_method": "accrual", "ar_gl_account_id": "string", "automatic_batch_download_options": { "accounting_integration_account_id": "string", "accounting_integration_service": "integration-qbo-accounts" }, "bad_debts_expense_gl_account_id": "string", "base_currency_code": "str", "base_currency_symbol": "string", "batch_download_method": "batch-level summary", "cogs_expense_gl_account_id": "string", "currency_trading_gl_account_id": "string", "custom_field_values": [ { … } ], "default_write_off_method": "allowance", "deferred_revenue_gl_account_id": "string", "description": "string", "download_template_id": "string", "due_to_due_from_entries": [ { … } ], "enable_automatic_batch_downloads": true, "enable_multi_currency": true, "financial_software_package": "great plains", "id": "string", "inventory_costing_method": "do not calculate", "inventory_gl_account_id": "string", "invoice_template_id": "string", "is_active": true, "missing_product_revenue_gl_account_id": "string", "name": "string", "overpayment_liability_gl_account_id": "string", "payment_receipt_email": { "bcc": "string", "body": "string", "cc": "string", "from": "string", "from_name": "string", "reply_to": "string", "subject": "string" }, "payment_receipt_template_id": "string", "priority": 0.1, "quickbooks_online_account_id": "string", "refund_receipt_email": { "bcc": "string", "body": "string", "cc": "string", "from": "string", "from_name": "string", "reply_to": "string", "subject": "string" }, "refund_receipt_template_id": "string", "start_of_fiscal_year": 1, "store_credit_gl_account_id": "string", "supported_currencies": [ { … } ], "sys_bulk_load_at": "string", "sys_bulk_load_id": "string", "sys_bulk_load_pk": "string", "sys_bulk_load_record_no": 0.1, "sys_bulk_load_source_file": "string", "sys_calculated_field_error": "string", "sys_calculated_field_errors": [ { … } ], "sys_configuration_snapshot_id": "string", "sys_created_at": "2019-08-24T14:15:22Z", "sys_created_by_id": "string", "sys_deleted_by_id": "string", "sys_directive": "string", "sys_external_id": "string", "sys_has_files_in_s3": true, "sys_last_bulk_data_operation_id": "string", "sys_last_bulk_data_operation_sys_version": "string", "sys_last_modified_at": "2019-08-24T14:15:22Z", "sys_last_modified_by_id": "string", "sys_last_security_context": {}, "sys_locked": true, "sys_snapshot_base_version": 0.1, "sys_version": 0.1 }