Create Sales Invoice

Changed on
post/store-invoice

Request

  • Base URL
    https://open-api.stag-v2.paper.id/api/v1
  • URL
    https://open-api.stag-v2.paper.id/api/v1/store-invoice
  • Auth
    API key in header client_id and API key in header client_secret

Headers

client_idstring required

Your Client ID credential

client_secretstring required

Your Client secret credential

Request body

invoice_datestring date required

Invoice Date, using DD-MM-YYYY format

due_datestring date required

Due Date of Invoice, using DD-MM-YYYY format

numberstring required

Invoice Number

signature_text_headerstring

signature text header

signature_text_footerstring

signature text footer

terms_conditionstring

terms and condition

notesstring

Notes

additional_infoobject

additional info

Response

201

status_codeinteger

Example response

{
  "status_code": 201,
  "data": {
    "id": "aad61dca-9be0-4663-9e9a-dd8d76c0b077",
    "number": "INV/08/08/0021",
    "payper_url": "get.paper.id/21d1rdK",
    "pdf_url": "https://storage.googleapis.com/ppr-prd/export/4b3419d8-06d1-449c-9632-887b6c12ecda/sales-invoice/pdf/INV_SAL_INV_08_08_0021.pdf",
    "pdf_url_short": "get.paper.id/W7vfptM",
    "status_send": {
      "email": true,
      "whatsapp": true,
      "sms": true
    }
  }
}

Changes

    • info

      added the new optional request property //

    • info

      the // request property type was generalized from integer to number, and format from int32 to float

    • info

      the // request property type was generalized from integer to number, and format from int32 to float