Invoice Supplier XML Download

This integration downloads invoices that are in Approved or Consolidated status since the last run date. This connector uses the OAGIS XML standard, for further information on the generic implementation of this standard visit their website at http://www.openapplications.org.

Connector Overview

Component

Detail

Company Type

Supplier

Version Type

1.0 - Downloads invoices for Supplier in XML format: triggered from UI, Integrator, and Subscription.

2.0 - Downloads invoices for Supplier in XML format: triggered from Web service.

Format

XML

Prerequisites

Company Details Setting must be turned on for Integration – Invoice XML Supplier Download.

User role permission must be turned on for Upload Data and Download Data.

Predecessors

Time/Expense Invoice(s)

Misc Invoice(s)

Credit Debit Memo(s)

SOW Invoice(s)

Related Connectors

Invoice Supplier Download

Triggering Events

  • The status can be ‘Approved’ or ‘Consolidated’.

  • If the status is ‘Approved’, the invoice revision time should be between the last run date and the run date.

  • If the status is ‘Consolidated’, the consolidate revision time should be between the last run date and the run date.

  • For an MSP Partner user, the company code for the connector is downloaded.

File Formatting

Data Dictionary

Elements and Attributes

Data Type

Length

Min/Max Occurrences

Value(s)/Format

Description/Use/Field Rules

