Help & Documentation

Learn how to use StructureGram

Data Required to Import from XPM

Before pulling data from Xero Practice Manager (XPM), it helps to know which details StructureGram needs to create usable Entities and Relationships.

Some details are essential because they identify the XPM client or Relationship. Other details can be selected during the StructureGram review. StructureGram can also apply limited defaults, but those defaults should be checked before you rely on the imported structure.

This article covers inbound pulls from XPM. For the pull steps, see How to Pull Data from XPM.

The Three Levels of Data Readiness

  • Required means StructureGram cannot identify or import the item without the detail.
  • Required to resolve means the detail must be known before import, but you can select it during the StructureGram review if XPM does not provide enough information.
  • Recommended means the item can import without it, but the resulting Entity or Relationship may be incomplete or use a default value.

XPM supplies its internal client and Relationship identifiers automatically. You do not normally enter those identifiers yourself.

Requirements for Every Entity

XPM detailRequirementWhat happens if it is missing or unsuitable
Client IDRequiredThe client is skipped because StructureGram cannot identify it.
Business StructureRequired to resolveStructureGram tries to match it automatically. If the label is missing, custom, or ambiguous, you must select an SG entity type during review.
NameRecommendedThe Entity can import with a visible placeholder, but you should correct it before using the Group.
Current clientRequiredClients marked archived or deleted in XPM are not imported.

The Business Structure determines whether the client becomes an Individual, Company, Trust, Partnership, or SMSF. See Automatic Type Matching for XPM Structures for recognised labels and keyword matching.

Entity Requirements by Type

SG Entity typeRequired to resolveRecommended XPM detailsOptional imported details
IndividualBusiness Structure resolves to IndividualFirst Name and Last NameMiddle Name, date of birth, sex, email, phone, address, ABN and TFN
CompanyBusiness Structure resolves to CompanyCompany NameABN, ACN and country
TrustBusiness Structure resolves to Trust and a concrete Trust subtype is knownTrust NameABN, country and TFN
PartnershipBusiness Structure resolves to PartnershipPartnership NameABN and TFN
SMSFBusiness Structure resolves to SMSFFund NameABN and TFN

Missing names

Names are strongly recommended, but they are not a technical import blocker:

  • An Individual without a usable person name receives [FirstName] and [LastName] placeholders.
  • Another Entity without a name receives a placeholder based on its XPM client ID.

Replace these placeholders with the correct names before relying on the Entity in diagrams or reports.

Sensitive identifiers

TFNs are not required for import. Whether StructureGram imports a TFN depends on your organisation's sensitive-data import settings. Do not add a TFN to XPM solely to make an Entity import.

Trust Type Requirements

A Trust cannot complete import until StructureGram knows its Trust subtype. The subtype also determines which Relationships are valid.

XPM Business Structure or descriptionSG Trust subtype
Unit TrustUnit Trust
Family TrustUsually Discretionary Trust
Testamentary TrustTestamentary Trust
Estate or Deceased EstateDeceased Estate
Generic TrustYou must choose Discretionary Trust, Testamentary Trust, or Bare Trust/Nominee
Not-for-profit or CharityYou must choose Private Ancillary Fund or Charitable Fund

Custom labels may resolve through keyword matching or an organisation-wide saved mapping. If StructureGram cannot determine a single result, it holds the Trust for your decision instead of guessing.

Requirements for Every Relationship

XPM detailRequirement
Relationship IDRequired
Supported Relationship TypeRequired
Source clientRequired
Related clientRequired
Importable endpointsBoth clients must exist, be current, and resolve to compatible SG Entity types.
Valid directionStructureGram must be able to identify the role-holder and the Entity it relates to.

The source and related client cannot be the same Entity. A Relationship is also held or skipped when either endpoint still needs an Entity type or Trust type decision.

Use directional XPM labels such as Director Of, Shareholder Of, and Trustee Of where available. They make the intended direction clear.

Relationship Requirements by Type

In the combinations below, the Entity on the left holds the role and the Entity on the right is the target.

XPM RelationshipValid Entity combinationAdditional data needed
Shareholder Of or company Owner OfIndividual, Company, Trust, or SMSF -> CompanyThe share class must be resolved in StructureGram. The number of shares is recommended but not required.
Unitholder Of or Unit Trust Owner OfIndividual, Company, Trust, or SMSF -> Unit TrustThe unit class must be resolved in StructureGram. The number of units is recommended but not required.
Director OfIndividual -> CompanyNo additional fields are required.
Secretary OfIndividual -> CompanyNo additional fields are required.
Public Officer OfIndividual -> CompanyNo additional fields are required.
Receiver Manager OfIndividual -> CompanyNo additional fields are required.
Administrator OfIndividual -> CompanyNo additional fields are required.
Liquidator OfIndividual -> CompanyNo additional fields are required.
Trustee Of a TrustIndividual or Company -> TrustThe Trust subtype must be resolved.
Trustee Of an SMSFIndividual or Company -> SMSFThe trustee arrangement must contain either individual trustees only or one corporate trustee.
Beneficiary OfIndividual, Company, or Trust -> Trust; SMSF -> Bare Trust/NomineeThe Trust subtype must be resolved.
Appointer Of or Appointor OfIndividual or Company -> TrustThe target cannot be a Bare Trust/Nominee.
Partner OfIndividual, Company, Trust, or SMSF -> PartnershipA partnership percentage is recommended. The current XPM import does not block a missing percentage.
Member OfIndividual -> SMSFNo additional fields are required.
SpouseIndividual <-> IndividualNo additional fields are required.
Parent OfIndividual -> IndividualNo additional fields are required.
Child OfIndividual -> IndividualNo additional fields are required.

