- Retrieve an invoice item
Retrieve invoices
Create an invoice
Retrieve an invoice
Upsert an invoice
Retrieve invoice items
Create an invoice item
Update an invoice item
Delete an invoice item
Issue an invoice
Abandon an invoice
Void an invoice
Recalculate an invoice
Reissue an invoice
Retrieve transaction amounts allocations
Allocate customer credit balance to an invoice
Apply a transaction to an invoice
Invoice tax calculation failed
Invoice abandoned
Invoice created
Invoice issued
Invoice modified
Invoice paid
Invoice partially paid
Invoice refunded
Invoice partially refunded
Invoice past due
Invoice past due reminder
Invoice reissued
Invoice voided
Renewal invoice payment canceled
Renewal invoice payment declined
Retrieve an invoice item
Retrieves an invoice item.
Security
SecretApiKey or JWT
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/invoices/{id}/items/{itemId}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/invoices/{id}/items/{itemId}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/invoices/{id}/items/{itemId}
- SecretApiKey
- JWT
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/invoices/{id}/items/{itemId}' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Invoice item retrieved.
ID of the product.
Example:"prod_0YV7DES3WPC5J8JD8QTVNZBZNZ"
ID of the plan.
Example:"plan_0YV7DENSVGDBW9S71XZNNYYQ0X"
ID of the order.
Example:"sub_01HRF27SATGE4Z6PBJE6PD8328"
Billing period number that is associated with the invoice item. For example, an invoice item for a service is included in billing period number 3. The invoice item is only applied to billing period number 3.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
Response
- TaxItem
- null
{ "id": "ii_0YVFDEQS2KCFTBN9HXWJFY55GV", "type": "debit", "description": "string", "unitPrice": 0.1, "quantity": 0, "price": 0.1, "productId": "prod_0YV7DES3WPC5J8JD8QTVNZBZNZ", "planId": "plan_0YV7DENSVGDBW9S71XZNNYYQ0X", "subscriptionId": "sub_01HRF27SATGE4Z6PBJE6PD8328", "periodStartTime": "2019-08-24T14:15:22Z", "periodEndTime": "2019-08-24T14:15:22Z", "periodNumber": 0, "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "tax": { "amount": 0.1, "description": "string", "rate": 0, "stateAmount": 0.94, "countyAmount": 0.04, "cityAmount": 0, "specialDistrictAmount": 0.38, "stateRate": 0, "countyRate": 0, "cityRate": 0, "specialDistrictRate": 0, "jurisdictions": { … } }, "_links": [ { … } ], "_embedded": { "product": {}, "plan": {} } }