Export a day's invoices to Tally XML
POST
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
- Make sure every invoice of the day passes Check an invoice's Tally export readiness.
- Send the date; the response is one XML file (tally-.xml) with a voucher per invoice. It fails if no invoice is waiting.
- Each included invoice is recorded as EXPORTED. After importing, confirm each with Mark an invoice as imported into Tally.
BearerAuthheader
AuthorizationBearer <JWT>date*stringInvoice date to export (YYYY-MM-DD). Required.
Format
dateincludeAlreadyExported?booleantrue to include invoices that were exported before. Defaults to false to avoid importing the same sale twice.
Default
falseX-TenantID*stringYour merchant's tenant code — the value typed in the Domain field on the iotoms login screen. See Concepts.
OK
response?stringapplication/xmlExample 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"