iotoms Docs

Export a day's invoices to Tally XML

POST
/api/v1/integrations/tally/export-day

Returns one Tally import XML file covering every invoice for date. Invoices already exported are skipped unless includeAlreadyExported is true, because Tally will accept the same sale twice without complaint.

How to use it

  1. Make sure every invoice of the day passes Check an invoice's Tally export readiness.
  2. Send the date; the response is one XML file (tally-.xml) with a voucher per invoice. It fails if no invoice is waiting.
  3. Each included invoice is recorded as EXPORTED. After importing, confirm each with Mark an invoice as imported into Tally.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Query Parameters

date*string

Invoice date to export (YYYY-MM-DD). Required.

Formatdate
includeAlreadyExported?boolean

true to include invoices that were exported before. Defaults to false to avoid importing the same sale twice.

Defaultfalse

Header Parameters

X-TenantID*string

Your merchant's tenant code — the value typed in the Domain field on the iotoms login screen. See Concepts.

Response Body

OK

response?stringapplication/xml
Example Request
curl -X POST 'https://beta.iotoms.com/api/v1/integrations/tally/export-day?date=2019-08-24' \  -H 'X-TenantID: your-tenant-code'
Example Response
"string"