Invoices

Batch generate invoices

Changed on

Generate invoices for multiple shipments in a single request.

What happens

  • Creates invoice records for each shipment
  • Generates PDF documents
  • Optionally sends emails grouped by customer

Note

Shipments that already have invoices or are missing requirements will be skipped and returned in the failed array.

post/invoices/batch-generate

Request

  • Base URL: https://api.mvmnt.io/v1
  • URL: https://api.mvmnt.io/v1/invoices/batch-generate
  • Auth: HTTP bearer

Request body

orderIdsstring[] required

Order IDs to generate invoices for

sendEmailboolean

Email invoices to customers after generation

Response

Batch generation completed

emailsSentinteger

Changes

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status