Skip to content
QaydTech Beta launch

Purchases

Post a purchase invoice

post https://your-business.qaydtech.com/api/v1/purchases/{id}/post

Posts a draft (or a return): entered in the books and the stock moved. A test key never posts.

Permission: purchases.write

The user the key acts as also needs: Post purchase invoices

Request

Path parameters

  • id integer required

    The record’s number.

    Example: 42

Headers

  • Authorization string required

    Bearer followed by the API key.

    Example: Bearer qayd_…

  • Accept-Language string optional

    en for English error messages. Arabic by default.

    Example: en

Responses

  • 200 OK
  • Errors · 401 · 403 · 429