Reports
/api/v1/exportsPermission: reports:read
Query parameters
limitintegerNumber of entries (1–100)1–100 · Default: 25cursorstring`nextCursor` of the previous pagemax. 500 characters
Response 200
object"list"requireddataArray<Export>requiredidstringrequiredkind"datev"requiredfromstring (date)requiredDate (YYYY-MM-DD)tostring (date)requiredDate (YYYY-MM-DD)status"ready" | "failed"requiredincludeobjectrequiredbookingsbooleanrequiredpartnersbooleanrequireddocumentsbooleanrequired
countsobjectrequiredentriesintegerrequired-9007199254740991–9007199254740991rowsintegerrequired-9007199254740991–9007199254740991partnersintegerrequired-9007199254740991–9007199254740991documentsintegerrequired-9007199254740991–9007199254740991batchesintegerNumber of DATEV batches (locked and open separately, DA-05)-9007199254740991–9007199254740991
warningsArray<string>requiredfileNamestringrequiredsizeintegerrequired-9007199254740991–9007199254740991errorstring | nullrequiredcreatedAtstring (date-time)requiredTimestamp (ISO 8601)
hasMorebooleanrequirednextCursorstring | nullrequired
curl 'https://www.debt-flow.io/api/v1/exports' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"{
"object": "list",
"data": [
{
"id": "string",
"kind": "datev",
"from": "2026-11-01",
"to": "2026-11-01",
"status": "ready",
"include": {
"bookings": false,
"partners": false,
"documents": false
},
"counts": {
"entries": 0,
"rows": 0,
"partners": 0,
"documents": 0,
"batches": 0
},
"warnings": [
"string"
],
"fileName": "string",
"size": 0,
"error": "string",
"createdAt": "2026-11-01T09:30:00.000Z"
}
],
"hasMore": false,
"nextCursor": "string"
}/api/v1/exportsGenerates a ZIP containing a DATEV batch of journal entries (Buchungsstapel; EXTF, format version 13), debtor/creditor master data and optionally receipt images (document.xml, linked via “Beleglink”). Period within one financial year. Requires the DATEV consultant number and client number in the settings. Event export.ready.
Permission: reports:read
Headers
Idempotency-KeystringUnique key (8–255 characters). Repeated requests with the same key return the same response for 24 h.max. 255 characters
Body (JSON) · ExportCreate
kind"datev"Default: "datev"fromstring (date)requiredDate (YYYY-MM-DD)tostring (date)requiredDate (YYYY-MM-DD)includeobjectDefault: {"bookings":true,"partners":true,"documents":false}bookingsbooleanPosting batchDefault: truepartnersbooleanDebtor/creditor master dataDefault: truedocumentsbooleanDocument images (PDF/images) with document.xmlDefault: false
Response 201 · Export
idstringrequiredkind"datev"requiredfromstring (date)requiredDate (YYYY-MM-DD)tostring (date)requiredDate (YYYY-MM-DD)status"ready" | "failed"requiredincludeobjectrequiredbookingsbooleanrequiredpartnersbooleanrequireddocumentsbooleanrequired
countsobjectrequiredentriesintegerrequired-9007199254740991–9007199254740991rowsintegerrequired-9007199254740991–9007199254740991partnersintegerrequired-9007199254740991–9007199254740991documentsintegerrequired-9007199254740991–9007199254740991batchesintegerNumber of DATEV batches (locked and open separately, DA-05)-9007199254740991–9007199254740991
warningsArray<string>requiredfileNamestringrequiredsizeintegerrequired-9007199254740991–9007199254740991errorstring | nullrequiredcreatedAtstring (date-time)requiredTimestamp (ISO 8601)
curl -X POST 'https://www.debt-flow.io/api/v1/exports' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"kind": "datev",
"from": "2026-11-01",
"to": "2026-11-01",
"include": {
"bookings": true,
"partners": true,
"documents": false
}
}'{
"id": "string",
"kind": "datev",
"from": "2026-11-01",
"to": "2026-11-01",
"status": "ready",
"include": {
"bookings": false,
"partners": false,
"documents": false
},
"counts": {
"entries": 0,
"rows": 0,
"partners": 0,
"documents": 0,
"batches": 0
},
"warnings": [
"string"
],
"fileName": "string",
"size": 0,
"error": "string",
"createdAt": "2026-11-01T09:30:00.000Z"
}/api/v1/exports/{id}Permission: reports:read
Path parameters
idstringrequiredResource IDmax. 128 characters
Response 200 · Export
idstringrequiredkind"datev"requiredfromstring (date)requiredDate (YYYY-MM-DD)tostring (date)requiredDate (YYYY-MM-DD)status"ready" | "failed"requiredincludeobjectrequiredbookingsbooleanrequiredpartnersbooleanrequireddocumentsbooleanrequired
countsobjectrequiredentriesintegerrequired-9007199254740991–9007199254740991rowsintegerrequired-9007199254740991–9007199254740991partnersintegerrequired-9007199254740991–9007199254740991documentsintegerrequired-9007199254740991–9007199254740991batchesintegerNumber of DATEV batches (locked and open separately, DA-05)-9007199254740991–9007199254740991
warningsArray<string>requiredfileNamestringrequiredsizeintegerrequired-9007199254740991–9007199254740991errorstring | nullrequiredcreatedAtstring (date-time)requiredTimestamp (ISO 8601)
curl 'https://www.debt-flow.io/api/v1/exports/ID' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"{
"id": "string",
"kind": "datev",
"from": "2026-11-01",
"to": "2026-11-01",
"status": "ready",
"include": {
"bookings": false,
"partners": false,
"documents": false
},
"counts": {
"entries": 0,
"rows": 0,
"partners": 0,
"documents": 0,
"batches": 0
},
"warnings": [
"string"
],
"fileName": "string",
"size": 0,
"error": "string",
"createdAt": "2026-11-01T09:30:00.000Z"
}/api/v1/exports/{id}/download/api/v1/reports/asset-registerFixed assets with book value at the start of the year, additions, depreciation, disposals (remaining book value) and book value at the end of the year – the basis of the Anlage AVEÜR form.
Permission: reports:read
Query parameters
yearintegerrequired2000–2100
Response 200 · AssetRegister
yearintegerrequired-9007199254740991–9007199254740991itemsArray<object>requiredidstringrequirednamestringrequiredinventoryNumberstring | nullrequiredassetClass"software" | "vehicle" | "office" | "equipment"requiredmethod"linear" | "pool" | "gwg" | "immediate"requiredacquisitionDatestring (date)requiredDate (YYYY-MM-DD)costCentsintegerrequiredAmount in cents-100000000000–100000000000usefulLifeMonthsinteger | nullrequired-9007199254740991–9007199254740991openingCentsintegerrequiredAmount in cents-100000000000–100000000000additionCentsintegerrequiredAmount in cents-100000000000–100000000000depreciationCentsintegerrequiredAmount in cents-100000000000–100000000000disposalCentsintegerrequiredAmount in cents-100000000000–100000000000closingCentsintegerrequiredAmount in cents-100000000000–100000000000
totalsobjectrequiredopeningCentsintegerrequiredAmount in cents-100000000000–100000000000additionCentsintegerrequiredAmount in cents-100000000000–100000000000depreciationCentsintegerrequiredAmount in cents-100000000000–100000000000disposalCentsintegerrequiredAmount in cents-100000000000–100000000000closingCentsintegerrequiredAmount in cents-100000000000–100000000000
notesArray<string>required
curl 'https://www.debt-flow.io/api/v1/reports/asset-register?year=2000' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"{
"year": 0,
"items": [
{
"id": "string",
"name": "string",
"inventoryNumber": "string",
"assetClass": "software",
"method": "linear",
"acquisitionDate": "2026-11-01",
"costCents": 0,
"usefulLifeMonths": 0,
"openingCents": 0,
"additionCents": 0,
"depreciationCents": 0,
"disposalCents": 0,
"closingCents": 0
}
],
"totals": {
"openingCents": 0,
"additionCents": 0,
"depreciationCents": 0,
"disposalCents": 0,
"closingCents": 0
},
"notes": [
"string"
]
}/api/v1/reports/euerBusiness income and expenses by the boxes of Anlage EÜR, determined on a cash-received/cash-paid basis (§ 11 EStG) – regardless of the VAT accounting method. unmapped lists revenue/expense accounts that are not mapped to a box.
Permission: reports:read
Query parameters
yearintegerrequired2000–2100
Response 200 · EuerReport
kind"euer"requiredyearintegerrequired-9007199254740991–9007199254740991fromstring (date)requiredDate (YYYY-MM-DD)tostring (date)requiredDate (YYYY-MM-DD)labelstringrequiredbasis"cash" | "accrual"requiredcash = cash basis (Ist), accrual = invoice basis (Soll)entryCountintegerrequired-9007199254740991–9007199254740991closedbooleanrequiredPeriod fully lockedwarningsArray<JournalIssue>requiredtypeenumrequiredValues: unbooked_receipt, unassigned_bank_transaction, unknown_category, payment_without_invoice, unsupported_tax, changed_after_closing, missing_after_closing, assumed_service_date, tax_missing_after_closing, tax_changed_after_closing, small_business_reporting, small_business_tax_payment, asset_not_registered, review_requiredsourceIdstringrequireddatestring (date)requiredDate (YYYY-MM-DD)messagestringrequiredamountCentsintegerAmount in cents-100000000000–100000000000
linesArray<object>requiredkzstringrequiredlabelstringrequiredsectionstringrequiredcentsintegerrequiredAmount in cents-100000000000–100000000000sumbooleanrequired
incomeCentsintegerrequiredAmount in cents-100000000000–100000000000expenseCentsintegerrequiredAmount in cents-100000000000–100000000000profitCentsintegerrequiredAmount in cents-100000000000–100000000000unmappedArray<object>requiredaccountstringrequiredlabelstringrequiredcentsintegerrequiredAmount in cents-100000000000–100000000000
curl 'https://www.debt-flow.io/api/v1/reports/euer?year=2000' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"{
"kind": "euer",
"year": 0,
"from": "2026-11-01",
"to": "2026-11-01",
"label": "string",
"basis": "cash",
"entryCount": 0,
"closed": false,
"warnings": [
{
"type": "unbooked_receipt",
"sourceId": "string",
"date": "2026-11-01",
"message": "string",
"amountCents": 0
}
],
"lines": [
{
"kz": "string",
"label": "string",
"section": "string",
"cents": 0,
"sum": false
}
],
"incomeCents": 0,
"expenseCents": 0,
"profitCents": 0,
"unmapped": [
{
"account": "string",
"label": "string",
"cents": 0
}
]
}/api/v1/reports/euer/pdf/api/v1/reports/open-itemsOpen receivables (finalised invoices less payments) or open payables (posted, unpaid receipts) as at the reference date, with ageing by due date.
Permission: reports:read
Query parameters
kind"receivables" | "payables"Default: "receivables"asOfstring (date)Reference date (default: today)
Response 200 · OpenItems
kind"receivables" | "payables"requiredasOfstring (date)requiredDate (YYYY-MM-DD)itemsArray<object>requiredidstringrequiredkind"receivable" | "payable"requireddocumentType"invoice" | "credit_note" | "cancellation" | "receipt"requiredInvoice corrections/cancellations with a pending refund appear as negativenumberstringrequirednamestringrequireddatestring (date)requiredDate (YYYY-MM-DD)dueDatestring (date) | nullrequiredDate (YYYY-MM-DD)grossCentsintegerrequiredAmount in cents-100000000000–100000000000amountDueCentsintegerrequiredReceivable after deducting progress invoices-100000000000–100000000000paidCentsintegerrequiredPayments up to the reference date (net of reversals)-100000000000–100000000000creditedCentsintegerrequiredreduced by invoice corrections up to the reference date-100000000000–100000000000openCentsintegerrequiredamount actually outstanding (DA-09)-100000000000–100000000000daysOverdueintegerrequired-9007199254740991–9007199254740991bucket"not_due" | "d1_30" | "d31_60" | "d61_90" | "d90_plus"required
totalsobjectrequirednot_dueintegerrequiredAmount in cents-100000000000–100000000000d1_30integerrequiredAmount in cents-100000000000–100000000000d31_60integerrequiredAmount in cents-100000000000–100000000000d61_90integerrequiredAmount in cents-100000000000–100000000000d90_plusintegerrequiredAmount in cents-100000000000–100000000000totalCentsintegerrequiredAmount in cents-100000000000–100000000000
curl 'https://www.debt-flow.io/api/v1/reports/open-items' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"{
"kind": "receivables",
"asOf": "2026-11-01",
"items": [
{
"id": "string",
"kind": "receivable",
"documentType": "invoice",
"number": "string",
"name": "string",
"date": "2026-11-01",
"dueDate": "2026-11-01",
"grossCents": 0,
"amountDueCents": 0,
"paidCents": 0,
"creditedCents": 0,
"openCents": 0,
"daysOverdue": 0,
"bucket": "not_due"
}
],
"totals": {
"not_due": 0,
"d1_30": 0,
"d31_60": 0,
"d61_90": 0,
"d90_plus": 0,
"totalCents": 0
}
}/api/v1/reports/summaryRevenue and expenses (net) per month and per account from the journal.
Permission: reports:read
Query parameters
fromstring (date)requiredDate (YYYY-MM-DD)tostring (date)requiredDate (YYYY-MM-DD)
Response 200 · AccountingSummary
fromstring (date)requiredDate (YYYY-MM-DD)tostring (date)requiredDate (YYYY-MM-DD)labelstringrequiredbasis"cash" | "accrual"requiredcash = cash basis (Ist), accrual = invoice basis (Soll)entryCountintegerrequired-9007199254740991–9007199254740991closedbooleanrequiredPeriod fully lockedwarningsArray<JournalIssue>requiredtypeenumrequiredValues: unbooked_receipt, unassigned_bank_transaction, unknown_category, payment_without_invoice, unsupported_tax, changed_after_closing, missing_after_closing, assumed_service_date, tax_missing_after_closing, tax_changed_after_closing, small_business_reporting, small_business_tax_payment, asset_not_registered, review_requiredsourceIdstringrequireddatestring (date)requiredDate (YYYY-MM-DD)messagestringrequiredamountCentsintegerAmount in cents-100000000000–100000000000
monthsArray<object>requiredmonthstringrequiredrevenueCentsintegerrequiredAmount in cents-100000000000–100000000000expenseCentsintegerrequiredAmount in cents-100000000000–100000000000resultCentsintegerrequiredAmount in cents-100000000000–100000000000
revenueByAccountArray<object>requiredaccountstringrequiredlabelstringrequiredcentsintegerrequiredAmount in cents-100000000000–100000000000
expenseByAccountArray<object>requiredaccountstringrequiredlabelstringrequiredcentsintegerrequiredAmount in cents-100000000000–100000000000
revenueCentsintegerrequiredAmount in cents-100000000000–100000000000expenseCentsintegerrequiredAmount in cents-100000000000–100000000000resultCentsintegerrequiredAmount in cents-100000000000–100000000000
curl 'https://www.debt-flow.io/api/v1/reports/summary?from=2026-11-01&to=2026-11-01' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"{
"from": "2026-11-01",
"to": "2026-11-01",
"label": "string",
"basis": "cash",
"entryCount": 0,
"closed": false,
"warnings": [
{
"type": "unbooked_receipt",
"sourceId": "string",
"date": "2026-11-01",
"message": "string",
"amountCents": 0
}
],
"months": [
{
"month": "string",
"revenueCents": 0,
"expenseCents": 0,
"resultCents": 0
}
],
"revenueByAccount": [
{
"account": "string",
"label": "string",
"cents": 0
}
],
"expenseByAccount": [
{
"account": "string",
"label": "string",
"cents": 0
}
],
"revenueCents": 0,
"expenseCents": 0,
"resultCents": 0
}/api/v1/reports/trial-balanceDebit, credit and balance per account (including tax and personal accounts) for the period.
Permission: reports:read
Query parameters
fromstring (date)requiredDate (YYYY-MM-DD)tostring (date)requiredDate (YYYY-MM-DD)
Response 200 · TrialBalance
fromstring (date)requiredDate (YYYY-MM-DD)tostring (date)requiredDate (YYYY-MM-DD)labelstringrequiredbasis"cash" | "accrual"requiredcash = cash basis (Ist), accrual = invoice basis (Soll)entryCountintegerrequired-9007199254740991–9007199254740991closedbooleanrequiredPeriod fully lockedwarningsArray<JournalIssue>requiredtypeenumrequiredValues: unbooked_receipt, unassigned_bank_transaction, unknown_category, payment_without_invoice, unsupported_tax, changed_after_closing, missing_after_closing, assumed_service_date, tax_missing_after_closing, tax_changed_after_closing, small_business_reporting, small_business_tax_payment, asset_not_registered, review_requiredsourceIdstringrequireddatestring (date)requiredDate (YYYY-MM-DD)messagestringrequiredamountCentsintegerAmount in cents-100000000000–100000000000
rowsArray<object>requiredaccountstringrequiredlabelstringrequiredtypestringrequireddebitCentsintegerrequiredAmount in cents-100000000000–100000000000creditCentsintegerrequiredAmount in cents-100000000000–100000000000balanceCentsintegerrequiredAmount in cents-100000000000–100000000000
curl 'https://www.debt-flow.io/api/v1/reports/trial-balance?from=2026-11-01&to=2026-11-01' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"{
"from": "2026-11-01",
"to": "2026-11-01",
"label": "string",
"basis": "cash",
"entryCount": 0,
"closed": false,
"warnings": [
{
"type": "unbooked_receipt",
"sourceId": "string",
"date": "2026-11-01",
"message": "string",
"amountCents": 0
}
],
"rows": [
{
"account": "string",
"label": "string",
"type": "string",
"debitCents": 0,
"creditCents": 0,
"balanceCents": 0
}
]
}/api/v1/reports/vat-returnBoxes of the advance VAT return (Umsatzsteuer-Voranmeldung) (including Kz 81, 86, 35/36, 41, 43, 21, 45, 60, 46/47, 84/85, 89, 93, 66, 61, 62, 67, 39, 83) for a month, quarter or year from the journal (accrual or cash VAT accounting (Soll-/Ist-Versteuerung) as per the settings). Tax bases in whole euros. No submission to ELSTER.
Permission: reports:read
Query parameters
yearintegerrequired2000–2100periodenumrequiredM01–M12 (month), Q1–Q4 (quarter) or Y (year)Values: M01, M02, M03, M04, M05, M06, M07, M08, M09, M10, M11, M12, Q1, Q2, Q3, Q4, Y
Response 200 · VatReturn
kind"ustva"requiredyearintegerrequired-9007199254740991–9007199254740991periodenumrequiredValues: M01, M02, M03, M04, M05, M06, M07, M08, M09, M10, M11, M12, Q1, Q2, Q3, Q4, Yfromstring (date)requiredDate (YYYY-MM-DD)tostring (date)requiredDate (YYYY-MM-DD)labelstringrequiredbasis"cash" | "accrual"requiredcash = cash basis (Ist), accrual = invoice basis (Soll)entryCountintegerrequired-9007199254740991–9007199254740991closedbooleanrequiredPeriod fully lockedwarningsArray<JournalIssue>requiredtypeenumrequiredValues: unbooked_receipt, unassigned_bank_transaction, unknown_category, payment_without_invoice, unsupported_tax, changed_after_closing, missing_after_closing, assumed_service_date, tax_missing_after_closing, tax_changed_after_closing, small_business_reporting, small_business_tax_payment, asset_not_registered, review_requiredsourceIdstringrequireddatestring (date)requiredDate (YYYY-MM-DD)messagestringrequiredamountCentsintegerAmount in cents-100000000000–100000000000
linesArray<object>requiredkzstringrequiredlabelstringrequiredbaseCentsinteger | nullrequiredTaxable amount (whole euros, in cents)-100000000000–100000000000taxCentsinteger | nullrequiredAmount in cents-100000000000–100000000000exactBaseCentsinteger | nullST-17: tax base according to the tax journal (to the cent, before rounding)-100000000000–100000000000bookedTaxCentsinteger | nullST-17: booked VAT according to the tax journal (fields 81/86/89/93: difference to the formula tax = rounding)-100000000000–100000000000rateLabelstring | nullTax rate of the formula tax (e.g. 19%)
payableCentsintegerrequiredBox 83: positive = VAT payable, negative = refund-100000000000–100000000000bookedOutputTaxCentsintegerrequiredAmount in cents-100000000000–100000000000inputTaxCentsintegerrequiredAmount in cents-100000000000–100000000000explanationArray<string>requiredsmallBusinessbooleanrequired
curl 'https://www.debt-flow.io/api/v1/reports/vat-return?year=2000&period=M01' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"{
"kind": "ustva",
"year": 0,
"period": "M01",
"from": "2026-11-01",
"to": "2026-11-01",
"label": "string",
"basis": "cash",
"entryCount": 0,
"closed": false,
"warnings": [
{
"type": "unbooked_receipt",
"sourceId": "string",
"date": "2026-11-01",
"message": "string",
"amountCents": 0
}
],
"lines": [
{
"kz": "string",
"label": "string",
"baseCents": 0,
"taxCents": 0,
"exactBaseCents": 0,
"bookedTaxCents": 0,
"rateLabel": "string"
}
],
"payableCents": 0,
"bookedOutputTaxCents": 0,
"inputTaxCents": 0,
"explanation": [
"string"
],
"smallBusiness": false
}/api/v1/reports/vat-return/pdfBoxes with explanations as a PDF for your own records or for your tax adviser.
Permission: reports:read
Query parameters
yearintegerrequired2000–2100periodenumrequiredM01–M12 (month), Q1–Q4 (quarter) or Y (year)Values: M01, M02, M03, M04, M05, M06, M07, M08, M09, M10, M11, M12, Q1, Q2, Q3, Q4, Y
Response 200
File (application/pdf).
curl 'https://www.debt-flow.io/api/v1/reports/vat-return/pdf?year=2000&period=M01' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"/api/v1/tax-reportsPermission: reports:read
Query parameters
limitintegerNumber of entries (1–100)1–100 · Default: 25cursorstring`nextCursor` of the previous pagemax. 500 characters
Response 200
object"list"requireddataArray<TaxReport>requiredidstringrequiredkind"ustva" | "euer"requiredyearintegerrequired-9007199254740991–9007199254740991periodenum | nullrequiredValues: M01, M02, M03, M04, M05, M06, M07, M08, M09, M10, M11, M12, Q1, Q2, Q3, Q4, Ylabelstringrequiredfromstring (date)requiredDate (YYYY-MM-DD)tostring (date)requiredDate (YYYY-MM-DD)basis"cash" | "accrual"requiredlinesArray<object>requiredkzstringrequiredlabelstringrequiredbaseCentsinteger | nullrequiredAmount in cents-100000000000–100000000000taxCentsinteger | nullrequiredAmount in cents-100000000000–100000000000
resultCentsintegerrequiredAdvance VAT return: box 83, EÜR: profit/loss-100000000000–100000000000notestringrequiredcontentHashstringrequiredcreatedByActorrequiredtype"user" | "api_key" | "oauth" | "system"requiredidstringrequiredlabelstring
createdAtstring (date-time)requiredTimestamp (ISO 8601)
hasMorebooleanrequirednextCursorstring | nullrequired
curl 'https://www.debt-flow.io/api/v1/tax-reports' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"{
"object": "list",
"data": [
{
"id": "string",
"kind": "ustva",
"year": 0,
"period": "M01",
"label": "string",
"from": "2026-11-01",
"to": "2026-11-01",
"basis": "cash",
"lines": [
{
"kz": "string",
"label": "string",
"baseCents": null,
"taxCents": null
}
],
"resultCents": 0,
"note": "string",
"contentHash": "string",
"createdBy": {
"type": "user",
"id": "string",
"label": "string"
},
"createdAt": "2026-11-01T09:30:00.000Z"
}
],
"hasMore": false,
"nextCursor": "string"
}/api/v1/tax-reportsSaves the current advance VAT return (kind: ustva, period) or cash-basis income statement (EÜR) as an immutable snapshot with a checksum, e.g. after transferring it to ELSTER. DebtFlow does not submit anything to the tax office.
Permission: accounting:write
Headers
Idempotency-KeystringUnique key (8–255 characters). Repeated requests with the same key return the same response for 24 h.max. 255 characters
Body (JSON) · TaxReportCreate
kind"ustva" | "euer"requiredyearintegerrequired2000–2100periodenumadvance VAT return onlyValues: M01, M02, M03, M04, M05, M06, M07, M08, M09, M10, M11, M12, Q1, Q2, Q3, Q4, Ynotestringe.g. “submitted to ELSTER on …, transfer ticket …”max. 500 characters · Default: ""
Response 201 · TaxReport
idstringrequiredkind"ustva" | "euer"requiredyearintegerrequired-9007199254740991–9007199254740991periodenum | nullrequiredValues: M01, M02, M03, M04, M05, M06, M07, M08, M09, M10, M11, M12, Q1, Q2, Q3, Q4, Ylabelstringrequiredfromstring (date)requiredDate (YYYY-MM-DD)tostring (date)requiredDate (YYYY-MM-DD)basis"cash" | "accrual"requiredlinesArray<object>requiredkzstringrequiredlabelstringrequiredbaseCentsinteger | nullrequiredAmount in cents-100000000000–100000000000taxCentsinteger | nullrequiredAmount in cents-100000000000–100000000000
resultCentsintegerrequiredAdvance VAT return: box 83, EÜR: profit/loss-100000000000–100000000000notestringrequiredcontentHashstringrequiredcreatedByActorrequiredtype"user" | "api_key" | "oauth" | "system"requiredidstringrequiredlabelstring
createdAtstring (date-time)requiredTimestamp (ISO 8601)
curl -X POST 'https://www.debt-flow.io/api/v1/tax-reports' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"kind": "ustva",
"year": 2000,
"period": "M01",
"note": ""
}'{
"id": "string",
"kind": "ustva",
"year": 0,
"period": "M01",
"label": "string",
"from": "2026-11-01",
"to": "2026-11-01",
"basis": "cash",
"lines": [
{
"kz": "string",
"label": "string",
"baseCents": 0,
"taxCents": 0
}
],
"resultCents": 0,
"note": "string",
"contentHash": "string",
"createdBy": {
"type": "user",
"id": "string",
"label": "string"
},
"createdAt": "2026-11-01T09:30:00.000Z"
}/api/v1/tax-reports/{id}Permission: reports:read
Path parameters
idstringrequiredResource IDmax. 128 characters
Response 200 · TaxReport
idstringrequiredkind"ustva" | "euer"requiredyearintegerrequired-9007199254740991–9007199254740991periodenum | nullrequiredValues: M01, M02, M03, M04, M05, M06, M07, M08, M09, M10, M11, M12, Q1, Q2, Q3, Q4, Ylabelstringrequiredfromstring (date)requiredDate (YYYY-MM-DD)tostring (date)requiredDate (YYYY-MM-DD)basis"cash" | "accrual"requiredlinesArray<object>requiredkzstringrequiredlabelstringrequiredbaseCentsinteger | nullrequiredAmount in cents-100000000000–100000000000taxCentsinteger | nullrequiredAmount in cents-100000000000–100000000000
resultCentsintegerrequiredAdvance VAT return: box 83, EÜR: profit/loss-100000000000–100000000000notestringrequiredcontentHashstringrequiredcreatedByActorrequiredtype"user" | "api_key" | "oauth" | "system"requiredidstringrequiredlabelstring
createdAtstring (date-time)requiredTimestamp (ISO 8601)
curl 'https://www.debt-flow.io/api/v1/tax-reports/ID' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"{
"id": "string",
"kind": "ustva",
"year": 0,
"period": "M01",
"label": "string",
"from": "2026-11-01",
"to": "2026-11-01",
"basis": "cash",
"lines": [
{
"kz": "string",
"label": "string",
"baseCents": 0,
"taxCents": 0
}
],
"resultCents": 0,
"note": "string",
"contentHash": "string",
"createdBy": {
"type": "user",
"id": "string",
"label": "string"
},
"createdAt": "2026-11-01T09:30:00.000Z"
}/api/v1/tax-reports/{id}/pdf