Invoice Request
Works with a single invoice request record.
Base URL
https://{{accountid}}.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=customscript_prac_api_invreq&deploy=customdeploy_prac_api_invreq_v1
HTTP: GET
Gets the invoice request with a specific internal ID.
Required Parameters
| Name | Value | Notes |
|---|---|---|
| script | customscript_prac_api_invreq | |
| deploy | customdeploy_prac_api_invreq_v1 | |
| custparam_id | {{integer}} | The internal id of the invoice request record. |
HTTP: POST
This endpoint creates an Invoice Request, a PracticeERP custom record. This invoice request is then turned into an invoice by the system.
Payload
{
"billClient": 440,
"invoiceDate": "2026-05-12T00:00:00",
"invoicePeriod": "2026-05-12T00:00:00",
"createInvoice": true,
"wipIds": [554,83945,994]
}
- billClient: Internal ID of the client on the resulting invoice
- invoiceDate: Date string that will be the invoice date
- invoicePeriod: A date in the accounting period for this invoice (system will look up the right period ID based on this date)
- createInvoice: Set to false if you want to create the invoice request only and trigger the invoice creation at a later time
- wipIds: Array of internal IDs of the WIP records to be included on the invoice
HTTP: PUT
This endpoint only allows the user to set one field, the field that triggers invoice creation.
Payload
{
"id": 3340,
"custrecord_gvcpa_invreq_process": true
}