Invoice

Create invoice

Use this BillingServ API endpoint to create invoice. Review the response for the operation result or validation errors.

post/invoice/create-invoice

Headers

Idempotency-Keystring

Optional key for POST /customer/create, POST /invoice/create-quote, POST /invoice/create-invoice, POST /invoice/update-invoice, and POST /order/add-order. Reusing the same key with the same request replays a successful response for 24 hours; reusing it with a different request returns 409.

Request body

duedatestring required

Format: MM-DD-YYYY.

customer_idinteger required
commentsstring

Response

OK

successboolean

Changes

Changed in 1 of the 6 revisions of this API.612

  • 6b9208b64456612See the full diff
    • removed the request property record.description

      request-property-removed

    • removed the request property record.item

      request-property-removed

    • removed the request property record.price

      request-property-removed

    • removed the request property record.quantity

      request-property-removed

    • removed the request property record.tax

      request-property-removed

    • removed the request property record.tax_class

      request-property-removed

    • added the new optional header request parameter Idempotency-Key

      new-optional-request-parameter

    • added the new optional request property record

      new-optional-request-property

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the non-success response with the status 409

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added

    • added the optional property code to the response with the 401 status

      response-optional-property-added

    • added the optional property code to the response with the 403 status

      response-optional-property-added

    • added the optional property code to the response with the 422 status

      response-optional-property-added

    • added the optional property request_id to the response with the 401 status

      response-optional-property-added

    • added the optional property request_id to the response with the 403 status

      response-optional-property-added

    • added the optional property request_id to the response with the 422 status

      response-optional-property-added