Overview:
The Contract import Agent allows you to automatically create order drafts in Younium by uploading PDF documents such as customer contract, invoices or quotes. Younium uses AI to extract information from your PDF and match it with your existing Younium products and accounts.
How It Works
When you upload a PDF document, the system performs three main steps:
- Text Extraction - Reads all text and tables from your PDF document
- Intelligent Analysis - Uses AI to identify customer information, products, prices, and dates
- Automatic Matching - Matches the extracted information to your existing Younium products and accounts. If no account can be found, a new account will be created.
After analysis, you can review the extracted data, make any necessary adjustments, and submit the order draft to Younium.
Getting Started
Uploading a PDF
- Click the Contract Import Agent button, its in the top bar of the Order screen.
- Select a PDF contract from your computer
- Wait for the analysis to complete (typically 10-30 seconds)
- Review the extracted order information in the preview dialog
5. Click Submit to Younium to create the order draft.
What Information Is Extracted?
The system extracts the following information from your PDF:
- Customer Information
- Company name
- Customer reference or contact person
- Invoice address and email
- Order Details
- Effective start date
- Effective end date or contract duration
- Currency
- Products/Line Items
- Product descriptions
- Quantities
- Unit prices
- Total amounts
Product Matching
The system automatically matches products from your PDF to existing products in your Younium catalog. This means that for the feature to work properly, products to match against must exist in Younium.
How Products Are Matched
Products are matched using several criteria:
- Product Name - The system looks for products with similar names
- Price - Helps identify the correct product when multiple options exist
- Billing Period - Monthly, Annual, or One-time charges help narrow down matches
- Custom field matching - As an additional option for mapping the Agent can match data in a custom field to data in the PDF. To learn more read below.
Match Status
Each product displays a status indicator:
| Status | Meaning |
| ✓ Matched (95%) | Product found with high confidence |
| ✓ Matched (75%) | Product found with moderate confidence |
| ⚠ Not Matched | No matching product found |
Match Confidence
The confidence percentage indicates how certain the system is about the match:
- 95-100% - Excellent match, very likely correct
- 85-94% - Strong match, review recommended
- 70-84% - Good match, please verify
- Below 70% - Lower confidence, manual review suggested
Manual Product Matching
If a product isn't matched correctly, you can manually select the correct product:
1. Click the 🔗 button next to the product
2. Select the correct Younium product from the dropdown list
3. The system will automatically update the product information
Custom Field Mapping
Overview
Single-Product Match
Bundle Match (One-to-Many)
- The single PDF line item is expanded into one order line per matched product
- The price is split evenly across the bundle items
Setup
- Add a custom field to the relevant Younium product(s) (e.g., AlternativeName, BundleName)
- Set the value to the exact name as it appears in the incoming PDFs
- For bundles: set the same value on all products that belong to that bundle
Account Matching
The system also tries to match the customer from your PDF to an existing Younium account.
How Accounts Are Matched
Accounts are matched by:
- Organization Number - Exact match if present in the PDF
- Account Number - Exact match if present in the PDF
- Company Name - Close name similarity (ignoring suffixes like AB, Ltd, Inc)
Match Status
| Status | What Happens |
|--------|--------------|
| ✓ Account Matched | The order will be created under the existing account |
| + Create New Account | A new account will be created in Younium |
Charge Plans and Charges
When a product is matched, the system automatically includes all charges from the product's charge plan.
Understanding the Structure
In Younium, products are organized as follows:
- Product - The main item (e.g., "Software License")
- Charge Plan - A pricing option (e.g., "Monthly Plan" or "Annual Plan")
- Charge - Individual billable items (e.g., "Monthly Fee", "Setup Fee")
Changing Charge Plans
If a matched product has multiple charge plans, you can select a different one:
1. Find the Charge Plan dropdown in the product details
2. Select the desired charge plan
3. The charges will update automatically
Prices
Price Handling
- Important:* The system preserves prices from your PDF document. This ensures that:
- Negotiated rates are honored
- Special discounts are maintained
- Custom pricing agreements are respected
The prices shown in Younium's product catalog are only used for matching purposes, not to replace your PDF prices.
Date Handling
Effective Start Date
The system looks for dates in this order:
1. Explicit start date or subscription date
2. Order date or purchase date
3. Invoice date
4. Any other date in the document
5. Today's date (if no date is found)
Effective End Date
The system determines the end date by:
1. Looking for an explicit end date
2. Calculating from contract duration (e.g., "12 months" or "1 year")
3. Leaving empty if no information is found
After Submission
When you submit an order, the following is created in Younium:
- Account - A new account (if not matched to an existing one)
- Subscription - With the extracted dates and terms
- Order - Containing all the product line items
- Attachment - The original PDF is attached for reference
You can find the created order in your Younium account using the Subscription ID provided after submission.
Tips for Best Results
Use Clear PDF Documents
- Well-formatted contracts, invoices and quotes work best
- Ensure text is selectable (not scanned images)
- PDFs with clear table structures are easier to analyze
Product Naming
- Products with similar names in your PDF and Younium catalog match better
- Consistent naming conventions improve matching accuracy
Review Before Submitting
- Always review the extracted information before submitting
- Pay attention to low-confidence matches (below 80%)
- Use manual matching for any incorrect products
Troubleshooting
"No products found"
- Check that your PDF contains readable text
- Verify the document has clear product/line item information
Low confidence matches
- The product names in your PDF may differ from Younium
- Use manual matching to select the correct product
Missing dates
- If no dates are found, today's date is used
- You can review dates before submitting
Account not matched
- The company name may be different in your PDF
- A new account will be created automatically