Command Palette

Search for a command to run...

Log In

Create a Draft Invoice Batch

post/public/v1/invoice-batches
  • Authorizationstringrequired

    Bearer authentication header of the form Bearer <token>, where <token> is your API key. See How to set up an API key.

Body

application/json
  • startstringrequired
  • endstringrequired
  • charge_typeenum<string> | null
    Available options:direct_chargesupporttask
  • participantsobject[] | nullmax items 1000
    ▶Show 1 child attributes
    • idstringrequired
  • management_typesenum<string>[] | nullmax items 4

Response

200application/json

InvoiceBatchResource

  • dataobjectrequired
    ▶Show 6 child attributes
    • idstringrequired
      Example:b1a2t3c4-f5a6-47b8-9c0d-1e2f3a4b5c6d
    • referencestringrequired
      Example:BATCH-2024-001
    • statusenum<string>required
      Available options:draftfinalisedprocessingqueued
    • invoice_sending_behaviourstringrequired
      Example:send_all
    • finalised_atstring | nullrequired
      Example:2024-01-15T10:30:00+00:00
    • created_atstringrequired
      Example:2024-01-15T10:30:00+00:00
  • 401Unauthenticated
  • 403Authorization error
  • 422Validation error