Bill Payments
Properties
idstringThe Rutter generated unique ID of the bill payment.
platform_idstringThe platform specific ID of the bill payment.
account_idstringfilterablenullableThe Rutter ID of the Account linked to the bill payment. Represents the account being credited. Typically this is an account of type bank.
vendor_idstringfilterablenullableThe Rutter ID of the Vendor linked to the bill payment.
transaction_datestringThe ISO 8601 timestamp for when the transaction was logged.
currency_codeenumThe ISO 4217 currency code of the bill payment.
currency_ratestringnullableThe exchange rate between the currency of the bill payment and the business default currency.
document_numberstringnullableThe buyer facing document number of the bill payment. Supported for QuickBooks.
memostringnullableThe memo of the bill payment.
referencestringfilterablenullableThe reference identifier of the bill payment. Supported for QuickBooks Desktop.
statusenumnullableThe status of the bill payment.
total_amountnumbernullableThe total amount of the bill payment.
linked_billsarrayAn array of bills linked to the bill payment.
linked_bills attributeslinked_credit_memosarrayAn array of bill credit memos linked to the bill payment. Supported for QuickBooks.
linked_credit_memos attributesadditional_fieldsobjectOptionalAdditional fields required only for a narrow set of use cases.
additional_fields attributescreated_atstringfilterablenullableThe ISO 8601 timestamp that the bill payment was created.
updated_atstringfilterablenullableThe ISO 8601 timestamp that the bill payment was last updated.
last_synced_atstringfilterableThe ISO 8601 timestamp when the bill payment was last synced by Rutter.
platform_urlstringnullableA URL pointing to the object in the underlying platform. When no URL exists for the specific object, the value may be a larger URL containing the object.
platform_dataobjectOptionalThe raw platform data corresponding to the Rutter object.
List Bill Payments
Request Parameters
access_tokenstringqueryRequiredThe access token of the connection.
cursorstringqueryOptionalUsed to paginate to the next batch of objects. Should be a copy of the next_cursor value from the previous response.
limitintegerqueryOptionalUsed to limit the number of returned objects. Defaults to 50.
filterstringqueryOptionalNot currently supported on Sage Intacct or Sage Business Cloud. Used to specify a filtering criteria for response objects. Refer to Filtering Objects to understand the syntax for the filtering criteria. The filtering syntax only supports fields decorated with a filterable tag in the response object.
Filterable fields: vendor_id, account_id, reference, created_at, updated_at, last_synced_at.
sortstringqueryOptionalUsed to sort the response objects, e.g. last_synced_at ASC. If a value is provided but ASC or DESC is not, defaults to ASC. If omitted, defaults to updated_at DESC. Supports only fields decorated with a filterable tag in the response object except on Sage Intacct and Sage Business Cloud. For those platforms, only updated_at_min, updated_at_max and last_synced_at_min fields are supported and not deprecated.
Sortable fields: vendor_id, account_id, reference, created_at, updated_at, last_synced_at.
expandenumqueryOptionalInclude platform specific data (includes additional fields not provided by the Rutter object).
last_synced_at_minintegerqueryOptionalDeprecated - use filter instead. Used to filter objects with a last_synced_at value greater than or equal to the supplied value. Should be a Unix time in milliseconds.
updated_at_maxintegerqueryOptionalDeprecated - use filter instead. Used to filter objects with a updated_at value less than or equal to the supplied value. Should be a Unix time in milliseconds.
updated_at_minintegerqueryOptionalDeprecated - use filter instead. Used to filter objects with a updated_at value greater than or equal to the supplied value. Should be a Unix time in milliseconds.
force_fetchenumqueryOptionalUsed to force a response even if the underlying connection has not finished its initial sync.
Response Body
1{
2 "bill_payments": [
3 {
4 "id": "00000000-0000-0000-0000-000000000000",
5 "platform_id": "12345678",
6 "account_id": "00000000-0000-0000-0000-000000000000",
7 "vendor_id": "00000000-0000-0000-0000-000000000000",
8 "transaction_date": "2023-01-02T02:34:56.000Z",
9 "currency_code": "USD",
10 "currency_rate": "1",
11 "document_number": "0000-1",
12 "memo": "Payment for a shirt.",
13 "reference": "123456",
14 "status": "active",
15 "total_amount": 2,
16 "linked_bills": [
17 {
18 "id": "00000000-0000-0000-0000-000000000000",
19 "allocated_date": "2023-01-02T02:34:56.000Z",
20 "allocated_amount": 2
21 }
22 ],
23 "linked_credit_memos": [
24 {
25 "id": "00000000-0000-0000-0000-000000000000",
26 "allocated_date": "2023-01-02T02:34:56.000Z",
27 "allocated_amount": 2
28 }
29 ],
30 "created_at": "2023-01-02T02:34:56.000Z",
31 "updated_at": "2023-01-02T02:34:56.000Z",
32 "last_synced_at": "2023-01-02T02:34:56.000Z",
33 "platform_url": "https://platform.com/resource?id=123",
34 "platform_data": {
35 "id": 123,
36 "data": "Varies by platform"
37 }
38 }
39 ],
40 "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU=",
41 "connection": {
42 "id": "00000000-0000-0000-0000-000000000000",
43 "orgId": "00000000-0000-0000-0000-000000000000",
44 "platform": "NETSUITE"
45 }
46}
Platform Differences
There can be some differences in field values due to platform-specific limitations or if the connection is missing required scopes.
Dynamics 365 Business Central
Due to limitations of the base Business Central API, bill payments (known as vendor ledger entries within Business Central) can only be retrieved if your customer installs the Rutter Extension from the Microsoft AppSource marketplace or manually. Please contact support@rutterapi.com to configure this.
Fetch a Bill Payment
Request Parameters
idstringpathRequiredThe unique ID of the object.
access_tokenstringqueryRequiredThe access token of the connection.
id_typeenumqueryOptionalUsed to indicate the type of id that is supplied. Defaults to rutter. Not currently supported on Sage Intacct or Sage Business Cloud.
force_fetchenumqueryOptionalUsed to force a response even if the underlying connection has not finished its initial sync.
Response Body
1{
2 "bill_payment": {
3 "id": "00000000-0000-0000-0000-000000000000",
4 "platform_id": "12345678",
5 "account_id": "00000000-0000-0000-0000-000000000000",
6 "vendor_id": "00000000-0000-0000-0000-000000000000",
7 "transaction_date": "2023-01-02T02:34:56.000Z",
8 "currency_code": "USD",
9 "currency_rate": "1",
10 "document_number": "0000-1",
11 "memo": "Payment for a shirt.",
12 "reference": "123456",
13 "status": "active",
14 "total_amount": 2,
15 "linked_bills": [
16 {
17 "id": "00000000-0000-0000-0000-000000000000",
18 "allocated_date": "2023-01-02T02:34:56.000Z",
19 "allocated_amount": 2
20 }
21 ],
22 "linked_credit_memos": [
23 {
24 "id": "00000000-0000-0000-0000-000000000000",
25 "allocated_date": "2023-01-02T02:34:56.000Z",
26 "allocated_amount": 2
27 }
28 ],
29 "created_at": "2023-01-02T02:34:56.000Z",
30 "updated_at": "2023-01-02T02:34:56.000Z",
31 "last_synced_at": "2023-01-02T02:34:56.000Z",
32 "platform_url": "https://platform.com/resource?id=123",
33 "platform_data": {
34 "id": 123,
35 "data": "Varies by platform"
36 }
37 },
38 "connection": {
39 "id": "00000000-0000-0000-0000-000000000000",
40 "orgId": "00000000-0000-0000-0000-000000000000",
41 "platform": "NETSUITE"
42 }
43}
Create a Bill Payment
Request Parameters
access_tokenstringqueryRequiredThe access token of the connection.
Request Body
response_modeenumOptionalThe response mode for our async endpoints. prefer_sync allows calling the API in a best-effort, synchronous fashion and wait for the response. If this takes too long we will instead return the asynchronous response. This is the default behavior. async makes the API respond with the asynchronous response. See Asynchronous Operations.
bill_paymentobjectbill_payment attributesResponse Body
1{
2 "bill_payment": {
3 "account_id": "00000000-0000-0000-0000-000000000000",
4 "vendor_id": "00000000-0000-0000-0000-000000000000",
5 "transaction_date": "2023-01-02T02:34:56.000Z",
6 "currency_code": "USD",
7 "currency_rate": 1,
8 "memo": "Payment for a shirt.",
9 "linked_bills": [
10 {
11 "id": "00000000-0000-0000-0000-000000000000",
12 "allocated_amount": 12.34
13 }
14 ]
15 }
16}
1{
2 "bill_payment": {
3 "id": "00000000-0000-0000-0000-000000000000",
4 "platform_id": "12345678",
5 "account_id": "00000000-0000-0000-0000-000000000000",
6 "vendor_id": "00000000-0000-0000-0000-000000000000",
7 "transaction_date": "2023-01-02T02:34:56.000Z",
8 "currency_code": "USD",
9 "currency_rate": "1",
10 "document_number": "0000-1",
11 "memo": "Payment for a shirt.",
12 "reference": "123456",
13 "status": "active",
14 "total_amount": 2,
15 "linked_bills": [
16 {
17 "id": "00000000-0000-0000-0000-000000000000",
18 "allocated_date": "2023-01-02T02:34:56.000Z",
19 "allocated_amount": 2
20 }
21 ],
22 "linked_credit_memos": [
23 {
24 "id": "00000000-0000-0000-0000-000000000000",
25 "allocated_date": "2023-01-02T02:34:56.000Z",
26 "allocated_amount": 2
27 }
28 ],
29 "created_at": "2023-01-02T02:34:56.000Z",
30 "updated_at": "2023-01-02T02:34:56.000Z",
31 "last_synced_at": "2023-01-02T02:34:56.000Z",
32 "platform_url": "https://platform.com/resource?id=123",
33 "platform_data": {
34 "id": 123,
35 "data": "Varies by platform"
36 }
37 }
38}
Update a Bill Payment
If a field is provided, that field will take the updated value. If a field is not provided, the existing value will persist. The exception is for array fields such as `line_items`. For these fields, the entire array will be replaced with the new array value.
Request Parameters
idstringpathRequiredThe Rutter generated unique ID of the object.
access_tokenstringqueryRequiredThe access token of the connection.
Request Body
response_modeenumOptionalThe response mode for our async endpoints. prefer_sync allows calling the API in a best-effort, synchronous fashion and wait for the response. If this takes too long we will instead return the asynchronous response. This is the default behavior. async makes the API respond with the asynchronous response. See Asynchronous Operations.
bill_paymentobjectbill_payment attributesResponse Body
1{
2 "bill_payment": {
3 "status": "void"
4 }
5}
1{
2 "bill_payment": {
3 "id": "00000000-0000-0000-0000-000000000000",
4 "platform_id": "12345678",
5 "account_id": "00000000-0000-0000-0000-000000000000",
6 "vendor_id": "00000000-0000-0000-0000-000000000000",
7 "transaction_date": "2023-01-02T02:34:56.000Z",
8 "currency_code": "USD",
9 "currency_rate": "1",
10 "document_number": "0000-1",
11 "memo": "Payment for a shirt.",
12 "reference": "123456",
13 "status": "active",
14 "total_amount": 2,
15 "linked_bills": [
16 {
17 "id": "00000000-0000-0000-0000-000000000000",
18 "allocated_date": "2023-01-02T02:34:56.000Z",
19 "allocated_amount": 2
20 }
21 ],
22 "linked_credit_memos": [
23 {
24 "id": "00000000-0000-0000-0000-000000000000",
25 "allocated_date": "2023-01-02T02:34:56.000Z",
26 "allocated_amount": 2
27 }
28 ],
29 "created_at": "2023-01-02T02:34:56.000Z",
30 "updated_at": "2023-01-02T02:34:56.000Z",
31 "last_synced_at": "2023-01-02T02:34:56.000Z",
32 "platform_url": "https://platform.com/resource?id=123",
33 "platform_data": {
34 "id": 123,
35 "data": "Varies by platform"
36 }
37 }
38}
Delete a Bill Payment
Request Parameters
idstringpathRequiredThe Rutter generated unique ID of the object.
access_tokenstringqueryRequiredThe access token of the connection.
Request Body
response_modeenumOptionalThe response mode for our async endpoints. prefer_sync allows calling the API in a best-effort, synchronous fashion and wait for the response. If this takes too long we will instead return the asynchronous response. This is the default behavior. async makes the API respond with the asynchronous response. See Asynchronous Operations.
Response Body
1{
2 "code": "deleted",
3 "success": true
4}
Have questions?
Contact support for personalized guidance.