Importing CSV Data

CSV for all fields and sample data needed to import the necessary information

This guide explains how to import information into Upmind using a CSV file, including examples of required columns and formats. These include:

  1. Client payment details
  2. Client data
  3. Contracts
  4. Invoices
  5. Product data
  6. User data

Upmind is ISO 27001 certified and uses enterprise-grade security to protect your payment data during import and storage, ensuring your customers’ information remains safe throughout the process.

Importing CSV

  1. You can import CSV files from Settings > Imports under Miscellaneous.

Settings > Miscellaneous > Imports

  1. Then click on Upload CSV files.

Upload CSV files

Client payment details

Field NameDescriptionExample
idUnique record identifier.1
client_idUpmind client identifier.1
payment_method_nameDescriptive name of the payment method.Visa ending 4242
gateway_provider_codePayment gateway identifier used by Upmind.PayPal_Rest
is_defaultIndicates if this is the default payment method (1 for yes, 0 for no).1
allow_auto_paymentSpecifies if automatic payments are allowed (1 = yes).1
imported_address_idReference ID for the imported billing address.61051
card_typeType of credit card used.visa
card_last4Last four digits of the card number.4242
card_expire_dateCard expiration date in MM/YYYY format.11/2023
payment_method_tokenUnique token representing the payment method in the gateway.pm_1NpTxkEZLEAqFQ2mTqZcDC6c
customer_referenceCustomer reference ID from the payment gateway.cus_OcjQJtdNFORBpu
stripe_setup_intentStripe setup intent ID.seti_1NpTyoFSPY1r1zi86UsAyzql
stripe_payment_method_typePayment method type registered with Stripe.paypal
address_1Primary street address.Varna
address_2Secondary address line.Apt 5B
country_codeTwo-letter ISO alpha-2 country code.BG
region_codeRegional or state code.13
postcodePostal or ZIP code.4400

Client data

Field NameDescriptionExample
idUnique client record identifier.1
first_nameClient's first name.Leon
last_nameClient's last name.Gomez
has_loginIndicates login access (1 for yes, 0 for no).1
verifiedClient's verification status (1 = verified).1
emailClient email address.[email protected]
phone_phoneClient’s phone number.888777777
phone_country_codeTwo-letter ISO alpha-2 country code.BG
phone_verifiedPhone verification status (1 = verified).1
address_address_1Street address line 1.Sofia
address_cityCity name.California
address_postcodePostal or ZIP code.1220
address_country_codeTwo-letter ISO alpha-2 country code.BG
address_verifiedAddress verification status (1 = verified).1
company_nameClient company name.Upmind Solutions Ltd.
company_verifiedCompany verification status (1 = verified).1
currency_codeClient's default currency in ISO 4217 format.GBP

Contracts

Field NameDescriptionExample
idUnique contract identifier.1
nameContract title or name.Standard Hosting Agreement
start_dateContract start date in YYYY-MM-DD format.2025-01-27
activation_dateDate contract was activated.2025-01-27
client_idAssociated client’s unique ID.1
company_idLinked company identifier.42
address_idBilling or service address ID.1
total_amountTotal contract value.20
statusContract state (e.g., contract_pending).contract_pending
created_atTimestamp of contract creation.2025-01-27 04:41:14
updated_atTimestamp of last update.2025-08-02 14:11:39
contract_product_idUnique contract product ID.101
contract_product_product_idProduct ID linked to contract product.1
contract_product_nameProduct name.Shared Hosting
contract_product_descriptionProduct description.Shared Hosting
contract_product_billing_cycle_monthsBilling cycle length in months.1
contract_product_quantityNumber of products purchased.1
contract_product_unit_quantityUnit of measurement for the product.5 GB
contract_product_priceUnit price per product.20
contract_product_amountTotal amount for the product line.20
contract_product_statusStatus of the contract product.contract_pending
contract_product_total_amountTotal cost including taxes and discounts.20
contract_product_net_amountAmount before taxes.20
contract_product_tax_amountTax amount charged.0
contract_product_net_selling_priceSelling price excluding taxes.20
contract_product_base_priceBase price of the product.20
contract_product_selling_priceFinal selling price charged.20
contract_product_net_product_discount_amountDiscount amount on the product.0
contract_product_created_atContract product creation timestamp.2025-01-27 04:41:14
contract_product_updated_atContract product last updated timestamp.2025-08-02 14:11:39
contract_product_renewFlag if product auto-renews (1 = yes).1
contract_product_initial_invoice_amountInitial invoice amount for product.20
contract_product_manual_statusFlag for manual status override (0 = no).0
currency_codeISO 4217 currency code.GBP
contract_product_next_due_dateNext billing due date.2026-01-12
main_contract_product_idPrimary related contract product ID.101
provisioning_product_typeType of provisioning service.hosting
provisioning_domain_registrarDomain registrar name.GoDaddy
provisioning_hosting_server_idServer identifier.server123
provisioning_hosting_typeHosting type (e.g., shared-hosting).shared-hosting
provisioning_hosting_hostnameHosting server hostname.server.hostname
provisioning_hosting_ipHosting server IP address.127.0.0.1
provisioning_usernameUsername for provisioning access.hostingUser1
provisioning_domain_nameDomain name provisioned.mydomain.com

