archivePurchaseDoc
POST/purchase-docs/headers/:headerId/archive
Archives a purchase document header. In particular, it changes its processing status
from Released to Archived.
This operation can only be invoked on documents with Released processing status.
The optional request body supports the "Emetti fattura" step: it accepts invoice
information (customerRefDate, customerRefNumber, invoiceNote) that will be
persisted on the document header when it is archived.
To access the service you need at least one of the following permissions:
| Permission (one of) |
|---|
| archivePurchaseDoc |