Assign purchase order to attachment
PUT/inbound-attachments/:id/assign-po
Manually match an unmatched attachment to a purchase order with specified document intent
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 429
- 500
Success response
Bad request - validation error, or the stored file is not a PDF, image or e-invoice XML (type invoice-unsupported-file)
Unauthorized
Recipient does not own the purchase order, or invoice access denied
Attachment or purchase order not found
Attachment already matched (carries purchase_order_code), duplicate invoice file (carries existing_invoice_code), or the purchase order is canceled (type purchase-order-canceled) or completed (type purchase-order-completed)
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request
Internal server error