Acknowledge: the ERP has the invoice (92 to 93)
POST/v1/invoices/:token/acknowledge
The target system has the invoice; its outcome follows in an integration result. external_id_1..3 and external_message_1..3 store the target's own ids and messages (an empty value keeps the stored one), so the invoice can be found by them later (GET /invoices?external_id_1=). A connector job's invoice (94) stays at 94 with integration_result_code 9: the workflow keeps waiting for the result.
Request
Responses
- 200
- 404
- 409
acknowledged, or unchanged when already acknowledged
Not found
lease_token_required (the invoice is claimed) or lease_mismatch (another claim holds it: your lease ran out and it was claimed again); invalid_state