Daily closes

End-of-day close records.

The object#

FieldTypeDescription
idread-onlyintegerNolaPro id.
inventorylocationidintegerInventorylocationid. Id only.
inventorylocationstring(20)The locationcode of the referenced inventorylocations, instead of the id. Send this or inventorylocationid, not both unless they agree.
closedatestringBusiness date the daily close covers.
actualcashmoneystring(4dp)Stored as decimal(19,4).
currencybreakdowntextCurrencybreakdown. Stored as text, no practical length limit.
currencystring(10)Currency the close totals are stated in.
actualchecksmoneystring(4dp)Stored as decimal(19,4).
cashdrawerfloatmoneystring(4dp)Stored as decimal(19,4).
depositeamountmoneystring(4dp)Stored as decimal(19,4).
actualccmoneystring(4dp)Stored as decimal(19,4).
overshortmoneystring(4dp)Stored as decimal(19,4).
entrydatestringWhen the record was created.
cancelbooleanCancelled. NolaPro cancels rather than deletes, so a cancelled row is still readable.
gl_cashmoneystring(4dp)Stored as decimal(19,4).
gl_ccmoneystring(4dp)Stored as decimal(19,4).
gl_checksmoneystring(4dp)Stored as decimal(19,4).
sys_cashmoneystring(4dp)Stored as decimal(19,4).
sys_ccmoneystring(4dp)Stored as decimal(19,4).
sys_checksmoneystring(4dp)Stored as decimal(19,4).
externalidstring(100)Your own key. Scoped to your company.

Endpoints#

POST/ardailycloses/batch 207

Create many.

Requires scope payments:write.

Parameters
NameInTypeNotes
Body array
FieldTypeDescription
idread-onlyintegerNolaPro id.
inventorylocationidintegerInventorylocationid. Id only.
inventorylocationstring(20)The locationcode of the referenced inventorylocations, instead of the id. Send this or inventorylocationid, not both unless they agree.
closedatestringBusiness date the daily close covers.
actualcashmoneystring(4dp)Stored as decimal(19,4).
currencybreakdowntextCurrencybreakdown. Stored as text, no practical length limit.
currencystring(10)Currency the close totals are stated in.
actualchecksmoneystring(4dp)Stored as decimal(19,4).
cashdrawerfloatmoneystring(4dp)Stored as decimal(19,4).
depositeamountmoneystring(4dp)Stored as decimal(19,4).
actualccmoneystring(4dp)Stored as decimal(19,4).
overshortmoneystring(4dp)Stored as decimal(19,4).
entrydatestringWhen the record was created.
cancelbooleanCancelled. NolaPro cancels rather than deletes, so a cancelled row is still readable.
gl_cashmoneystring(4dp)Stored as decimal(19,4).
gl_ccmoneystring(4dp)Stored as decimal(19,4).
gl_checksmoneystring(4dp)Stored as decimal(19,4).
sys_cashmoneystring(4dp)Stored as decimal(19,4).
sys_ccmoneystring(4dp)Stored as decimal(19,4).
sys_checksmoneystring(4dp)Stored as decimal(19,4).
externalidstring(100)Your own key. Scoped to your company.
curl -X POST \
  'https://acme.nolapro.com/!/api/v2/ardailycloses/batch' \
  -H 'Authorization: Bearer $NP_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: your-unique-key' \
  -d '[
    {
        "inventorylocationid": 104,
        "inventorylocation": "Example inventorylocation",
        "closedate": "2026-08-01",
        "actualcash": "125.0000",
        "currencybreakdown": "Example currencybreakdown",
        "currency": "Example currency"
    }
]'
GET/ardailycloses 200403

List daily closes.

Requires scope payments:read.

Parameters
NameInTypeNotes
inventorylocationidquerystringRestrict to one inventorylocationid.
cancelquerystringDefaults to false. Pass true or any.
externalidquerystringExact match on your own key.
includequerystringComma-separated extras to embed. Only custom_fields is available: the extra fields this install has defined on the record. Off by default, and an unrecognised value is refused rather than ignored. See Conventions.
When it fails
StatusCodeMeaning
403insufficient_scopeToken lacks read scope.
curl \
  'https://acme.nolapro.com/!/api/v2/ardailycloses' \
  -H 'Authorization: Bearer $NP_TOKEN'
POST/ardailycloses 201400

Create.

Requires scope payments:write.

