Invoice+ - Expenses

Submit new expense record/file

Create a new expense record with a file attachment.

post/expenses

Request

  • Base URL
    https://restapi.payplus.co.il/api/v1.0
  • URL
    https://restapi.payplus.co.il/api/v1.0/expenses
  • Auth
    none required

Headers

api-keystring required

API Key

secret-keystring required

Secret Key

Request body multipart/form-data

supplier_vat_idnumber
numbernumber required
doc_datestring date required
subcategory_idnumber required
amountnumber required
amount_includes_vatboolean
vat_percentagenumber
descriptionstring required
currency_codestring required
supplier_namestring
supplier_uidstring
doc_filestring binary

Example request

{
  "supplier_vat_id": 123456789,
  "number": 12345,
  "doc_date": "2022-01-01",
  "subcategory_id": 5554,
  "vat_percentage": 11111,
  "description": "Some text",
  "currency_code": "ILS",
  "supplier_name": "John Doe"
}

Response

Expense record created successfully.

statusstring

Example response

{
  "status": "success",
  "details": {
    "uuid": "17d4b6f6-388e-45be-bd81-388818a20a64"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.