Import sales and refunds
Select the Business and Test/Live environment, download the example template and replace its sample rows with actual records, and review the uploaded data before posting. Sales with incomplete tax evidence remain available for review.
Choose the source system on the import page, or select Other source to enter your existing identifier. Identifiers from the displayed import history are offered unchanged. Keep the spelling and letter case consistent across uploads so duplicate sales can be recognised; refunds must use the original sale's identifier in sale_source_system.
Download templates
Choose the record type and download its example template: eunipay-sales-v1-example.csv for sales or eunipay-refunds-v1-example.csv for refunds. Each contains the headers and fictional sample rows.
Replace all fictional sample data, including EXAMPLE- identifiers, with actual records before uploading. Example rates are not advice about the applicable rate.
Fill and save
Open the CSV using the text import function in Excel/WPS. Set identifier columns to text to preserve leading zeros and long identifiers. Keep all English headers unchanged and add no explanatory rows. Save as comma-separated CSV UTF-8; xlsx is not accepted in this version.
Amounts use major currency units: 125.00 means 125 currency units. Do not use currency symbols, grouping separators, or formulas. Rate 25 means 25 percent without a percent sign. Leave unknown VAT blank and enter 0 for explicit zero VAT.
Use 2026-09-01T14:30:00+02:00 for timestamps. The tax date uses YYYY-MM-DD and must not be replaced by the upload date.
Supported currencies: EUR, SEK, CNY, CZK, DKK, HUF, PLN, RON. Each row is one fully paid sale in one currency with one tax treatment. Completed refunds use the separate template with positive amounts.
The currently supported rate range is 0 to 50; check original records outside this range, which this version cannot automatically process.
Gross 125.00, net 100.00, and blank VAT allow arithmetic inference of VAT 25.00, explicitly marked as inferred. With both net and VAT blank, both remain unknown. Inference does not confirm tax treatment.
Common errors include amount 1,25, rate 25%, date 01/02/2026, and identifiers converted to scientific notation; correct these in the source file.
Sales fields
| Field | Required | Instructions |
|---|---|---|
external_sale_id | Yes | Stable sale identifier, stored as text |
sold_at | Yes | Sale time, RFC3339 with timezone |
paid_at | Yes | Actual receipt of payment, RFC3339 |
currency | Yes | Supported three-letter currency |
gross_amount | Yes | Positive gross in major units, e.g. 125.00 |
net_amount | No | Net amount; blank means unknown |
vat_amount | No | VAT amount; blank unknown, 0 explicit zero |
vat_rate_percent | No | Percent as number, e.g. 25, not 25% |
buyer_country | No | Two-letter buyer country |
buyer_entity_type | No | personal or business |
external_customer_id | No | Customer identifier as text |
buyer_vat_number | No | Historical buyer VAT identifier |
tax_treatment | No | Original treatment; unsupported values need review |
tax_date | No | Historical tax date, YYYY-MM-DD |
registration_scheme | No | vat, union_oss, non_union_oss |
registration_country | No | Two-letter registration country |
registration_number | No | Historical registration number as text |
external_document_number | No | Original receipt or invoice number |
evidence_reference | No | Evidence index; no remote URL fetching |
original_filing_period | No | Original filing period, if known |
filing_status | No | unknown, unfiled, filed |
provider_account_id | No | Original Stripe account reference if available |
provider_payment_id | No | Original Stripe payment reference if available |
description | No | Description of this single-treatment sale |
Refund fields
| Field | Required | Instructions |
|---|---|---|
external_refund_id | Yes | Stable refund identifier, stored as text |
sale_source_system | Yes | Source system of the original sale |
external_sale_id | Yes | Exact original sale identifier |
refunded_at | Yes | Completed refund time, RFC3339 |
currency | Yes | Original sale currency |
gross_amount | Yes | Positive actual refund in major units |
net_amount | No | Refunded net; blank unknown |
vat_amount | No | Refunded VAT; blank unknown, 0 explicit zero |
provider_refund_id | No | Original provider refund reference |
reason | No | Actual reason for completed refund |
Review and post
Uploaded rows are classified as ready, tax review needed, duplicate, conflict, or invalid. Open a row to compare original and recognized values and see the field and correction needed. Arithmetic consistency does not establish correct tax treatment.
Download problem data, correct the source file, and upload again. Duplicates are skipped and conflicts never overwrite the original sale. Unknown VAT is excluded from confirmed VAT totals. A refund must identify its original sale and source system; an unmatched refund remains pending and does not create a fictional sale.
Confirm the selected rows to post them. You can close the page and return through import history to check progress. Historical imports do not collect payment again, execute refunds, or automatically send receipts to previous customers.
For a receipt requested later, include the real external_customer_id and a service description. The customer identifier links an owned customer profile; importing it does not create that profile or turn current details into historical proof. Complete matching company/customer identity and address details, confirm the historical tax evidence, then explicitly request the receipt from the sale. It uses the actual issuance date and preserves the original external document reference.
Downloaded result/problem files include an EuniPay export marker before the unchanged header. Keep that generated marker when saving and uploading the file again; it lets EuniPay restore spreadsheet-safe apostrophe escapes without changing identifiers or user-entered apostrophes. Example templates have no export marker.
Historical VAT after import
In Sales tax review, filter by missing information, then preview selected sales or the entire filtered result, up to 500 per batch. Preview is read-only and shows eligible records, blocking reasons and any proposed historical registration. A registration is proposed only when exactly one eligible historical registration matches; unknown amounts and missing evidence are never inferred.
Confirm only the eligible records after checking the preview. Each confirmation retains an audit revision; changed records require a new preview, already confirmed records are skipped on retry, and one failed record does not roll back successful records. Original amounts, currency conversions, receipts and saved filings are preserved. If a queue spans more than 5,000 sales, narrow its filters before grouping or previewing.
Imported records can be managed through manual tax review and linked corrections. Assess historical VAT is a separate, bounded check: first-release automated coverage requires the original frozen standard-service Quote and its typed historical seller, registration and location evidence, within 13 July–28 October 2026. Filling evidence_reference does not turn an external row into covered evidence. A blocked assessment lists missing items and leaves manual review available; an assessment alone does not change amounts. Explicit acceptance preserves the received gross, original external document/receipt and saved filing snapshots. Reports export corrections by their actual recording date, separately from the original tax period and current effective totals.