Invoices

Field NameDescriptionExample
idUnique invoice identifier.1
contract_idAssociated contract’s unique ID.1
numberInvoice number or reference code.C-INV-00001
client_idClient’s unique identifier.1
user_idID of user who created or manages the invoice.1
net_amountTotal amount before taxes.20
tax_amountTax charged on the invoice.4
total_amountTotal amount including tax.24
paid_amountAmount already paid.0
statusInvoice payment status (e.g., invoice_unpaid).invoice_unpaid
paid_datetimeTimestamp when payment was made; use NULL if unpaid.NULL
due_datePayment due date in YYYY-MM-DD format.2025-01-27
created_atTimestamp of invoice creation.2025-01-26 05:38:53
updated_atTimestamp of last update.2025-01-27 18:51:51
cancellation_datetimeTimestamp of cancellation if any; NULL if none.NULL
invoice_product_idUnique identifier for invoice line item.1
invoice_product_product_idProduct ID linked to the invoice item.1
invoice_product_nameProduct or service name.Shared Hosting
invoice_product_descriptionDescription of the product or service.Shared Hosting
invoice_product_quantityQuantity billed.1
invoice_product_unit_quantityAdditional unit details if applicable; use NULL if N/A.NULL
invoice_product_net_amountNet amount for the line item.20
invoice_product_tax_amountTax amount applied to the line item.4
invoice_product_vat_percentageVAT or tax rate percentage.20
invoice_product_total_amountTotal line item amount including tax.24
invoice_product_created_atTimestamp when this line item was created.2025-01-26 05:38:54
invoice_product_updated_atLast update time for the invoice line item.2025-01-27 04:41:14
currency_codeISO 4217 currency code for the invoiceGBP

Product data

Field NameDescriptionExample
idA unique number identifying each product.1
nameThe product's descriptive name.Shared Hosting
product_typeNumeric code representing the product category.1
order_typeNumeric code indicating how the product is ordered.1
unit_quantityOptional unit measurement for the product.NULL/5 GB
product_billing_typeBilling cycle type code.0 for one-time or recurring
available_for_salesWhether the product is listed for sale (1 for yes).1
clients_can_orderIndicates if clients can directly order this product (1 for yes).1
price_priceProduct price, usually in decimal format.0
price_billing_cycle_monthsBilling cycle length in months.1
price_currency_codeISO code for the currency.GBP
provision_configuration_idIdentifier for the provisioning setup.12345

User data

Field NameDescriptionExample
idUnique numeric identifier for each user.1
firstnameUser’s first name.Brian
lastnameUser’s last name.West
usernameUnique login name for the user.bwest
emailUser’s email address.[email protected]
adminIndicates administrative privileges (1 = admin, 0 = regular user).0
activeUser account status (1 = active, 0 = inactive).1
language_codePreferred user interface language code (ISO 639-1).en
group_idsComma-separated list of group IDs the user belongs to.1,3,7

You can use the Upmind examples repository (GitHub csv-import-examples) for additional CSV templates.