Not available

Saves a purchase voucher.

Query parameters

NameDescription
organizationId string

Request model

Model of the purchaser voucher to save.
NameDescription
FileGuid string

The guid of an uploaded file to connect to the purchase voucher, this will typically be an image of the voucher.

Notes string

User supplied notes on the purchase voucher

VoucherDate string

The date of the voucher's creation/issuing. This should be in the format yyyy-mm-dd e.g. 2015-12-02

Required

Returns

200 (ok) if the voucher has been successfully saved.

NameDescription
VoucherGuid globally unique identifier

The id of the purchase voucher

v1/{organizationId}/vouchers/purchase

Requests Formats

{
  "FileGuid": "web0crmck5v0ndcx3313g6zn61tc7wgc",
  "Notes": "Bought flowers for decorating the office",
  "VoucherDate": "2015-09-16"
}

Response Formats

{
  "VoucherGuid": "e8b32f46-88dc-4cb7-9a76-042a35464374"
}