Shareholdings and Unitholdings

Does XPM need a number of shares?

No. A company shareholder can import without a number of shares. For a new shareholding, StructureGram uses 1 when no positive number is supplied.

The same rule applies to a new unitholding: StructureGram uses 1 unit when no positive number is supplied.

This default allows the Relationship to be created, but it does not confirm the real holding. Record the actual quantity in XPM where possible, or correct it during review.

Does XPM need a share or unit class?

The class must be resolved before StructureGram creates a class-aware holding, but it does not have to be populated in XPM.

  • For a straightforward new holding, the review can recommend Ordinary Shares or Ordinary Units.
  • You can replace the recommendation with the correct class.
  • When SG already contains a holding between the same Entities, you must select the existing holding or create a separate class-aware holding.

This review prevents two economically different holdings from being merged just because they have the same owner and target.

Optional Relationship Details

The following details improve accuracy but are not general import blockers:

  • Number of shares or units
  • Ownership percentage
  • Partnership percentage
  • Start or effective date
  • End date
  • Member balance
  • Notes or other descriptive metadata

Populate quantities, percentages, classes, and dates in XPM whenever they are known. Defaults are useful for completing the workflow, but they are not a substitute for the source documents or the actual ownership register.

Preparing XPM Before a Pull

  1. Confirm every client has the correct Business Structure.
  2. Give every client a meaningful name. For Individuals, record both first and last names.
  3. Make Trust labels specific enough to identify the Trust subtype where possible.
  4. Confirm each Relationship uses the correct clients and direction.
  5. For shareholdings and unitholdings, record the real quantity and class where XPM supports them.
  6. Add useful effective dates and percentages when known.
  7. Remove or correct duplicate and obsolete Relationships before pulling.
  8. Run the pull and review every item that StructureGram flags for a decision.

Edge Cases and Expected Behaviour

  • An unknown Business Structure does not become a generic Entity. StructureGram asks you to choose the SG entity type.
  • A generic Trust is held for a subtype decision unless its name or saved mapping resolves the subtype.
  • A Relationship waits for its Entities. It cannot import while either endpoint is unresolved or unavailable.
  • Owner is contextual. It becomes a shareholder for a Company and a unitholder for a Unit Trust.
  • Beneficiary is contextual. StructureGram may convert it to a named beneficiary for an appropriate Trust subtype or to a unitholder when the data clearly represents a Unit Trust holding.
  • Archived or deleted XPM clients are skipped. Relationships involving those clients are also skipped.
  • Cross-Group Relationships may need dependency import. StructureGram must be allowed to bring in the client outside the selected XPM Group, or the Relationship is skipped.

Troubleshooting

An Entity did not import

Most likely causes:

  • The XPM client has no usable client ID.
  • The client is archived or deleted.
  • Its Business Structure or Trust subtype still needs your selection.
  • StructureGram found a possible duplicate that needs review.

Fix:

  1. Check the client in XPM.
  2. Correct its status, name, or Business Structure where necessary.
  3. Return to the StructureGram review and resolve any type or duplicate decision.
  4. Run the pull again.

A Relationship did not import

Most likely causes:

  • One endpoint did not import or still needs review.
  • The Relationship Type is unsupported.
  • The Entity combination is invalid for that role.
  • The direction is unclear or reversed.
  • A share or unit holding still needs a class or existing holding selection.

Fix:

  1. Confirm both clients imported successfully.
  2. Check the Relationship Type and direction in XPM.
  3. Resolve the flagged Relationship in the StructureGram review.
  4. Run the pull again if the review identifies a source-data correction.

A holding imported with one share or unit

XPM did not supply a positive quantity, so StructureGram used its creation default of 1.

Check the source ownership information, then correct the quantity in XPM or StructureGram before relying on ownership calculations.

Best Practice

Treat the first pull as a data-readiness review:

  1. Correct names, Business Structures, Trust subtypes, and Relationship direction first.
  2. Resolve possible duplicates before creating new Entities.
  3. Verify holding classes and quantities against the ownership register or source documents.
  4. Add optional dates and percentages after the structure is correct.
  5. Pull again to confirm that the XPM and StructureGram records now reconcile cleanly.

Related Topics