Bulk batches

Import batch items from a sheet

Fills a batch by uploading an Excel sheet of rows to bill. sheetType must match how the batch was created — withCustomer when each row carries the customer's details, withoutCustomer when the rows are amounts only. The response reports how many rows were imported and returns a per-row errors list for the ones that failed, so a partly wrong sheet still imports everything that was valid.

post/v2/batch/import

Request

  • Base URL: https://test-api.kashier.io
  • URL: https://test-api.kashier.io/v2/batch/import
  • Auth: API key in header Authorization

Query parameters

currency'EGP' | 'USD' | 'EUR' | 'GBP' required

Currency of the amounts in the sheet. Example: EGP

batchIdstring required

The batch to import into, in B- form. Example: B-123

sheetType'withCustomer' | 'withoutCustomer'

Which sheet layout is being uploaded.

Response

How many rows imported, and what went wrong with the ones that did not.

messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.