Overview
Use of the Spend APIs requires the Spend Management Platform API entitlement. Work with your company Account Manager for access.
With the Spend Management API, you can list and retrieve records, replace their line items, or attach a receipt to card transactions or reimbursements.
Key terms:
- Bill: A vendor bill, including invoice and payment details.
- Card transaction: A posted card charge or a pending authorization.
- Reimbursement: An expense reimbursement, including mileage and per diem.
- Finance vendor: A vendor in the company's finance directory. Archived vendors remain available so historical transactions can still resolve their vendor.
- Finance category: A category used to classify transaction line items. Inactive categories remain available for historical references.
Available endpoints
| API endpoint | Required scopes | Schema | Notes / Requirements |
|---|---|---|---|
| GET List bills |
|
|
|
| GET Retrieve a specific bill |
|
|
|
| PATCH Update a bill |
|
|
|
| GET List card transactions |
|
|
|
| GET Retrieve a specific card transaction |
|
|
|
| PATCH Update a card transaction |
|
|
|
| POST Upload a receipt to a card transaction |
|
|
|
| GET List reimbursements |
|
|
|
| GET Retrieve a specific reimbursement |
|
|
|
| PATCH Update a reimbursement |
|
|
|
| POST Upload a receipt to a reimbursement |
|
|
|
| GET List finance vendors |
|
| |
| GET Retrieve a specific finance vendor |
|
|
|
| GET List finance categories |
|
| |
| GET Retrieve a specific finance category |
|
|
|
Suggested workflow
- List finance categories and list finance vendors. Keep the
idvalues you will assign to line items and use forvendor_id. - List bills, list card transactions, or list reimbursements. Keep each record
id. - Retrieve the bill record and copy the
line_itemsyou want to keep. - Update the bill, card transaction, or reimbursement with the full
line_itemslist. - Upload a card receipt or upload a reimbursement receipt when the record needs a file attached.
Requirements
- The Spend Management Platform API entitlement enabled for your company.
- The Rippling API SKU
- An API token with the following scopes:
bills.readto list and retrieve billsbills.read-writeto update a bill's line itemscard-transactions.readto list and retrieve card transactionscard-transactions.read-writeto update line items and upload a receiptreimbursements.readto list and retrieve reimbursementsreimbursements.read-writeto update line items and upload a receiptfinance-vendors.readto list and retrieve finance vendorsfinance-categories.readto list and retrieve finance categoriesworkers.readwhen you expandworker
Fetch
Bills
Use GET List bills to return a paginated list of Spend Management bills for a company.
Request:
curl -L -X GET 'https://rest.ripplingapis.com/bills/'
-H 'Accept: application/json'
-H 'Authorization: Bearer REDACTED'
Response:
{
"results": [
{
"id": "66a43405af71f094991bf94f",
"created_at": "2026-03-01T18:04:11.000000+00:00",
"updated_at": "2026-03-02T15:10:00.000000+00:00",
"invoice_number": "INV-1044",
"invoice_date": "2026-02-28",
"approval_status": "APPROVED",
"vendor_id": "66a43405af71f094991bf950",
"merchant_amount": { "value": "150.00" },
"line_items": []
}
],
"next_link": null
}
| Response field | Description |
|---|---|
id | Bill ID. Use it on retrieve and update. |
created_at | When the bill record was created. |
updated_at | When the bill record was last updated. |
invoice_number | Invoice number. Null when the bill has no invoice number. |
invoice_date | Invoice date, as an ISO 8601 date (YYYY-MM-DD). Null when it is not set. |
due_date | Invoice due date, as an ISO 8601 date. A draft can omit it. |
approval_status | DRAFT, PENDING, REQUESTED, APPROVED, or REJECTED. |
vendor_id | Finance vendor. Retrieve it with GET Retrieve a specific finance vendor. |
worker_id | Worker who made the transaction. |
submitter_id | Bill manager who submitted the bill. Null before submission. Can differ from worker_id. |
merchant_amount | Amount charged by the merchant. currency_type is the currency, such as USD. value is a decimal string. |
line_items | Category splits of the bill amount. |
line_items[].id | Line ID. Null on older lines that have not been assigned one yet. |
line_items[].category_id | Finance category for this split. |
line_items[].category_name | Name of that finance category. |
line_items[].amount | Split amount in the merchant currency. value is a decimal string. |
next_link | URL of the next page. null when there are no more results. |
Card transactions
Use GET List card transactions to return a paginated list of all Spend Management card transactions for a company.
Request:
curl -L -X GET 'https://rest.ripplingapis.com/card-transactions/'
-H 'Accept: application/json'
-H 'Authorization: Bearer REDACTED'
Response:
{
"results": [
{
"id": "66a43405af71f094991bf970",
"created_at": "2026-03-04T12:00:00.000000+00:00",
"updated_at": "2026-03-04T12:00:00.000000+00:00",
"transaction_type": "CARD_TRANSACTION",
"transaction_date": "2026-03-04T11:42:00.000000+00:00",
"approval_status": "REQUESTED",
"worker_id": "66a43405af71f094991bf960",
"vendor_id": "66a43405af71f094991bf950",
"card_id": "66a43405af71f094991bf980",
"merchant_amount": {
"currency_type": "USD",
"value": "42.18"
},
"receipts": []
}
],
"next_link": null
}
| Response field | Description |
|---|---|
id | Card transaction ID. Use it on retrieve, update, and receipt upload. |
created_at | When the transaction record was created. |
updated_at | When the transaction record was last updated. |
transaction_type | CARD_TRANSACTION for a posted charge. CARD_AUTHORIZATION for a hold. |
transaction_date | When the purchase or authorization happened, as an ISO 8601 date-time in UTC. |
authorization_state | PENDING for an active hold. CLOSED when the authorization was declined, or when it completed and was replaced by a posted charge. |
approval_status | DRAFT, PENDING, REQUESTED, APPROVED, or REJECTED. |
worker_id | Worker who made the transaction. |
vendor_id | Finance vendor for the merchant. |
card_id | Finance card used for the purchase. No public API currently retrieves this card. |
merchant_amount | Amount charged by the merchant. value is a decimal string. |
receipts | Receipt files in display order, up to 5. Empty when there are none. Null when the caller cannot read this transaction's receipts. |
next_link | URL of the next page. null when there are no more results. |
Reimbursements
Use GET List reimbursements to return a paginated list of Spend Management reimbursements for a company.
Request:
curl -L -X GET 'https://rest.ripplingapis.com/reimbursements/'
-H 'Accept: application/json'
-H 'Authorization: Bearer REDACTED'
Response:
{
"results": [
{
"id": "66a43405af71f094991bf990",
"created_at": "2026-03-05T16:20:00.000000+00:00",
"updated_at": "2026-03-05T16:20:00.000000+00:00",
"transaction_type": "REIMBURSEMENT",
"transaction_date": "2026-03-05T15:00:00.000000+00:00",
"approval_status": "APPROVED",
"worker_id": "66a43405af71f094991bf960",
"merchant_amount": {
"currency_type": "USD",
"value": "86.40"
},
"payout_method": "DIRECT_DEPOSIT",
"payout_date": null,
"receipt": null
}
],
"next_link": null
}
| Response field | Description |
|---|---|
id | Reimbursement ID. Use it on retrieve, update, and receipt upload. |
created_at | When the reimbursement record was created. |
updated_at | When the reimbursement record was last updated. |
transaction_type | REIMBURSEMENT, MILEAGE_REIMBURSEMENT, or PER_DIEM_REIMBURSEMENT. |
transaction_date | When the purchase happened, as an ISO 8601 date-time in UTC. |
approval_status | DRAFT, PENDING, REQUESTED, APPROVED, or REJECTED. |
worker_id | Worker who made the transaction. |
merchant_amount | Amount charged by the merchant. value is a decimal string. |
payout_method | NOT_SET, US_PAYROLL, GLOBAL_PAYROLL, or DIRECT_DEPOSIT. |
payout_date | Date the worker is paid, as YYYY-MM-DD. Null before a payout run is assigned. |
receipt | Receipt file and its filename. Null when no receipt is attached. |
next_link | URL of the next page. null when there are no more results. |
Finance vendors
Use GET List finance vendors to return a paginated list of Spend Management finance vendors for a company.
Request:
curl -L -X GET 'https://rest.ripplingapis.com/finance-vendors/'
-H 'Accept: application/json'
-H 'Authorization: Bearer REDACTED'
Response:
{
"results": [
{
"id": "66a43405af71f094991bf950",
"created_at": "2024-07-26T23:41:12.243000+00:00",
"updated_at": "2024-07-27T10:37:57.891000+00:00",
"name": "Northwind Supplies",
"logo": null,
"is_archived": false
}
],
"next_link": null
}
| Response field | Description |
|---|---|
id | Finance vendor ID. This is the vendor_id on a bill, card transaction, or reimbursement. |
created_at | When the vendor record was created. |
updated_at | When the vendor record was last updated. |
name | Canonical vendor name. A name filter with eq, ne, or in also matches alternate names. |
logo | URL of the vendor logo. Null when no logo is available. |
is_archived | Whether the vendor is archived. Archived vendors remain available for historical transactions. |
next_link | URL of the next page. null when there are no more results. |
Finance categories
Use GET List finance categories to return a paginated list of all Spend Management finance categories for a company.
Request:
curl -L -X GET 'https://rest.ripplingapis.com/finance-categories/'
-H 'Accept: application/json'
-H 'Authorization: Bearer REDACTED'
Response:
{
"results": [
{
"id": "66a43405af71f094991bf952",
"created_at": "2024-07-26T23:41:12.243000+00:00",
"updated_at": "2024-07-27T10:37:57.891000+00:00",
"name": "Software",
"active": true
}
],
"next_link": null
}
| Response field | Description |
|---|---|
id | Finance category ID. Send this as category_id on a line item. |
created_at | When the category record was created. |
updated_at | When the category record was last updated. |
name | Category name. |
active | Whether the category is active. Inactive categories remain available for historical line items. |
next_link | URL of the next page. null when there are no more results. |
Update
Bills
Use PATCH Update a bill to replace a bill's line items. First fetch the bill, then send line_items with the full list of line items that should be associated with the bill. A line with an id is updated and keeps that ID, while a line without an id is added to the bill. The response will include the new ID.
Request:
curl -L -X PATCH 'https://rest.ripplingapis.com/bills/66a43405af71f094991bf94f/'
-H 'Accept: application/json'
-H 'Content-Type: application/json'
-H 'Authorization: Bearer REDACTED'
Request body:
{
"line_items": [
{
"id": "66a43405af71f094991bf951",
"category_id": "66a43405af71f094991bf952",
"amount": "100.00",
"tax_amount": "0.00"
},
{
"category_id": "66a43405af71f094991bf953",
"amount": "50.00"
}
]
}
Response:
{
"id": "66a43405af71f094991bf94f",
"created_at": "2026-03-01T18:04:11.000000+00:00",
"updated_at": "2026-03-06T14:12:00.000000+00:00",
"invoice_number": "INV-1044",
"approval_status": "APPROVED",
"merchant_amount": {
"currency_type": "USD",
"value": "150.00"
},
"line_items": [
{
"id": "66a43405af71f094991bf951",
"category_id": "66a43405af71f094991bf952",
"category_name": "Software",
"amount": {
"currency_type": "USD",
"value": "100.00"
},
"tax_amount": {
"currency_type": "USD",
"value": "0.00"
}
},
{
"id": "66a43405af71f094991bf954",
"category_id": "66a43405af71f094991bf953",
"category_name": "Travel",
"amount": {
"currency_type": "USD",
"value": "50.00"
}
}
]
}
Card transactions
Use PATCH Update a card transaction to replace a transaction's line items. Sending line_items replaces the entire list and unlisted lines are deleted. The sum of amount must equal the transaction's merchant amount.
Request:
curl -L -X PATCH 'https://rest.ripplingapis.com/card-transactions/66a43405af71f094991bf970/'
-H 'Accept: application/json'
-H 'Content-Type: application/json'
-H 'Authorization: Bearer REDACTED'
Request body:
{
"line_items": [
{
"category_id": "66a43405af71f094991bf952",
"amount": "42.18",
"memo": "Team lunch"
}
]
}
Response:
{
"id": "66a43405af71f094991bf970",
"transaction_type": "CARD_TRANSACTION",
"merchant_amount": {
"currency_type": "USD",
"value": "42.18"
},
"line_items": [
{
"id": "66a43405af71f094991bf971",
"category_id": "66a43405af71f094991bf952",
"category_name": "Software",
"amount": {
"currency_type": "USD",
"value": "42.18"
},
"memo": "Team lunch"
}
]
}
Reimbursements
Use PATCH Update a reimbursement to replace a reimbursement's line items. Line items on a per-diem reimbursement cannot be updated, and a mileage reimbursement must have exactly one line item.
Request:
curl -L -X PATCH 'https://rest.ripplingapis.com/reimbursements/66a43405af71f094991bf990/'
-H 'Accept: application/json'
-H 'Content-Type: application/json'
-H 'Authorization: Bearer REDACTED'
Request body:
{
"line_items": [
{
"category_id": "66a43405af71f094991bf952",
"amount": "86.40"
}
]
}
Response:
{
"id": "66a43405af71f094991bf990",
"transaction_type": "REIMBURSEMENT",
"merchant_amount": {
"currency_type": "USD",
"value": "86.40"
},
"line_items": [
{
"id": "66a43405af71f094991bf991",
"category_id": "66a43405af71f094991bf952",
"category_name": "Software",
"amount": {
"currency_type": "USD",
"value": "86.40"
}
}
]
}
Upload receipts
Card transactions
Use POST Upload a receipt to a card transaction to attach one file to a card transaction. The file must be a PDF, JPEG, PNG, or BMP, and up to 10 MB.
The upload stores and attaches the file, and it does not scan the file or fill in transaction fields from its contents. When the company allows multiple receipts per transaction, the file is appended. Otherwise, the file replaces the existing receipt.
Uploading the same file contents again does not store another file. Declined authorizations cannot be changed.
Request:
curl -L -X POST 'https://rest.ripplingapis.com/card-transactions/66a43405af71f094991bf970/receipts/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer REDACTED' \
-F 'file=@receipt.pdf;type=application/pdf'
| Form field | Required | Description |
|---|---|---|
file | Yes | Receipt file: PDF, JPEG, PNG, or BMP, up to 10 MB. |
Response:
{
"id": "66a43405af71f094991bf970",
"transaction_type": "CARD_TRANSACTION",
"merchant_amount": {
"currency_type": "USD",
"value": "42.18"
},
"receipts": [
{
"url": "https://example.rippling.com/receipts/receipt.pdf",
"preview_url": null,
"file_name": "receipt.pdf",
"content_type": "application/pdf"
}
]
}
Reimbursements
Use POST Upload a receipt to a reimbursement to attach one file to a reimbursement. The file replaces the existing receipt, so a retried request does not add a second receipt. Reimbursements that are paid out, finalized, or failed cannot be modified.
Request:
curl -L -X POST 'https://rest.ripplingapis.com/reimbursements/66a43405af71f094991bf990/receipts/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer REDACTED' \
-F 'file=@receipt.pdf;type=application/pdf'
Response:
{
"id": "66a43405af71f094991bf990",
"transaction_type": "REIMBURSEMENT",
"merchant_amount": {
"currency_type": "USD",
"value": "86.40"
},
"receipt": {
"url": "https://example.rippling.com/receipts/receipt.png",
"preview_url": null,
"file_name": "receipt.pdf",
"content_type": "image/png"
}
}
Errors
| Status | Description |
|---|---|
| 400 | The id is not a valid identifier, the form has fields other than one file, or the file is empty, unreadable, or not a PDF, JPEG, PNG, or BMP. A card transaction is a declined authorization or already has 5 receipts. A reimbursement is paid out, finalized, or failed. |
| 403 | The token lacks card-transactions.read-write or reimbursements.read-write, or the caller cannot change this record's receipts. |
| 404 | The record does not exist or is not visible to the caller. |
| 409 | Another request changed the record during the upload. Retry the upload. |
| 413 | The file is larger than 10 MB. |
| 415 | The request body is not multipart/form-data. |