Simulate legal storage receipt

You can simulate the legal-storage-receipt event by sending a POST /simulate/legal-storage-receipt/<Invoice UUID>. You will receive a PreservedDocument payload to your configured endpoint as a POST request:

Copy
Copied
{
    "uuid": "eb5ee16c-7fa4-11e9-a048-0242ac130004",
    "status": "stored",
    "receipt_received_at": "2019-05-26T10:56:31+00:00",
    "object_type": "customer invoice",
    "message": null,
    "preserved_object_id": "25071e2f-cf4a-430c-8d5b-1ef2595a67cc",
    "weight": 100,
    "created_at": "2019-05-26T10:56:31+00:00"
}