Skip to content

Upload an invoice to a purchase order ​

POST
/v1/purchaseorders/{purchaseorder_id}/invoice

Authorizations​

api_key
Type
API Key (header: X-Api-Key)

Parameters​

Path Parameters

purchaseorder_id*

XS2event ID of the PurchaseOrder

Type
string
Required

Request Body​

multipart/form-data

Invoice file

Format"binary"
Defaultfalse
Valid values"prepaid_via_creditcard""banktransfer"

Responses​

Created

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​