Documents produced via platform_produce_document (storeToDiary) no longer offer signature collection in the Job Diary — regression after recent app update

Hi ServiceM8 team,

We develop a ServiceM8 add-on (PortalMEin) and have hit a behavior change around documents produced through the Platform Services API. We’d appreciate your guidance on whether this is intentional and whether there’s a supported way to restore it.

What we’re doing
Our add-on produces a document (e.g. a Quote) for a job via the Platform Services endpoint:

  • POST .../platform_produce_document
  • Body includes: objectUUID, templateUUID, templateType, objectType, outputFormat, and storeToDiary: true.

With storeToDiary: true, the produced document correctly lands in the job’s Diary.

The problem
A quote produced via the API and stored to the Diary no longer offers the “collect signature” option when opened from the Diary in the ServiceM8 app. However, a quote produced natively from ServiceM8’s own Billing section — landing in the same Diary — does still offer signature collection from the Diary.

So, same job, same Diary, two production paths, different behavior:

  • Quote produced in ServiceM8 (Billing) → appears in Diary → can be signed :white_check_mark:
  • Quote produced via platform_produce_document (storeToDiary) → appears in Diary → no sign option :cross_mark:

It’s a regression
This previously worked. On an older ServiceM8 iOS app version, an API-produced quote in the Diary could be signed. After updating the iOS app to the current version, the “collect signature” option for API-produced quotes disappeared — while native-produced quotes are unaffected. This points to a change in how the updated app decides which Diary documents are signable.

Steps to reproduce

  1. Via the API, call platform_produce_document for a job with a Quote template and storeToDiary: true.
  2. Open that job in the ServiceM8 app (current iOS version) → open the Diary → open the produced quote.
  3. Observe: no option to collect a signature.
  4. For comparison: in ServiceM8’s Billing section on the same job, produce a Quote natively → open it from the Diary → the signature option is present.

Expected vs. actual

  • Expected: a Quote produced via platform_produce_document/storeToDiary is treated the same as a natively-produced Quote in the Diary, including the ability to collect a signature.
  • Actual: only natively-produced Quotes offer signature collection from the Diary; API-produced ones do not (on the updated app).

Our questions

  1. Was this change intentional in the recent app update? If so, is it documented?
  2. What determines whether a Diary document is signable? Is there a difference in how platform_produce_document records the document to the Diary vs. native production (e.g. a document-object/link, attachment type, or a signable flag) that controls this?
  3. Is there a parameter or supported approach on platform_produce_document (or a related Platform Services call) to produce a document that is signable from the Diary, matching native behavior?
  4. If this can’t currently be achieved via the API, can it be considered as a fix/enhancement so add-on-produced documents reach parity with natively-produced ones?

Impact
Field technicians using our add-on to produce quotes can no longer collect customer signatures on those quotes from the Diary, which breaks a workflow that worked prior to the app update. We’d like to advise our affected customers accurately on whether this is a ServiceM8-side change and whether a resolution is expected.

Happy to provide account details, a sample job UUID, request/response payloads, or a screen recording on request.

Hi Miciah,

We’ve looked into this in detail. Nothing has changed in how documents produced through the Platform Services API are marked as signable.

We checked the quotes your integration produced on job #1458. Each one is saved with signature collection enabled, exactly like a quote produced from the Billing section. Your request doesn’t need any extra parameter or change.

Documents produced from outside the app get their signature details on the device’s next sync. If a quote is opened in the Diary very soon after it’s produced, the app may not have that information yet, so the Sign option won’t appear. Once the app syncs again, the quote shows the Sign option as normal.

Your comparison quote was produced inside the app itself, which is why it was signable straight away.

To confirm, could you please try the following:

  1. Produce the quote through the API as usual
  2. In the ServiceM8 app, open the job and pull down to refresh, or close and reopen the app
  3. Open the quote from the Diary again

If the Sign option is still missing after that, please reply with a short screen recording that shows the quote being opened from the Diary. Please also include the app version from the Settings screen, and we’ll look into it further.

Regards,
Cody

Hi Cody,

Here is a recording from before an update to the iOS device to the latest version of the app:

Quote Signing

Here is the same workflow, but now no signature option after the update:

No Signing

Hi Miciah,
storeToDiary: true attaches a copy of the produced document to the Job Diary; it isn’t a signature-enablement option. POST /platform_produce_document doesn’t currently offer a parameter to enable Diary signature collection.
There is signature-related information you can inspect on the resulting attachment using Retrieve an Attachment, which requires read_attachments for OAuth integrations:

  • signature_data.templateSupportsSignature: whether the template used to produce the document supports signing.
  • signature_data.documentSnapshotUUID: the template mergefield snapshot capturing the unsigned document state.
  • signature_data.documentSnapshotExpiresUnixtime: when that snapshot expires.
  • signature_data.signedDocumentAttachmentUUID and unsignedDocumentAttachmentUUID: references to the signed and unsigned attachments.
    signature_data is read-only, so it isn’t a flag your add-on can write to enable signing.
    For the reported difference, please email support@servicem8.com with the affected job UUID, attachment UUIDs for both production paths, the template UUID, sanitised request/response details, the iOS and ServiceM8 app versions, and a screen recording if available; include your request for signing parity, but no API keys or secrets.
    We’ll confirm with the team how Diary signature eligibility is determined and whether there’s a supported way for API-produced quotes to use the same Diary signing workflow as natively produced quotes.
    Thanks,
    Cody

Hi Miciah,
To investigate the difference you’re reporting, please email support@servicem8.com with links to both recordings, the iOS and ServiceM8 app versions involved, a sample job UUID, and the document-production request and response, with API keys, tokens and other secrets removed. Please also mention whether the signature option remains missing after the refresh suggested above.
Thanks,
Cody