Invoice

Adds a purchase order number to an invoice

Changed on

Regenerates an existing invoice, with the purchase order number added to it. If this operation is called multiple times for the same invoice, the purchase order number will be overwritten with the latest value.

post/public/invoice/v1/add-purchase-order-number-to-invoice

Request

  • Base URL
    https://api.maqqie.app (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Client credentials
    Token URLhttps://maqqie.app/auth/realms/maqqie/protocol/openid-connect/token

Request body

invoiceIdstring uuid required
purchaseOrderNumberstring required

The purchase order number to add to the invoice. Maximum length is 12 characters.

Response

Successfully added the purchase order number to the invoice

fileIdstring uuid

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from no type to object

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to string for status

    • info

      added the optional property to the response with the status

    • breaking

      the request's body type changed from object to no type

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the response's body type changed from string to no type for status

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the optional property from the response with the status

    • info

      response schema application/json enum value removed PURCHASE_ORDER_NUMBER_TOO_LONG