Getting Started
Invoices
Get Invoice
Retrieve invoice details by unique identifier.
GET
/
v1
/
invoices
/
{id}
curl --request GET \
--url https://api.nomod.com/v1/invoices/{id} \
--header 'X-API-KEY: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reference_id": "<string>",
"created": "2023-11-07T05:31:56Z",
"title": "<string>",
"code": "<string>",
"url": "<string>",
"amount": "<string>",
"currency": "<string>",
"status": "paid",
"discount": "<string>",
"service_fee": "<string>",
"tax": "<string>",
"shipping_address_required": true,
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": "<string>",
"name": "<string>",
"total_amount": "<string>",
"quantity": 2147483647,
"sku": "<string>"
}
],
"note": "<string>",
"expiry": "2023-11-07T05:31:56Z",
"discount_percentage": "<string>",
"service_fee_percentage": "<string>",
"tip_percentage": "<string>",
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"first_name": "<string>",
"last_name": "<string>"
},
"tip": "<string>",
"invoice_number": "<string>",
"service_date": "2023-11-07T05:31:56Z",
"due_date": "2023-11-07T05:31:56Z",
"interval_count": 123,
"starts_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z",
"due_days": 123,
"custom_fields": [],
"source": "woocommerce",
"success_url": "<string>",
"failure_url": "<string>",
"files": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"content_type": "<string>",
"file": "<string>"
}
],
"reminders": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"days": 123,
"title": "<string>",
"invoice": 123,
"run_at": "2023-11-07T05:31:56Z"
}
],
"events": [
{
"created": "2023-11-07T05:31:56Z",
"type": "created",
"message": "<string>",
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"first_name": "<string>",
"last_name": "<string>"
}
}
],
"customer": {}
}
Authorizations
Your API key. This is required by all endpoints to access our API programatically. You can view your API Key by navigating to the app settings
Path Parameters
Response
200
application/json
The response is of type object
.
curl --request GET \
--url https://api.nomod.com/v1/invoices/{id} \
--header 'X-API-KEY: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reference_id": "<string>",
"created": "2023-11-07T05:31:56Z",
"title": "<string>",
"code": "<string>",
"url": "<string>",
"amount": "<string>",
"currency": "<string>",
"status": "paid",
"discount": "<string>",
"service_fee": "<string>",
"tax": "<string>",
"shipping_address_required": true,
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": "<string>",
"name": "<string>",
"total_amount": "<string>",
"quantity": 2147483647,
"sku": "<string>"
}
],
"note": "<string>",
"expiry": "2023-11-07T05:31:56Z",
"discount_percentage": "<string>",
"service_fee_percentage": "<string>",
"tip_percentage": "<string>",
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"first_name": "<string>",
"last_name": "<string>"
},
"tip": "<string>",
"invoice_number": "<string>",
"service_date": "2023-11-07T05:31:56Z",
"due_date": "2023-11-07T05:31:56Z",
"interval_count": 123,
"starts_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z",
"due_days": 123,
"custom_fields": [],
"source": "woocommerce",
"success_url": "<string>",
"failure_url": "<string>",
"files": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"content_type": "<string>",
"file": "<string>"
}
],
"reminders": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"days": 123,
"title": "<string>",
"invoice": 123,
"run_at": "2023-11-07T05:31:56Z"
}
],
"events": [
{
"created": "2023-11-07T05:31:56Z",
"type": "created",
"message": "<string>",
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"first_name": "<string>",
"last_name": "<string>"
}
}
],
"customer": {}
}
Assistant
Responses are generated using AI and may contain mistakes.