PUT
/
api
/
external
/
v2
/
supplier_invoices
/
{supplier_invoice_id}
/
payment_status
Update a supplier invoice payment status
curl --request PUT \
  --url https://app.pennylane.com/api/external/v2/supplier_invoices/{supplier_invoice_id}/payment_status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "payment_status": "paid"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

supplier_invoice_id
integer
required

Supplier invoice identifier

Body

application/json
payment_status
enum<string>
required
Available options:
paid,
to_be_paid

Response

The supplier invoice payment status was successfully updated