This method will auto-generate an ID and create a new invoice. If an ID is specified for the invoice, an error will be thrown.
The invoice that you would like to be saved.
{- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "notification_publishKey": "string",
- "notification_subscribeKey": "string",
- "notification_channel": "string",
- "executionArn": "string",
- "start_date": "2019-08-24T14:15:22Z"
}
This method will look up a invoice by the specified ID and return it back.
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/:id?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will update an existing invoice with the specified ID.
The updated invoice that will be saved.
{- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will patch an existing invoice with the specified ID, using the HTTP PATCH specification.
The patch directives conforming to RFC 6902.
[- {
- "op": "add",
- "path": "string",
- "value": "string"
}
]
{- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will delete a invoice with the specified ID.
curl -i -X DELETE \ https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"
This method will scan all invoices and and return them to the caller for a given contact.
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/portal/contact/:portalContactId?fields=string&includeAllInvoices=true' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Public endpoint that allows for retrieval of invoice information, provided the accurate sharing secret is supplied
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/public/:id?sharing_secret=string'
{- "id": "string",
- "date": "2019-08-24T14:15:22Z",
- "date_due": "2019-08-24T14:15:22Z",
- "balance_due": 0,
- "number": 0,
- "allowed_payment_methods": "credit card"
}
Returns a link that can be used to share an invoice and payable
curl -i -X GET \ https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/paymentLink/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"
Finds all legacy invoices with an open balance and regenerates them
curl -i -X POST \ https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/regenerateOpenInvoices/:business_unit_id \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "success": 0,
- "errors": 0,
- "total": 0,
- "batch_id": "string"
}
Gets the amount of open invoices for a contact
curl -i -X GET \ https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/portal/contact/:portalContactId/balance \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "balance": 0,
- "currency_code": "string",
- "currency_symbol": "string"
}
This method will look up a invoice by the specified ID and return it back (for a portal contact)
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/portal/contact/:portalContactId/:id?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will scan all invoices and and return them to the caller for a given organization.
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/portal/organization/:portalOrganizationId?fields=string&includeAllInvoices=true' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Gets the amount of open invoices for a organization
curl -i -X GET \ https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/portal/organization/:portalOrganizationId/balance \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "balance": 0,
- "currency_code": "string",
- "currency_symbol": "string"
}
This method will look up a invoice by the specified ID and return it back (for a portal organization)
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/portal/organization/:portalOrganizationId/:id?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will start an workflow to adjust an invoice, returning an execution token.
The updated invoice record that will be saved
{- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "notification_publishKey": "string",
- "notification_subscribeKey": "string",
- "notification_channel": "string",
- "executionArn": "string",
- "start_date": "2019-08-24T14:15:22Z"
}
Generates a PDF and returns the public link for download
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/print/:id?downloadAsHtml=true' \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"
Generates a PDF and returns the public link for download
curl -i -X GET \ https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/renderEmail/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
{ }
Send an email of the invoice
curl -i -X POST \ 'https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/email/:id?additionalRecipients=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"
Returns the default invoice template
curl -i -X GET \ https://collect.api.756794052567.rhythmsoftware.com/invoices/defaultTemplate/invoice \ -H 'Authorization: YOUR_API_KEY_HERE'
Returns the default invoice template
curl -i -X GET \ https://collect.api.756794052567.rhythmsoftware.com/invoices/defaultTemplateAndEmail/invoice \ -H 'Authorization: YOUR_API_KEY_HERE'
Returns a list of records with the specified owner
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/owner/:ownerType/:ownerId?fields=string&exclusiveStartKey=string&includeAllInvoices=true' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Searches for invoices using predefined parameters
The invoice that you would like to be saved.
{- "business_unit_id": "string",
- "batch_id": [
- "string"
], - "purchase_order_number": [
- "string"
], - "date": [
- "string",
- "string"
], - "number": [
- 0,
- 0
], - "total": [
- 0,
- 0
], - "id": [
- "string"
], - "total_in_base_currency": [
- 0,
- 0
], - "amount_paid": [
- 0,
- 0
], - "date_due": [
- "2019-08-24T14:15:22Z",
- "2019-08-24T14:15:22Z"
], - "bill_to_type": "string",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "balance_due": [
- 0,
- 0
]
}
{- "Items": [
- {
- "id": "string",
- "business_unit_id": "string",
- "batch_id": "string",
- "date": "string",
- "number": 0,
- "total": 0,
- "currency_symbol": "string",
- "total_in_base_currency": 0,
- "base_currency_symbol": "string",
- "amount_paid": 0,
- "memo": "string",
- "date_due": "string",
- "bill_to_type": "string",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "balance_due": 0
}
], - "LastEvaluatedKey": "string"
}
Returns a list of records with the specified bill_to_contact_id
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/billToContact/:bill_to_contact_id?fields=string&exclusiveStartKey=string&includeAllInvoices=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Returns a list of records with the specified bill_to_organization_id
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/billToOrganization/:bill_to_organization_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Returns a list of records with the specified batch_id
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/batch/:batch_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Sends out a preview of the CRC notification email
The domain_name to use to for record lookup
{- "invoice_id": "string",
- "email_template": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "destination_email_address": "string",
- "payment_id": "string"
}
Sends out a preview of the notification template
The domain_name to use to for record lookup
{- "invoice_id": "string",
- "template": "string",
- "id": "string",
- "customer_type": "contact",
- "contact_id": "string",
- "organization_id": "string"
}
curl -i -X POST \ https://collect.api.756794052567.rhythmsoftware.com/invoices/warmUpStepFunctions \ -H 'Authorization: YOUR_API_KEY_HERE'
Returns a list of records with the specified number
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/number/:number?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Returns a list of records with the specified order_id
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/invoices/:tenantId/order/:order_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "date_due": "2019-08-24",
- "payment_terms_id": "string",
- "status": "open",
- "type": "string",
- "bill_to_type": "contact",
- "bill_to_contact_id": "string",
- "bill_to_organization_id": "string",
- "template_id": "string",
- "billing_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "purchase_order_number": "string",
- "pro_forma": true,
- "balance_due": 0,
- "amount_paid": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "sharing_secret": "string",
- "legacy_balance_due": 0,
- "regenerated_invoice_id": "string",
- "regeneration_error": "string",
- "parent_invoice_id": "string",
- "line_items": [
- {
- "invoice_line_item_id": "string",
- "order_line_item_id": "string",
- "product_type": "string",
- "product_id": "string",
- "description": "string",
- "optional": true,
- "total": 0,
- "quantity": 0,
- "unit_price": 0,
- "status": "open",
- "original_total": 0,
- "original_total_in_base_currency": 0,
- "legacy_balance_due": 0,
- "legacy_ar_gl_account": "string",
- "legacy_revenue_account": "string",
- "legacy_project": "string",
- "total_in_base_currency": 0,
- "amount_paid": 0,
- "balance_due": 0,
- "amount_written_off": 0,
- "amount_refunded": 0,
- "amount_to_pay_upon_creation": 0,
- "related_transactions": [
- {
- "type": "payment",
- "transaction_id": "string",
- "transaction_number": 0,
- "transaction_line_item_id": "string",
- "amount": 0,
- "date": "2019-08-24T14:15:22Z"
}
]
}
], - "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "number": 0,
- "workflow_execution_id": "string",
- "total": 0,
- "business_unit_id": "string",
- "batch_id": "string",
- "cancellation_id": "string",
- "order_id": "string",
- "return_id": "string",
- "memo": "string",
- "notes": "string",
- "date": "2019-08-24",
- "currency_code": "AED",
- "currency_symbol": "string",
- "exchange_rate": 0,
- "total_in_base_currency": 0,
- "base_currency_code": "str",
- "base_currency_symbol": "string",
- "sys_search_composite_key": "string",
- "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
TAllows you to perform up to 100 parallel patch/delete operations
The batch request
Array of objects |
{- "operations": [
- {
- "operation": "create",
- "id": "string",
- "patch_directives": [
- {
- "op": "add",
- "path": "string",
- "value": "string"
}
], - "object": { }
}
]
}
{- "success_count": 0,
- "error_count": 0,
- "results": [
- {
- "operation": "create",
- "id": "string",
- "outcome": "success",
- "error_message": "string",
- "object": { }
}
]
}