Invoice\InvoiceHeader\Party\PartyIDs\ID Text 6 1/*

Valid values are:

Valid Fieldglass Supplier List

Supplier’s Fieldglass Supplier Code
Invoice\InvoiceHeader\Party\Name Text 200 1/1

Valid values are:

Valid Fieldglass Supplier List

Supplier Name
Invoice\InvoiceHeader-\DocumentReference (type=”CI”)-\DocumentID\ID Text 16 0/1   Fieldglass Consolidated Invoice ID. Populated only if Invoice has been consolidated.
Invoice\InvoiceHeader\DocumentID\ID Text 16 1/1   Fieldglass invoice ID
Invoice\InvoiceHeader\AlternateDocumentID\ID Text 16 0/1  

Fieldglass Underlying Invoice ID.

For CrDb this will be the Invoice ID of the invoice being adjusted.

Invoice\InvoiceHeader\DocumentID\VariationID Text 50 1/1   Supplier Invoice Code
Invoice@Type=”Invoice Type” Text 2 1/1

Valid values are:

IN

CD

MI

PI

PC

Fieldglass Invoice Type
Invoice\InvoiceLine\Item\ItemID\ID Text 2 1/1

Valid values are:

TS

ES

MI

PS(Sch)

PE(Event)

TU(SOW Fee/Unit)

Invoice Line Item Type
Invoice\InvoiceHeader-\DocumentDateTime Date 1/1

Example:

Date in “mm/dd/yyyy” format

Invoice Submit Date

Date supplier submitted the invoice or if Auto Invoicing is enabled, the date for which final approval of the source document was received.

Invoice\InvoiceHeader\ExtendedAmountInAdditionalCurrency currencyID="currency code"

Decimal

0/1

Amount in additional currency. Currency code must be valid SAP Fieldglass currency code.

Invoice\InvoiceHeader\TotalAmountInAdditionalCurrency currencyID="currency code"

Decimal

0/1

Total amount in additional currency. Currency code must be valid SAP Fieldglass currency code.

Invoice\InvoiceHeader\Party\Location\ID Text 100 1/1 Valid Fieldglass Site List Fieldglass Site Code.
Invoice\InvoiceHeader-\RemitToParty\Location\ID Text 100 0/1   Supplier Remit to Address Code.
Invoice\InvoiceHeader-\PurchaseOrderReference-\DocumentID\ID Text 100 1/1   PO Number from Work Order. If none has been entered on the Work Order, then the field will be blank.
Invoice\InvoiceHeader-\ExtendedAmount(currencyID=”ISOCurrency code”) Decimal 0/1  

Gross Invoice Amount.

Invoice Amount prior to any adjustments.

Invoice\InvoiceHeader-\TotalAmount(currencyID=”ISOCurrencycode”) Decimal 1/1  

Net Invoice Amount.

Invoice Amount inclusive of any adjustments.

Invoice\InvoiceHeader\Tax- \Amount(currencyID=”ISO Currencycode”) Decimal 1/1  

Invoice Adjustment Amount.

Total of all adjustments applied to the invoice.

Invoice\InvoiceHeader\Tax\TaxDetails\TaxLine\AdjustmentName

Text

100

0/*

Example:

State Tax

Name of adjustment (tax).

Required if site config 'Expense Code Adjustment' is enabled for the global site for the buyer.

Invoice\InvoiceHeader\Tax\TaxDetails\TaxLine\Adjustment%

Decimal

0/1

Example:

10.0

Percentage of adjustment (tax).

Required if site config 'Expense Code Adjustment' is enabled for the global site for the buyer.

Invoice\InvoiceHeader\Tax\TaxDetails\TaxLine\ExpenseAmount

Decimal

Conditional

Example:

9.50

Amount of Expense.

Only applicable if site config Expense Code Adjustment is enabled for the global site for the buyer. Also, only appears for adjustments with Calculation Entry Method 'Net Expense Amount' selected.

Invoice\InvoiceHeader\Tax\TaxDetails\TaxLine\ExpenseTotal

Decimal

Conditional

Example:

950.00

Total expense amount for invoice.

Only applicable if site config Expense Code Adjustment is enabled for the global site for the buyer. Also, only appears for adjustments with Calculation Entry Method 'Gross Expense Total' selected.

Invoice\InvoiceHeader\Charge-\CurrencyExchangeRate-\SourceCurrencyCode Text 3 1/1

Examples are:

USD

CAD

GBP

EUR

Currency
Invoice\InvoiceHeader\UserArea\WorkerData\FirstName Text 100 1/1   Worker’s First Name.
Invoice\InvoiceHeader\UserArea\WorkerData\LastName Text 100 1/1   Worker’s Last Name.
Invoice\InvoiceHeader\UserArea\WorkerData\Person\PersonId Text 24 1/1   Worker’s unique Fieldglass Person ID.
Invoice\InvoiceHeader\UserArea\WorkerData\JobSeeker\JobseekerdId Text 16 1/1   Worker’s Fieldglass Job Seeker ID.
Invoice\InvoiceHeader\UserArea\WorkerData\Worker\WorkerId Text 16 1/1   Worker’s Fieldglass Worker ID.
Invoice\InvoiceLine-\InvoiceSubLine\DocumentReference(type=”token”)\DocumentDateTime Date 1/1

Example:

Date in “mm/dd/yyyy” format

Week Ending Date for Time Sheet.

Create Date for Expense Sheet, Misc Invoice, Credit Debit Memo, and SOW Invoice.

Invoice\InvoiceLine-\InvoiceSubLine\UserArea\BusinessUnit\BusinessUnitCode Text 100 1/1 Valid Fieldglass Business Unit List Business Unit Code.
Invoice\InvoiceLine-\InvoiceSubLine\UserArea\BusinessUnit\BusinessUnitName Text 100 1/1 Valid Fieldglass Business Unit List Business Unit Name.
Invoice\InvoiceLine-\InvoiceSubLine\UserArea\CostCenter\CostCenterCode Text 200 1/1 Valid Fieldglass Cost Center List Cost Center Code.
Invoice\InvoiceLine-\InvoiceSubLine\UserArea\CostCenter\CostCenterName Text 200 1/1 Valid Fieldglass Cost Center List Cost Center Name.
Invoice\InvoiceLine-\InvoiceSubLine\Item\ItemID\ID Text 100 1/1  

If Time Sheet, then the Task Code will be downloaded.

If Expense Sheet, then the Expense Code will be downloaded.

If SOW Invoice, then SOW Characteristic type is downloaded. Possible values:

Schedule

Event

Fee

If Credit Debit Memo for:

Timesheet – TS

Expense Sheet – ES

SOW – PS

For Miscellaneous invoice - MI

Invoice\InvoiceLine-\InvoiceSubLine\Item\Description Text 100 1/1   Task or Expense Name.
Invoice\InvoiceLine-\InvoiceSubLine\UserArea\GeneralLedger\GeneralLedgerCode Text 100 1/1 Valid Fieldglass General Ledger Account List

GL Account Code.

This field is mutually exclusive with Segmented Object Detail field.

Invoice\InvoiceLine-\InvoiceSubLine\UserArea\SegmentedObjectDetailCode Text 2000 1/*

Examples:

SOD1

Segmented Object Detail name associated with Segmented Object Detail value. 
Invoice\InvoiceLine-\InvoiceSubLine\UserArea\SegmentedObjectDetail Text 2000 1/*

Examples:

IS|Admin|12001

IS-Admin-12001

IS;Admin;12001

IS:Admin:12001

Segmented Object Detail string.  Segments will be separated by delimiter on the Segmented Object.

Valid delimiters are colon (:), semi-colon (;), pipe (|), and dash (-).

Required if 'Segmented object detail' configuration set.

This field is mutually exclusive with GL Account fields

More than one string can appear for a cost center. 

Invoice\InvoiceLine-\InvoiceSubLine-\TotalAmount(currencyID=”ISOCurrency code”) Decimal 1/1   Line Item Amount.
Invoice\InvoiceLine-\InvoiceSubLine-\Quantity(unitCode=”HR”) Number 1/*  

For Time Sheet Invoices, the value will equal the Time Sheet Hours.

For Expense Sheets, Misc Invoices, SOW Invoices, and amount-based Credit Debit Memos, the value will be 1.

Invoice\InvoiceLine-\InvoiceSubLine\UnitPrice-\Amount(currencyID=”ISO Currencycode”) Decimal 1/1  

For Time Sheet Invoices, the value will equal the rate paid by the Supplier.

For Expense Sheets, Misc Invoices, SOW Invoices, and amount-based Credit Debit Memos, the value will be the same as the Total Amount for the Line Item.

Invoice\InvoiceLine-\InvoiceSubLine\UnitPrice\Code Text 100 1/1  

Rate Category Code.

Only populated for Time Sheet Invoices.

Invoice\InvoiceLine-\InvoiceSubLine\UnitPrice-\PerQuantity(unitCode=”HR”) Text 3 1/1

Valid values are:

Hr

Day

Mo

EA

For Time Sheet Invoices, the value will be the Rate Unit.

For Expense Sheets, Misc Invoices, SOW Invoices, and amount-based Credit Debit Memos, the value will be 'EA'.

Invoice\InvoiceLine-\InvoiceSubLine\UserArea\CustomFields\CustomField\Module Text 100 1/1   Module name for which the Custom Field is associated.
Invoice\InvoiceLine-\InvoiceSubLine\UserArea\CustomFields\CustomField\Name Text 100 1/1  

Custom Field Name.

Modules include:

Statement of Work

SOW Revision

SOW Worker

Worker

SOW Invoice

Invoice\InvoiceLine-\InvoiceSubLine\UserArea\CustomFields\CustomField\Value Dependent on Custom Field Type 0/1  

Custom Field Value.

Modules include:

Statement of Work

SOW Revision

SOW Worker

Worker

SOW Invoice

Contract ID

Text

Alphanumeric, 16 characters

Six-letter company code, then CT, and numerical string

EXAMPLE: CRPACT00000921

When the SOW Invoice is for an SOW that uses a Contract, the Contract ID will output.

External Contract ID

Text

Alphanumeric, 24 characters

When the SOW Invoice is for an SOW that uses a Contract, the External Contract ID will output.

The Invoice Supplier XML Download’s XML Schema Definition is also available at the link below if that format is preferred for the description of the connector: https://www.us.fieldglass.cloud.sap/schema/InSiteInvoice.xsd

Unique Identifier

  • Invoice ID field

Assumptions/Tips

  • This download won't change the status of any invoices in Pending SAP Quality Review status.

  • This download will also pull SOW Line Item revision invoices.

  • Non-billable items are not included in download.

  • This download will also pull Holdback revision invoices.

  • This download will also pull the expense sheet revised invoice and its associated reversed invoice.

  • The system includes any inactive cost centers associated with the document.

Custom Fields

In order to include Custom Fields in this download, you must contact your Fieldglass Representative. Custom coding will be required in order to include them in the file.