The export and switching providers
Everything 402lounge keeps for your company in one ZIP, file by file, with its formats. How to get it, and how a move to another provider works.
Your company's books belong to your company. The export is the whole of what 402lounge keeps for it, in open formats, and it is ready at any time. This page is the register of its files and formats that the EU Data Act asks providers to keep (Art. 26 of Regulation (EU) 2023/2854). How a switch to another provider works is in section 13 of the terms.
How to get it
Dashboard, Receipts, tab Export, or Settings, "Download the export"
- Who
- Owner, admin agents, finance, adviser
- What you get
- The ZIP described below
GET /v1/company/export
- Who
- The same roles, with a session token
- What you get
- The ZIP, Content-Disposition names the file
lounge.account.export over MCP
- Who
- Admin agents
- What you get
- The ZIP as a download address
The export costs nothing, has no limit on how often you take it, and needs no notice. A company that is closing can still read and export until the closing takes effect. Only writing stops.
What the ZIP holds
The file is named 402lounge-<company>-<date>.zip. Inside:
README.txt
- Content
- What the files are, when the export was made, whether anything was left out
- Format
- Text, UTF-8
company.json
- Content
- The company as 402lounge holds it: name, legal form, address, country, VAT ID with the result of its check, VAT status, plan, email, settings, people with their roles, agents with their wallets
- Format
- JSON, UTF-8
receipts.csv
- Content
- Every receipt, one line per outgoing USDC payment of a company wallet on Base
- Format
- CSV, UTF-8 with byte order mark, comma separated, CRLF
documents.csv
- Content
- One line per document with its hash and the hash of the document before it
- Format
- CSV as above
documents/<number>/<number>.json
- Content
- The document as issued, the same file that lies in the archive
- Format
- JSON, UTF-8
documents/<number>/<number>-en.pdf and -de.pdf
- Content
- The document as a PDF in English and in German
- Format
documents/<number>/<number>.xml
- Content
- Invoices and credit notes in a seller's name also as e-invoice
- Format
- XML, EN 16931, UN/CEFACT CII D16B
exports/<month>/402lounge-<month>.csv
- Content
- From Books on: the month for the books, one line per document line
- Format
- CSV as above
exports/<month>/EXTF_Buchungsstapel_402lounge_<month>.csv
- Content
- From Books on: the DATEV batch of the month
- Format
- DATEV format EXTF 700, Buchungsstapel, category 21, Windows-1252, semicolon separated
board.json
- Content
- The requests on the board with their answers, if there are any
- Format
- JSON, UTF-8
Where a document number appears twice because two sellers used the same number, the second folder carries the document id after the number.
receipts.csv
receipt_id
- Meaning
- The id of the receipt in 402lounge
block_time_utc
- Meaning
- When the payment was in a block, UTC
network
- Meaning
- base
tx_hash, log_index
- Meaning
- The transaction on Base and the position of the transfer in it
from_address, to_address
- Meaning
- The paying wallet of your company and the receiving wallet
amount_usdc
- Meaning
- The amount in USDC, six decimals
amount_eur, fx_rate_usd_per_eur, fx_day, fx_note
- Meaning
- The value in euros, the ECB reference rate used, the day of the rate and a note where the rate is provisional
seller_status
- Meaning
- What the register knew about the seller at the time
listing
- Meaning
- The slug of the listing in the directory, if the seller is listed
resource_url, description, description_source
- Meaning
- What was bought, as the seller's prices or your agent's report say, and which of the two it came from
agent_id, agent
- Meaning
- The agent that paid. A deleted agent shows as "Deleted agent"
test
- Meaning
- true for a payment on a test network
documents.csv
number
- Meaning
- The document number, for example B-2610-10427-01
kind
- Meaning
- overview, voucher, invoice, credit_note, supplement or cancellation
status
- Meaning
- issued or cancelled
period_month
- Meaning
- The month the document covers
seller_key, seller_name
- Meaning
- The seller, as the register knew it
receipts
- Meaning
- How many receipts the document holds
usdc_total, gross_eur, tax_case, fx_method
- Meaning
- The totals, the tax case and the conversion method
sha256, prev_sha256
- Meaning
- The hash of the document and of your company's document before it, a chain that shows nothing was changed or left out
issued_at, archived_at
- Meaning
- When it was issued and when its files reached the archive
cancels, supplement_of, cancel_reason
- Meaning
- Which document it cancels or supplements, and why
A document as JSON
Every document JSON carries a schema field that names its version. The main fields of a monthly document:
number, kind, way, title, issued_at
- Content
- Identity and type of the document
period
- Content
- from, to and the label of the month
issuer
- Content
- Who wrote it and in which role
buyer
- Content
- Your company as it was on the day of issue: lines of the address, country, VAT ID with its check, tax number, email
seller
- Content
- Key, name, host, listing, level, status and the receiving wallets
lines
- Content
- One line per endpoint or description, with the number of payments and the amounts
totals
- Content
- USDC, euros, the local currency where it differs, and the number of receipts
fx
- Content
- The conversion method, a note and the rates per day
tax
- Content
- The tax case and the note on the document
receipts
- Content
- Every receipt in the document with transaction, time, amounts, rate and a link to the explorer
notes, reason
- Content
- The notes on the document and, on a voucher, why there is a voucher instead of an invoice
A cancellation names the document it cancels and the reason. A supplement names the first document of the same seller and month. Invoices and credit notes in a seller's name follow the same shape with the seller's and the buyer's data as the invoicing rules of their state require.
Limits
- The export holds up to 100,000 receipts. Above that README.txt says so, and hello@402lounge.com sends the rest.
- A month that is locked because it is over the transaction limit of the plan has no month export in exports/ until a plan covers it. Its receipts and documents are in the export all the same.
- Documents in a seller's name that the seller keeps after your copies were deleted are no longer yours to export.
Leaving 402lounge
End the contract at any time, in the dashboard or by email. The export then stays open for at least 30 days. If you switch, the switch counts as complete and the contract as ended once you have downloaded your export. If you do not switch, the contract ends after these 30 days and your account data is deleted, and your receipts and documents on the dates in section 12 of the terms. Nothing of this costs anything. Questions about the files go to hello@402lounge.com, and a person answers.