Invoices
Page number to fetch, 1-indexed. Defaults to 1.
Number of results per page (1-100). Defaults to 10 if omitted. Values above 50 return 50 rows per page, and the response perPage shows the page size used.
Lucene-style filter query (e.g. status:active AND createdAt:[2024-01-01 TO *]). Field names match the Invoice object's own fields. This syntax is part of an in-flight migration (see docs/design/lucene-migration-json-filter-spec.md) and may change.
Field name to sort by. One of id, number, status, hourlyRate, contactId, dealId, childInvoiceId, parentQuoteId, parentQuoteNumber, quoteType, quoteType.id, quoteType.label, quoteTemplate.id, contact.firstName, contact.lastName, jobAddress.identifier, source.provider, source.id, dates.quote, dates.sent, dates.viewed, dates.accepted, dates.declined, timestamp.created, timestamp.updated (deprecated aliases: quoteTypeId, quoteType.value, quoteTemplateId, quoteTemplate.value). quoteType sorts by label. createdAt and updatedAt are accepted for timestamp.created and timestamp.updated. A :asc or :desc suffix (e.g. timestamp.updated:desc) sets the direction, and a leading - (e.g. -timestamp.updated) means descending. Either one overrides sortDir, and the suffix wins over the prefix. Any other field returns a 400. Defaults to timestamp.updated.
Sort direction: asc or desc. Only takes effect when sort is set.
Filter to work orders only (true) or exclude them (false). Omit to include both.
List of invoices
Bad Request
Not Authorized
Not found
Unexpected error
GET /v2/invoices HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"totalRows": 1,
"rows": [
{
"id": "abcd1234-abcd-1234-abcd-abcd1234abcd",
"number": 234,
"hourlyRate": 65.5
}
]
}A unique ID for the Invoice. Ignored when creating & updating invoices.
The Number of the Invoice
The status of this invoice
The Hourly Rate of the Invoice
This field is deprecated. Use contact.id instead
The unique ID of the quote that this invoice was created from if available
The quote number of the quote that this invoice was created from if available
The unique ID of the deal associated with this invoice
This field is deprecated. Use quoteType.id instead
This field is deprecated. Use quoteTemplate.id instead
The terms/contract associated with this invoice
The estimator notes associated with this invoice
The client note associated with this invoice
The crew note associated with this invoice
Tags associated with this Invoice
Details about the new Invoice
A unique ID for the Invoice. Ignored when creating & updating invoices.
The Number of the Invoice
The status of this invoice
The Hourly Rate of the Invoice
This field is deprecated. Use contact.id instead
The unique ID of the quote that this invoice was created from if available
The quote number of the quote that this invoice was created from if available
The unique ID of the deal associated with this invoice
This field is deprecated. Use quoteType.id instead
This field is deprecated. Use quoteTemplate.id instead
The terms/contract associated with this invoice
The estimator notes associated with this invoice
The client note associated with this invoice
The crew note associated with this invoice
Tags associated with this Invoice
Bad Request
Not Authorized
Not found
Unexpected error
POST /v2/invoices HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2180
{
"id": "text",
"number": 1,
"status": "text",
"hourlyRate": 1,
"contact": {
"id": "abcd1234-abcd-1234-abcd-abcd1234abcd",
"firstName": "Bob",
"lastName": "Johnson",
"company": "Johnson Construction",
"email": "bob@johnsonconstruction.com",
"phoneNumber": "5551234567"
},
"billingContact": {
"id": "abcd1234-abcd-1234-abcd-abcd1234abcd",
"firstName": "Bob",
"lastName": "Johnson",
"company": "Johnson Construction",
"email": "bob@johnsonconstruction.com",
"phoneNumber": "5551234567"
},
"dates": {
"quote": 1,
"sent": 1,
"viewed": 1,
"accepted": 1,
"declined": 1
},
"jobAddress": {
"identifier": "text",
"address": "text",
"city": "text",
"state": "text",
"zip": "text"
},
"parentQuoteId": "text",
"parentQuoteNumber": 1,
"dealId": "text",
"quoteType": {
"id": "text",
"label": "text"
},
"quoteTemplate": {
"id": "text",
"label": "text"
},
"items": [
{
"name": "Interior Wall Painting",
"quoteType": "interior",
"description": "Professional interior wall painting with premium paint",
"descriptionHtml": "<p>Professional interior wall painting with <strong>premium paint</strong></p>",
"price": 1245.5,
"hours": 8.5,
"quantity": 1,
"crewNote": "Use Benjamin Moore paint from storage room",
"clientNote": "Work will be completed during business hours",
"files": [],
"source": {
"provider": "paintscout",
"id": "rate-001",
"value": "interior-walls",
"label": "Interior Wall Painting Rate"
}
}
],
"totalAdjustment": {
"rate": 1,
"total": 1,
"description": "text"
},
"discount": {
"rate": 1,
"total": 1,
"description": "text"
},
"tax": {
"rate": 1,
"total": 1,
"description": "text",
"details": [
{
"rate": 1,
"total": 1,
"description": "text"
}
]
},
"terms": "text",
"estimatorNotes": "text",
"clientNote": "text",
"crewNote": "text",
"totals": {
"price": 1,
"laborPrice": 1,
"materialsPrice": 1,
"additionalWorkLaborPrice": 1,
"additionalWorkMaterialsPrice": 1,
"afterAdjustment": 1,
"afterDiscount": 1,
"afterTax": 1,
"hours": 1
},
"urls": {
"invoice": "text",
"workOrder": "text"
},
"source": {
"id": "12345",
"provider": "myOtherIntegratedApp"
},
"owner": {
"id": "user123",
"firstName": "Bob",
"lastName": "Johnson",
"title": "Project Manager",
"email": "bob.johnson@example.com",
"phoneNumber": "15551234567",
"phoneExtension": "123"
},
"timestamp": {
"created": 1234567890,
"updated": 1234567890
},
"tags": [
"text"
],
"tagDetails": [
{
"name": "urgent",
"label": "Urgent",
"deleted": false,
"updated": 1625247600
}
]
}{
"id": "abcd1234-abcd-1234-abcd-abcd1234abcd",
"number": 234,
"hourlyRate": 65.5
}ID of the Invoice
Display as either an Invoice or Work Order. The default quote view (an invoice is a
Quote document internally, hence the value name) does not include per-item
materials/product cost data. Use work-order to get that data — each item's materials
array (see the InvoiceWorkOrderMaterial schema).
This parameter only applies to this endpoint, not to GET /v2/invoices/{id}/items. The
work-order view is a different item shape, not a superset of the default view: it drops
quantity, pricePerUnit, and source from each item, and rolls sub-items up under
their parent item as a subItems array instead of listing them separately.
quotePossible values: Language used to locale-format Work Order values (only applies when display=work-order).
enPossible values: Details about the invoice
A unique ID for the Invoice. Ignored when creating & updating invoices.
The Number of the Invoice
The status of this invoice
The Hourly Rate of the Invoice
This field is deprecated. Use contact.id instead
The unique ID of the quote that this invoice was created from if available
The quote number of the quote that this invoice was created from if available
The unique ID of the deal associated with this invoice
This field is deprecated. Use quoteType.id instead
This field is deprecated. Use quoteTemplate.id instead
The terms/contract associated with this invoice
The estimator notes associated with this invoice
The client note associated with this invoice
The crew note associated with this invoice
Tags associated with this Invoice
Bad Request
Not Authorized
Not found
Unexpected error
GET /v2/invoices/{id} HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "abcd1234-abcd-1234-abcd-abcd1234abcd",
"number": 234,
"hourlyRate": 65.5
}ID of the Invoice
A unique ID for the Invoice. Ignored when creating & updating invoices.
The Number of the Invoice
The status of this invoice
The Hourly Rate of the Invoice
This field is deprecated. Use contact.id instead
The unique ID of the quote that this invoice was created from if available
The quote number of the quote that this invoice was created from if available
The unique ID of the deal associated with this invoice
This field is deprecated. Use quoteType.id instead
This field is deprecated. Use quoteTemplate.id instead
The terms/contract associated with this invoice
The estimator notes associated with this invoice
The client note associated with this invoice
The crew note associated with this invoice
Tags associated with this Invoice
The updated invoice
A unique ID for the Invoice. Ignored when creating & updating invoices.
The Number of the Invoice
The status of this invoice
The Hourly Rate of the Invoice
This field is deprecated. Use contact.id instead
The unique ID of the quote that this invoice was created from if available
The quote number of the quote that this invoice was created from if available
The unique ID of the deal associated with this invoice
This field is deprecated. Use quoteType.id instead
This field is deprecated. Use quoteTemplate.id instead
The terms/contract associated with this invoice
The estimator notes associated with this invoice
The client note associated with this invoice
The crew note associated with this invoice
Tags associated with this Invoice
Bad Request
Not Authorized
Not found
Unexpected error
PUT /v2/invoices/{id} HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2180
{
"id": "text",
"number": 1,
"status": "text",
"hourlyRate": 1,
"contact": {
"id": "abcd1234-abcd-1234-abcd-abcd1234abcd",
"firstName": "Bob",
"lastName": "Johnson",
"company": "Johnson Construction",
"email": "bob@johnsonconstruction.com",
"phoneNumber": "5551234567"
},
"billingContact": {
"id": "abcd1234-abcd-1234-abcd-abcd1234abcd",
"firstName": "Bob",
"lastName": "Johnson",
"company": "Johnson Construction",
"email": "bob@johnsonconstruction.com",
"phoneNumber": "5551234567"
},
"dates": {
"quote": 1,
"sent": 1,
"viewed": 1,
"accepted": 1,
"declined": 1
},
"jobAddress": {
"identifier": "text",
"address": "text",
"city": "text",
"state": "text",
"zip": "text"
},
"parentQuoteId": "text",
"parentQuoteNumber": 1,
"dealId": "text",
"quoteType": {
"id": "text",
"label": "text"
},
"quoteTemplate": {
"id": "text",
"label": "text"
},
"items": [
{
"name": "Interior Wall Painting",
"quoteType": "interior",
"description": "Professional interior wall painting with premium paint",
"descriptionHtml": "<p>Professional interior wall painting with <strong>premium paint</strong></p>",
"price": 1245.5,
"hours": 8.5,
"quantity": 1,
"crewNote": "Use Benjamin Moore paint from storage room",
"clientNote": "Work will be completed during business hours",
"files": [],
"source": {
"provider": "paintscout",
"id": "rate-001",
"value": "interior-walls",
"label": "Interior Wall Painting Rate"
}
}
],
"totalAdjustment": {
"rate": 1,
"total": 1,
"description": "text"
},
"discount": {
"rate": 1,
"total": 1,
"description": "text"
},
"tax": {
"rate": 1,
"total": 1,
"description": "text",
"details": [
{
"rate": 1,
"total": 1,
"description": "text"
}
]
},
"terms": "text",
"estimatorNotes": "text",
"clientNote": "text",
"crewNote": "text",
"totals": {
"price": 1,
"laborPrice": 1,
"materialsPrice": 1,
"additionalWorkLaborPrice": 1,
"additionalWorkMaterialsPrice": 1,
"afterAdjustment": 1,
"afterDiscount": 1,
"afterTax": 1,
"hours": 1
},
"urls": {
"invoice": "text",
"workOrder": "text"
},
"source": {
"id": "12345",
"provider": "myOtherIntegratedApp"
},
"owner": {
"id": "user123",
"firstName": "Bob",
"lastName": "Johnson",
"title": "Project Manager",
"email": "bob.johnson@example.com",
"phoneNumber": "15551234567",
"phoneExtension": "123"
},
"timestamp": {
"created": 1234567890,
"updated": 1234567890
},
"tags": [
"text"
],
"tagDetails": [
{
"name": "urgent",
"label": "Urgent",
"deleted": false,
"updated": 1625247600
}
]
}{
"id": "abcd1234-abcd-1234-abcd-abcd1234abcd",
"number": 234,
"hourlyRate": 65.5
}ID of the Invoice
No Content
No content
Bad Request
Not Authorized
Not found
Unexpected error
DELETE /v2/invoices/{id} HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
ID of the Invoice
List of invoice items
Bad Request
Not Authorized
Not found
Unexpected error
GET /v2/invoices/{id}/items HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"bid": [
{
"name": "Interior Wall Painting",
"quoteType": "interior",
"description": "Professional interior wall painting with premium paint",
"descriptionHtml": "<p>Professional interior wall painting with <strong>premium paint</strong></p>",
"price": 1245.5,
"hours": 8.5,
"quantity": 1,
"crewNote": "Use Benjamin Moore paint from storage room",
"clientNote": "Work will be completed during business hours",
"files": [],
"source": {
"provider": "paintscout",
"id": "rate-001",
"value": "interior-walls",
"label": "Interior Wall Painting Rate"
}
}
],
"options": [
{
"name": "Interior Wall Painting",
"quoteType": "interior",
"description": "Professional interior wall painting with premium paint",
"descriptionHtml": "<p>Professional interior wall painting with <strong>premium paint</strong></p>",
"price": 1245.5,
"hours": 8.5,
"quantity": 1,
"crewNote": "Use Benjamin Moore paint from storage room",
"clientNote": "Work will be completed during business hours",
"files": [],
"source": {
"provider": "paintscout",
"id": "rate-001",
"value": "interior-walls",
"label": "Interior Wall Painting Rate"
}
}
],
"archived": [
{
"name": "Interior Wall Painting",
"quoteType": "interior",
"description": "Professional interior wall painting with premium paint",
"descriptionHtml": "<p>Professional interior wall painting with <strong>premium paint</strong></p>",
"price": 1245.5,
"hours": 8.5,
"quantity": 1,
"crewNote": "Use Benjamin Moore paint from storage room",
"clientNote": "Work will be completed during business hours",
"files": [],
"source": {
"provider": "paintscout",
"id": "rate-001",
"value": "interior-walls",
"label": "Interior Wall Painting Rate"
}
}
],
"additionalWork": [
{
"name": "Interior Wall Painting",
"quoteType": "interior",
"description": "Professional interior wall painting with premium paint",
"descriptionHtml": "<p>Professional interior wall painting with <strong>premium paint</strong></p>",
"price": 1245.5,
"hours": 8.5,
"quantity": 1,
"crewNote": "Use Benjamin Moore paint from storage room",
"clientNote": "Work will be completed during business hours",
"files": [],
"source": {
"provider": "paintscout",
"id": "rate-001",
"value": "interior-walls",
"label": "Interior Wall Painting Rate"
}
}
],
"pending": [
{
"name": "Interior Wall Painting",
"quoteType": "interior",
"description": "Professional interior wall painting with premium paint",
"descriptionHtml": "<p>Professional interior wall painting with <strong>premium paint</strong></p>",
"price": 1245.5,
"hours": 8.5,
"quantity": 1,
"crewNote": "Use Benjamin Moore paint from storage room",
"clientNote": "Work will be completed during business hours",
"files": [],
"source": {
"provider": "paintscout",
"id": "rate-001",
"value": "interior-walls",
"label": "Interior Wall Painting Rate"
}
}
]
}ID of the Invoice
The title/name for this item
The quote type this item applies to
The plain text description for this item
The HTML formatted description for this item
The total price for this item
The estimated hours for this item
The quantity of this item
The price per unit if quantity-based pricing
Notes for the crew working on this item
HTML formatted notes for the crew
Notes visible to the client
HTML formatted notes visible to the client
The section this item belongs to
bidPossible values: Details about the new Invoice Item
Materials are attached on write via materials on InvoiceItemCreate/InvoiceItemUpdate — a
different shape used only for input. See the materials property below for the read-side
shape and when it's populated.
The work-order view is not a superset of this shape. Besides populating materials, it
rolls sub-items up under their parent item as a subItems array, but it drops quantity,
pricePerUnit, and source. Read both views if you need the full set of fields.
Unique identifier for the invoice item
The title/name for this item
The quote type this item applies to
The plain text description for this item
The HTML formatted description for this item
The total price for this item
The estimated hours for this item
The quantity of this item
The price per unit if quantity-based pricing
Notes for the crew working on this item
HTML formatted notes for the crew
Notes visible to the client
HTML formatted notes visible to the client
The section this item belongs to
bidPossible values: Bad Request
Not Authorized
Not found
Unexpected error
POST /v2/invoices/{id}/items HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 507
{
"name": "Interior Wall Painting",
"quoteType": "interior",
"description": "Professional interior wall painting with premium paint",
"descriptionHtml": "<p>Professional interior wall painting with <strong>premium paint</strong></p>",
"price": 1245.5,
"hours": 8.5,
"quantity": 1,
"crewNote": "Use Benjamin Moore paint from storage room",
"clientNote": "Work will be completed during business hours",
"files": [],
"source": {
"provider": "paintscout",
"id": "rate-001",
"value": "interior-walls",
"label": "Interior Wall Painting Rate"
}
}{
"name": "Interior Wall Painting",
"quoteType": "interior",
"description": "Professional interior wall painting with premium paint",
"descriptionHtml": "<p>Professional interior wall painting with <strong>premium paint</strong></p>",
"price": 1245.5,
"hours": 8.5,
"quantity": 1,
"crewNote": "Use Benjamin Moore paint from storage room",
"clientNote": "Work will be completed during business hours",
"files": [],
"source": {
"provider": "paintscout",
"id": "rate-001",
"value": "interior-walls",
"label": "Interior Wall Painting Rate"
}
}ID of the Invoice
ID of the Invoice Item
Details about the invoice item
Materials are attached on write via materials on InvoiceItemCreate/InvoiceItemUpdate — a
different shape used only for input. See the materials property below for the read-side
shape and when it's populated.
The work-order view is not a superset of this shape. Besides populating materials, it
rolls sub-items up under their parent item as a subItems array, but it drops quantity,
pricePerUnit, and source. Read both views if you need the full set of fields.
Unique identifier for the invoice item
The title/name for this item
The quote type this item applies to
The plain text description for this item
The HTML formatted description for this item
The total price for this item
The estimated hours for this item
The quantity of this item
The price per unit if quantity-based pricing
Notes for the crew working on this item
HTML formatted notes for the crew
Notes visible to the client
HTML formatted notes visible to the client
The section this item belongs to
bidPossible values: Bad Request
Not Authorized
Not found
Unexpected error
GET /v2/invoices/{id}/items/{itemId} HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"name": "Interior Wall Painting",
"quoteType": "interior",
"description": "Professional interior wall painting with premium paint",
"descriptionHtml": "<p>Professional interior wall painting with <strong>premium paint</strong></p>",
"price": 1245.5,
"hours": 8.5,
"quantity": 1,
"crewNote": "Use Benjamin Moore paint from storage room",
"clientNote": "Work will be completed during business hours",
"files": [],
"source": {
"provider": "paintscout",
"id": "rate-001",
"value": "interior-walls",
"label": "Interior Wall Painting Rate"
}
}ID of the Invoice
ID of the Invoice Item
The title/name for this item
The quote type this item applies to
The plain text description for this item
The HTML formatted description for this item
The total price for this item
The estimated hours for this item
The quantity of this item
The price per unit if quantity-based pricing
Notes for the crew working on this item
HTML formatted notes for the crew
Notes visible to the client
HTML formatted notes visible to the client
The section this item belongs to
Updated invoice item details
Materials are attached on write via materials on InvoiceItemCreate/InvoiceItemUpdate — a
different shape used only for input. See the materials property below for the read-side
shape and when it's populated.
The work-order view is not a superset of this shape. Besides populating materials, it
rolls sub-items up under their parent item as a subItems array, but it drops quantity,
pricePerUnit, and source. Read both views if you need the full set of fields.
Unique identifier for the invoice item
The title/name for this item
The quote type this item applies to
The plain text description for this item
The HTML formatted description for this item
The total price for this item
The estimated hours for this item
The quantity of this item
The price per unit if quantity-based pricing
Notes for the crew working on this item
HTML formatted notes for the crew
Notes visible to the client
HTML formatted notes visible to the client
The section this item belongs to
bidPossible values: Bad Request
Not Authorized
Not found
Unexpected error
PUT /v2/invoices/{id}/items/{itemId} HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 115
{
"price": 1500,
"quantity": 2,
"description": "Updated description for the item",
"crewNote": "Updated crew instructions"
}{
"name": "Interior Wall Painting",
"quoteType": "interior",
"description": "Professional interior wall painting with premium paint",
"descriptionHtml": "<p>Professional interior wall painting with <strong>premium paint</strong></p>",
"price": 1245.5,
"hours": 8.5,
"quantity": 1,
"crewNote": "Use Benjamin Moore paint from storage room",
"clientNote": "Work will be completed during business hours",
"files": [],
"source": {
"provider": "paintscout",
"id": "rate-001",
"value": "interior-walls",
"label": "Interior Wall Painting Rate"
}
}ID of the Invoice
ID of the Invoice Item
Invoice item successfully deleted
No content
Bad Request
Not Authorized
Not found
Unexpected error
DELETE /v2/invoices/{id}/items/{itemId} HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?

