Import subscriptions
You import subscriptions, i.e. products per account and person, with start date, end date, payment type and quantity.
- Format
- CSV (semicolon or comma), UTF-8
- Access rights
- Administrator, write access to CRM
- Example files
- AFS_SUBSCRIPTION_beispiel_technisch.csv (technical column names)
AFS_SUBSCRIPTION_beispiel_anwender.csv (German column names)
In short: Each row is one subscription: account, person, product and start date. If a subscription with the same account, product and person already exists, vynst updates it instead of creating a duplicate.
What you need this for
After switching to vynst, the ongoing fees and products of each account must exist as subscriptions so that vynst can bill them. This file transfers them in one pass.
Before you start
- Rights: You need the role Administrator with write access for CRM.
- Imported beforehand: The accounts, the persons and the products must already exist in vynst, with the same numbers as in the subscription file. A person must be linked to the account, otherwise vynst skips the row.
- Backup: The import cannot be undone at the click of a button. Before you start, export the subscriptions under Settings → Export (Einstellungen → Export).
Prepare the file
- File name: Must contain
AFS_SUBSCRIPTION_and.csv, for exampleAFS_SUBSCRIPTION_2026.csv. - Header row: Account number, product number and start date must be present. The start date column must not be the last column.
- Separator: Semicolon or comma. Use the same character throughout the whole file.
- Date:
01.09.2026or2026-09-01. Empty end date cell: open-ended. - Size: From 9000 rows onwards, vynst splits the file into packages of 3000 rows each by itself.
Columns
| Column | Required | Content | Example |
|---|---|---|---|
COMPANY_IDENTIFIER (also ACCOUNT_IDENTIFIER, Abrechnungskontonummer) |
yes | Account, number from the accounts import | K-1001 |
PERSON_IDENTIFIER (also PERSON_ID, Mitglieds_Nummer, MitgliedID) |
no | Person of the subscription. Without a person, the subscription applies to the account. | 1001 |
PRODUCT_IDENTIFIER (also Produkt-ID, Produkt) |
yes | Product, as assigned during the products import | ERW |
START_DATE (also Startdatum, Eintrittsdatum, Beginn) |
yes | Start of the subscription | 01.01.2020 |
END_DATE (also Enddatum, Austrittsdatum, Ende) |
no | End of the subscription | 31.12.2026 |
LAST_PAYMENT_DATE (also Letzte Sollstellung, Zahlungsdatum) |
no | Date of the last billing. Leave empty if nothing has been billed yet. | 30.09.2026 |
QUANTITY (also Anzahl, MENGE) |
no | Quantity. If not given, 1 applies. | 1 |
PAYMENT_TYPE (also Zahlungsart) |
no | Payment type as set up in vynst. Empty: payment type of the account. | Lastschrift |
BILLING_PAYMENT_PROFILE (also Zahlungsprofil) |
no | Payment profile as set up in vynst. Leave empty if you do not use one. | |
FALLBACK_TO_LINKED_COMPANY |
no | ja: If the account is unknown, vynst takes the first account of the person and writes a warning to the log. If the person is not linked to the account, vynst also takes the first account of the person. Without ja, vynst skips both cases. |
nein |
IMPORT_IDENTIFIER_PREFIX |
no | Prefix that was used to import accounts, persons and products. If not given, AFS_CSV_ applies. |
AFS_CSV_ |
Example
The technical file with the column names of the import:
COMPANY_IDENTIFIER;PERSON_IDENTIFIER;PRODUCT_IDENTIFIER;START_DATE;END_DATE;LAST_PAYMENT_DATE;QUANTITY;PAYMENT_TYPE;BILLING_PAYMENT_PROFILE;FALLBACK_TO_LINKED_COMPANY;IMPORT_IDENTIFIER_PREFIX
K-1001;1001;ERW;01.01.2020;;30.09.2026;1;Lastschrift;;nein;AFS_CSV_
K-1001;1002;JUG;01.03.2022;;;1;Lastschrift;;ja;AFS_CSV_
Example files: AFS_SUBSCRIPTION_beispiel_technisch.csv with the technical column names, AFS_SUBSCRIPTION_beispiel_anwender.csv with the German column names.
Here, Lena Hartmann (person 1001) belongs to the account of the Hartmann family (K-1001) and has the adult fee from 01.01.2020. She has been billed up to 30.09.2026. Jonas Hartmann (person 1002) also belongs to account K-1001 and has the youth fee from 01.03.2022. No billing date is entered for him yet. The column FALLBACK_TO_LINKED_COMPANY is set to ja for him, but it does not apply here, because he is linked to the account.
How to proceed
- Open Settings → Import (Einstellungen → Import).
- Click Add (Hinzufügen) and select the file.
- Wait until the entry in the list is green. For a large file, the packages appear as separate entries.
- Read the log. Every line with
Error:was not imported.
Good to know
- Re-import: If a subscription with the same account, product and person already exists, vynst updates it. Without a person number, vynst updates the first subscription with the account and product.
- Empty cells do not overwrite existing values. This means you cannot remove an end date this way.
- Unknown account: If the account is not known in vynst, vynst skips the row with an error, even if the person is known. Only if you want to use the first account of the person, set
FALLBACK_TO_LINKED_COMPANYtoja. Then vynst takes the first account of the person and writes a warning to the log. Check the account numbers beforehand. - Person without account: If the person is not linked to the account, vynst skips the row. The exception is the column
FALLBACK_TO_LINKED_COMPANYwithja. - Large files: From 9000 rows onwards, vynst splits the file into packages. The log line
Info: split into N filesis followed by the packages as separate imports.
When something does not work
| Message in the log | Meaning | What to do |
|---|---|---|
Error: skipped missing company |
The account number is missing in the row. The row is shown below it. | Fill in the account number |
Error: skipped company with import origin id AFS_CSV_K-9999 not found |
The account is not known in vynst, so the row is skipped. The number is shown in the message with the prefix AFS_CSV_. |
Import the account first, check the number |
Warning: company with import origin id AFS_CSV_K-9999 not found, used first account of person AFS_CSV_1001 |
The account is unknown, but the row was created with the first account of the person, because FALLBACK_TO_LINKED_COMPANY is set to ja. |
Check that the first account of the person is the right one. Otherwise import the account and import the row again |
Error: skipped product with import origin id AFS_CSV_XYZ not found |
The product is not known in vynst | Import the product first, check the number |
Error: person AFS_CSV_2002 not linked with account AFS_CSV_K-2001 |
The person does not belong to the account | Check the assignment or link the person |
Info: split into 4 files |
Large file was split | Nothing to do |
Processed 25 lines |
This many lines were processed | Nothing to do |
Error: less then one line |
The file contains no data row | Check the file |
FAILED: User missing rights to import. |
You lack the rights for CRM | Ask an administrator |
See also
- Products (simple)
- Billing rhythm of the accounts
- Flat-rate surcharges on accounts
- Import data