Parameters
NameInTypeNotes
Body
FieldTypeDescription
idread-onlyintegerNolaPro id.
inventorylocationidintegerInventorylocationid. Id only.
inventorylocationstring(20)The locationcode of the referenced inventorylocations, instead of the id. Send this or inventorylocationid, not both unless they agree.
closedatestringBusiness date the daily close covers.
actualcashmoneystring(4dp)Stored as decimal(19,4).
currencybreakdowntextCurrencybreakdown. Stored as text, no practical length limit.
currencystring(10)Currency the close totals are stated in.
actualchecksmoneystring(4dp)Stored as decimal(19,4).
cashdrawerfloatmoneystring(4dp)Stored as decimal(19,4).
depositeamountmoneystring(4dp)Stored as decimal(19,4).
actualccmoneystring(4dp)Stored as decimal(19,4).
overshortmoneystring(4dp)Stored as decimal(19,4).
entrydatestringWhen the record was created.
cancelbooleanCancelled. NolaPro cancels rather than deletes, so a cancelled row is still readable.
gl_cashmoneystring(4dp)Stored as decimal(19,4).
gl_ccmoneystring(4dp)Stored as decimal(19,4).
gl_checksmoneystring(4dp)Stored as decimal(19,4).
sys_cashmoneystring(4dp)Stored as decimal(19,4).
sys_ccmoneystring(4dp)Stored as decimal(19,4).
sys_checksmoneystring(4dp)Stored as decimal(19,4).
externalidstring(100)Your own key. Scoped to your company.
When it fails
StatusCodeMeaning
400invalid_requestA required field was missing.
curl -X POST \
  'https://acme.nolapro.com/!/api/v2/ardailycloses' \
  -H 'Authorization: Bearer $NP_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: your-unique-key' \
  -d '{
    "inventorylocationid": 104,
    "inventorylocation": "Example inventorylocation",
    "closedate": "2026-08-01",
    "actualcash": "125.0000",
    "currencybreakdown": "Example currencybreakdown",
    "currency": "Example currency"
}'
Response 201
{
    "inventorylocationid": 104,
    "inventorylocation": "Example inventorylocation",
    "closedate": "2026-08-01",
    "actualcash": "125.0000",
    "currencybreakdown": "Example currencybreakdown",
    "currency": "Example currency"
}
GET/ardailycloses/{id} 200404

Retrieve one record.

Requires scope payments:read.

Parameters
NameInTypeNotes
idrequiredpathintegerThe record id.
includequerystringComma-separated extras to embed. Only custom_fields is available: the extra fields this install has defined on the record. Off by default, and an unrecognised value is refused rather than ignored. See Conventions.
When it fails
StatusCodeMeaning
404not_foundNo record with that id.
curl \
  'https://acme.nolapro.com/!/api/v2/ardailycloses/104' \
  -H 'Authorization: Bearer $NP_TOKEN'
Response 200
{
    "inventorylocationid": 104,
    "inventorylocation": "Example inventorylocation",
    "closedate": "2026-08-01",
    "actualcash": "125.0000",
    "currencybreakdown": "Example currencybreakdown",
    "currency": "Example currency"
}
PATCH/ardailycloses/{id} 200404

Update.

Requires scope payments:write.

Parameters
NameInTypeNotes
idrequiredpathintegerThe record id.
Body
FieldTypeDescription
idread-onlyintegerNolaPro id.
inventorylocationidintegerInventorylocationid. Id only.
inventorylocationstring(20)The locationcode of the referenced inventorylocations, instead of the id. Send this or inventorylocationid, not both unless they agree.
closedatestringBusiness date the daily close covers.
actualcashmoneystring(4dp)Stored as decimal(19,4).
currencybreakdowntextCurrencybreakdown. Stored as text, no practical length limit.
currencystring(10)Currency the close totals are stated in.
actualchecksmoneystring(4dp)Stored as decimal(19,4).
cashdrawerfloatmoneystring(4dp)Stored as decimal(19,4).
depositeamountmoneystring(4dp)Stored as decimal(19,4).
actualccmoneystring(4dp)Stored as decimal(19,4).
overshortmoneystring(4dp)Stored as decimal(19,4).
entrydatestringWhen the record was created.
cancelbooleanCancelled. NolaPro cancels rather than deletes, so a cancelled row is still readable.
gl_cashmoneystring(4dp)Stored as decimal(19,4).
gl_ccmoneystring(4dp)Stored as decimal(19,4).
gl_checksmoneystring(4dp)Stored as decimal(19,4).
sys_cashmoneystring(4dp)Stored as decimal(19,4).
sys_ccmoneystring(4dp)Stored as decimal(19,4).
sys_checksmoneystring(4dp)Stored as decimal(19,4).
externalidstring(100)Your own key. Scoped to your company.
When it fails
StatusCodeMeaning
404not_foundNo record with that id.
curl -X PATCH \
  'https://acme.nolapro.com/!/api/v2/ardailycloses/104' \
  -H 'Authorization: Bearer $NP_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: your-unique-key' \
  -d '{
    "inventorylocationid": 104,
    "inventorylocation": "Example inventorylocation",
    "closedate": "2026-08-01",
    "actualcash": "125.0000",
    "currencybreakdown": "Example currencybreakdown",
    "currency": "Example currency"
}'
Response 200
{
    "inventorylocationid": 104,
    "inventorylocation": "Example inventorylocation",
    "closedate": "2026-08-01",
    "actualcash": "125.0000",
    "currencybreakdown": "Example currencybreakdown",
    "currency": "Example currency"
}
DELETE/ardailycloses/{id} 200404

Cancel.

Requires scope payments:cancel.

Parameters
NameInTypeNotes
idrequiredpathintegerThe record id.
When it fails
StatusCodeMeaning
404not_foundNo record with that id.
curl -X DELETE \
  'https://acme.nolapro.com/!/api/v2/ardailycloses/104' \
  -H 'Authorization: Bearer $NP_TOKEN'
Response 200
{
    "inventorylocationid": 104,
    "inventorylocation": "Example inventorylocation",
    "closedate": "2026-08-01",
    "actualcash": "125.0000",
    "currencybreakdown": "Example currencybreakdown",
    "currency": "Example currency"
}