Invoices Import

Overview

The Invoice Import process read files from the ./Incoming/Invoices/ SFTP folder. The files are moved to the archive folder located at ./Incoming/Archive/Invoices/ before being processed in alphanumeric order.

When including image scan attachments or file attachments, the invoice CSV and any relevant attachment files must be compressed together into a ZIP file. That ZIP file is what should be deposited on the SFTP folder. For more information, see Coupa Scan One Integration.

You can load invoice files of any size as long as each ZIP file is less than 8MB. For Fast Invoice Entry, the limit is 2MB.

Note: If you need to load multiple invoices, combine the invoices into a single file. As every instance has a limited number of resources, loading multiple files can cause performance degradation.

For example, your Supplier needs to load invoices 1A, 1B, and 1C. Instead of loading each invoice as an individual file, combine the invoices into a single file in order to ensure optimal speed and results while processing.

Unique Keys

Uniquely identifying an invoice requires the Invoice Number and one of Supplier Name or Supplier Number.

Validations

The loader looks up supplier based first on number, then based on name. It then uses supplier and invoice number to look up the invoice.

Attachment Notes

When including file attachments, you need to compress the invoice CSV and the associated attachment files together in a ZIP file. The invoice CSV needs to be at the top level of the ZIP. You load that ZIP file through the integration.

  • The attachment files are specified in the CSV. Each Attachmentfield can specify one file for your invoice file attachments. Use the syntax: file://<filename.ext> (for example, file://sample.pdf). Do not enclose the file name in quotation marks. If your ZIP file structure uses sub-directories for your files, then specify the path to the file using syntax like: file://FolderA/FolderB/sample.pdf.
  • For URL attachments, use http:// or https://<www.example.com> (for example, http://www.coupa.com/resource/x12345.pdf).
  • Any other format is loaded as a TEXT attachment.
Note: For invoice_date and original_invoice_date, please provide the date only. Avoid adding the timestamp to avoid issues related to credit note linking.

Invoice

Field NameRequired FieldUnique?Field TypeField DescriptionPossible Values
InvoiceNoNoType of header row.
Invoice Number*YesNostring(40)Invoice Number this allocation belongs to
Supplier NameNoNoSupplier Name
Supplier NumberNoNoSupplier Number
StatusNoNostring(50)Statusnew, ap_hold, draft, on_hold, pending_receipt, rejected, abandoned, disputed, pending_approval, booking_hold, pending_action, approved, voided, processing, invalid, pending_action, payable_adjustment
Invoice Date*YesNodatetimeInvoice Date
Submit For Approval?NoNoSubmit For Approval?
Handling AmountNoNodecimal(32,4)Handling Amount
Misc AmountNoNodecimal(32,4)Misc Amount
Shipping AmountNoNodecimal(32,4)Shipping Amount
Line Level Taxation*YesNobooleanLine Level Taxation
Tax AmountNoNodecimalTax Amount
Tax RateNoNofloatTax Rate
Tax CodeNoNostring(255)Tax Code
Tax Rate TypeNoNoTax Rate Type
Supplier NoteNoNotextSupplier Note
Payment TermsNoNoPayment Terms
Shipping TermsNoNoShipping Terms
Requester EmailNoNostringRequester Email
Requester NameNoNostringRequester Name
Requester Lookup NameNoNostringRequester Lookup Name
Chart of Accounts*YesNoChart of Accounts
CurrencyNoNoCurrency. Required when submit_for_approval is true.
Contract NumberNoNoContract Number
Image Scan FilenameNoNoImage Scan Filename
Image Scan URLNoNostring(255)Image Scan URL
Local Currency NetYesNodecimal(32,4)Net Amount in local currency
Taxes In Origin Country CurrencyYesNodecimal(32,4)Tax Amount in local currency
Local Currency GrossYesNodecimal(32,4)Gross Amount in local currency
Delivery NumberNoNostring(255)Delivery Number
Delivery DateNoNodatetimeDelivery Date
Margin SchemeNoNostring(255)Margin Scheme Descriptionmargin_scheme_catalog_codes
Invoice Issuance TimeNoNostring(255)Invoice Issuance Time
Cash Register OperatorNoNostring(255)Cash Register Operator
Means Of PaymentNoNostring(255)Means Of Payment
Unique Identification Code Of Cash ReceiptNoYesstring(255)Identification Code Of Cash Receipt
Security Code Of IssuerNoNostring(255)Security Code Of Issuer
Cash Accounting Scheme ReferenceNoNostring(255)Non-blank Value Indicates Cash Accounting Scheme
Exchange RateNoNodecimal(30,9)Exchange Rate
Gross TotalNoNodecimalGross Total. This field is for future use. Any value included in the field is not used, as this field is currently automatically calculated.
Invoice Control TotalNoNodecimal'Invoice Control Total' should be equal to 'Invoicing Total With Taxes' (i.e Total + [Invoice Taxes + Linex Taxes + Charge Taxes])
Late Payment PenaltiesNoNostring(255)Late Payment Penalties
Credit ReasonNoNostring(#<Proc:0x00007f320a824a18 /home/jenkins/workspace/DIFFY/api_import_fields_report/engines/invoicing/app/models/concerns/invoices/header_full_validations.rb:28 (lambda)>)The reason of creating the creditcredit_reason_catalog_codes
Early Payment ProvisionsNoNostring(255)Early Payment Provisions
Pre-Payment DateNoNodatetimePre-Payment Date
Self Billing ReferenceNoNostring(191)Self Billing Reference - Used as billing reference in compliant countries like The Netherlands
Discount AmountNoNodecimal(32,4)Discount Amount that supplier can provide - Used in compliant countries like The Netherlands
Reverse Charge ReferenceNoNostring(255)Reverse Charge Reference
Discount %NoNofloatDiscount %
Credit Note differences with Original InvoiceNoNodecimal(30,4)The difference between invoice total & VAT total with credit note while creating a credit note for compliant countries
Original Value of SupplyNoNodecimal(46,20)Original Value of Supply
Correct Value of SupplyNoNodecimal(46,20)Correct Value of Supply
Customs Declaration NumberNoNostring(60)Customs Declaration Number
Customs OfficeNoNotextCustoms Office
Customs Declaration DateNoNodatetimeCustoms Declaration Date
Payment Order ReferenceNoNostring(255)A code given by banks to use it instead of a bank account transfer.
Payment Order NumberNoNostring(255)Payment Order Number
Resolution NumberNoNostring(255)Resolution Number
Amount of advance payment receivedNoNodecimal(30,4)Amount of advance payment received
Type of RelationshipNoNostring(10)MX only - Relationship (Credit Memo, Debit Note, etc) of this document to the associated invoice. Selected from CFDI catalog c_TipoRelacion
Invoice Reference Number (IRN)NoNostring(255)The IRN is a unique ID generated using SHA256 algorithm and based on the parameters GST reg number, document number, financial year, and document type
SeriesNoNostring(30)Series
Folio NumberNoNostring(255)Folio Number
Buyer Representative NameNoNostring(255)Buyer Representative Name
Supplier Representative NameNoNostring(255)Supplier Representative Name
Payment Schedule TermsNoNostring(255)Payment Schedule Terms
Transaction UUIDNoNostring(50)Unique identifier created by the tax authority's system for a specific document
Transaction Notification DateNoNodatetimeDate on which the invoice is received from the tax authority's system
VAT Chargeability SystemNoNostring(255)VAT Chargeability Systemvat_chargeability_system_codes
Customer Account NumberNoNostring(255)Customer Account Number
Ship To NameNoNoShip To Name
Ship To IdNoNoShip To Id
Ship To AttentionNoNoShip To Attention
Ship To Street1NoNoShip To Street1
Ship To Street2NoNoShip To Street2
Ship To CityNoNoShip To City
Ship To StateNoNoShip To State
Ship To Postal CodeNoNoShip To Postal Code
Ship to Country CodeNoNoShip to Country Code
Ship to Country NameNoNoShip to Country Name
Ship to Location CodeNoNoShip to Location Code
Ship to VAT IDNoNoShip to VAT ID
Ship to Local Tax NumberNoNoShip to Local Tax Number
Bill To Address IdNoNoBill To Address Id
Bill To Address Legal Entity NameNoNoBill To Address Legal Entity Name
Bill To Address StreetNoNoBill To Address Street
Bill To Address CityNoNoBill To Address City
Bill To Address Postal CodeNoNoBill To Address Postal Code
Bill To Address Country CodeNoNoBill To Address Country Code
Bill To Address Location CodeNoNoBill To Address Location Code
Bill To Address VAT IDNoNoBill To Address VAT ID
Bill To Address Local Tax NumberNoNoBill To Address Local Tax Number
Override Tax Country CodeNoNoOverride Tax Country Code
Remit To Address Street1NoNoRemit To Address Street1
Remit To Address Street2NoNoRemit To Address Street2
Remit To Address CityNoNoRemit To Address City
Remit To Address StateNoNoRemit To Address State
Remit To Address Postal CodeNoNoRemit To Address Postal Code
Remit To Address Country CodeNoNoRemit To Address Country Code
Remit To CodeNoNoRemit To Code
Remit To Tax PrefixNoNoRemit To Tax Prefix
Remit To Tax NumberNoNoRemit To Tax Number
Remit To Tax Country CodeNoNoRemit To Tax Country Code
Remit To VAT IDNoNoRemit To VAT ID
Remit To Local Tax NumberNoNoRemit To Local Tax Number
Invoice From Address Street1NoNoInvoice From Address Street1
Invoice From Address Street2NoNoInvoice From Address Street2
Invoice From Address CityNoNoInvoice From Address City
Invoice From Address StateNoNoInvoice From Address State
Invoice From Address Postal CodeNoNoInvoice From Address Postal Code
Invoice From Address Country CodeNoNoInvoice From Address Country Code
Invoice From CodeNoNoInvoice From Code
Ship From Address Street1NoNoShip From Address Street1
Ship From Address Street2NoNoShip From Address Street2
Ship From Address CityNoNoShip From Address City
Ship From Address StateNoNoShip From Address State
Ship From Address Postal CodeNoNoShip From Address Postal Code
Ship From Address Country CodeNoNoShip From Address Country Code
Ship From CodeNoNoShip From Code
Original invoice numberYesNostring(#<Proc:0x00007f320a803250 /home/jenkins/workspace/DIFFY/api_import_fields_report/engines/compliant_invoicing/app/models/concerns/compliant_invoice_header_only_validations.rb:45 (lambda)>)Original invoice number. Available for credit notes only. This field is required when the presentation requires it.
Original invoice dateYesNodatetimeOriginal invoice date. Available for credit notes only. This field is required when the presentation requires it.
Is Credit NoteNoNobooleanIf any value is put in this column, Coupa will make the document a Credit Note.
Disputed Invoice NumberNoNoDisputed Invoice Number
Dispute Resolution Credit Note NumberNoNoThis is the reference to a full adjustment credit note which has been processed to balance disputed invoice identified by Disputed Invoice Number field.
Supplier Tax NumberNoNoSupplier Tax Number
Buyer Tax NumberNoNoBuyer Tax Number
Date of Discovery of Facts Decisive for CorrectionNoNodatetimeDate of Discovery of Facts Decisive for Correction
Place Of SupplyNoNostring(255)Place Of Supply
Split Payment MechanismNoNobooleanSplit Payment Mechanism
Endorsement On InvoicesNoNostring(255)Endorsement On Invoices
New Means Of TransportNoNostring(255)New Means Of Transport
Place Of IssuanceNoNostring(255)Place Of Issuance
Amount Of Advance PaymentNoNodecimal(46,20)Amount Of Advance Payment
Supplier Invoice Issuer NameNoNostring(255)Supplier Invoice Issuer Name
Supplier Invoice Reviewer NameNoNostring(255)Supplier Invoice Reviewer Name
Supplier Payment Collector NameNoNostring(255)Supplier Payment Collector Name
Signed QR CodeNoNotextSigned QR Code
State Tax ID NumberNoNostring(255)State Tax ID Number
State Tax ID Number for Substitute TaxpayerNoNostring(255)State Tax ID Number for Substitute Taxpayer
Municipality Tax ID NumberNoNostring(255)Municipality Tax ID Number
Serial Code of Fiscal InvoiceNoNostring(255)Serial Code of Fiscal Invoice
Verification CodeNoNostring(255)Verification Code
Type of DocumentNoNostring(255)Type of Documenttype_of_document_catalog_codes
Protocol NumberNoNostring(255)Protocol Number
Nature of OperationNoNostring(255)Nature of Operation
Type of OperationNoNostring(255)Type of Operation
Freight TypeNoNostring(255)Freight Type
Vehicle License PlateNoNostring(255)Vehicle's License Plate
National Enrollment of ConveyorNoNostring(255)National Enrollment of Conveyor
Volume AmountNoNostring(255)Volume Amount
Volume Gross WeightNoNostring(255)Volume Gross Weight
Volume Liquid WeightNoYesstring(255)Volume Liquid Weight
Volume BrandNoNostring(255)Volume Brand
Volume TypeNoNostring(255)Volume Type
Volume NumberingNoNostring(255)Volume Numbering
Payment Agreement NotesNoNoReasonInsightPayment Agreement Notes
Attachment 1NoNoAttachment 1
Attachment 2NoNoAttachment 2
Attachment 3NoNoAttachment 3
Attachment 4NoNoAttachment 4
Attachment 5NoNoAttachment 5
Attachment 6NoNoAttachment 6
Attachment 7NoNoAttachment 7
Attachment 8NoNoAttachment 8
Attachment 9NoNoAttachment 9
Attachment 10NoNoAttachment 10
Ship To Street3NoNoShip To Street3
Ship To Street4NoNoShip To Street4
Remit To Address Street3NoNoRemit To Address Street3
Remit To Address Street4NoNoRemit To Address Street4
Invoice From Address Street3NoNoInvoice From Address Street3
Invoice From Address Street4NoNoInvoice From Address Street4
Ship From Address Street3NoNoShip From Address Street3
Ship From Address Street4NoNoShip From Address Street4
Invoice ChargeNoNoInvoice Charge
Line NumberNoNoThe child object's Line Number, used to add a tagging on a line
Type*YesNoType
DescriptionNoNoThe Tagging's description
Total*YesNoInvoice Charge Total
PercentNoNoPercent
Account NameNoNoName of Account for this Allocation
Account CodeNoNoAccount Code for this Allocation
Billing NotesNoNoAccount Billing Notes
Account Segment 1NoNoAccount Segment 1
Account Segment 2NoNoAccount Segment 2
Account Segment 3NoNoAccount Segment 3
Account Segment 4NoNoAccount Segment 4
Account Segment 5NoNoAccount Segment 5
Account Segment 6NoNoAccount Segment 6
Account Segment 7NoNoAccount Segment 7
Account Segment 8NoNoAccount Segment 8
Account Segment 9NoNoAccount Segment 9
Account Segment 10NoNoAccount Segment 10
Account Segment 11NoNoAccount Segment 11
Account Segment 12NoNoAccount Segment 12
Account Segment 13NoNoAccount Segment 13
Account Segment 14NoNoAccount Segment 14
Account Segment 15NoNoAccount Segment 15
Account Segment 16NoNoAccount Segment 16
Account Segment 17NoNoAccount Segment 17
Account Segment 18NoNoAccount Segment 18
Account Segment 19NoNoAccount Segment 19
Account Segment 20NoNoAccount Segment 20
Budget Period NameNoNoName of the existing budget period this falls under
Line Tax AmountNoNoLine Tax Amount
Line Tax RateNoNoLine Tax Rate
Line Tax CodeNoNoLine Tax Code
Line Tax Rate TypeNoNoLine Tax Rate Type
Exempt from Tax?NoNoUsed for compliant invoicing to specify line is exempt from taxes
Reverse Charge?NoNoUsed for compliant invoicing to specify tax is a reverse charge
Out of Scope?NoNoUsed for compliant invoicing to specify tax is an out of scope
Line Tax LocationNoNoLine Tax Location
Line Tax DescriptionNoNoLine Tax Description
Line Tax Supply DateNoNoLine Tax Supply Date
Line Nature of TaxNoNoLine Nature of Tax
Line Product Tax ClassificationNoNoLine Product Tax Classification
Line Product Tax Classification(cClasTrib)NoNoLine Product Tax Classification (cClasTrib)
Line Tax Amount(vDevTrib)NoNoLine Tax Amount Returned (vDevTrib)
Line Tax Amount(vCredPres)NoNoLine Presumed Credit Amount (vCredPres)
Line Tax Amount Returned(vDif)NoNoLine Tax Amount Deferred (vDif)
Invoice LineNoNoInvoice Line
Supplier Part NumberNoNoSupplier Part Number
Auxiliary Part NumberNoNoAuxiliary Part Number
Price*YesNoPrice
QuantityNoNoQuantity
Bulk PriceNoNoPrice of the bulk material
Bulk Price QtyNoNoQuantity of the bulk material
Bulk Price UOMNoNoUOM of the bulk material
Bulk Price Conversion NumeratorNoNoConversion Numerator of the Bulk Price UOM
Bulk Price Conversion DenominatorNoNoConversion Denominator of the Bulk Price UOM
Unit of Measure*YesNoUnit of Measure
CategoryNoNoCategory
SubcategoryNoNoSubcategory
DeductibilityNoNoDeductibility
PO NumberNoNoPO Number
PO Line NumberNoNoPO Line Number
Net WeightNoNoNet Weight
Weight UOMNoNoWeight UOM
Price per WeightNoNoPrice per Weight
Match ReferenceNoNoThree-way match attribute to connect with Receipt and Invoice Header
Delivery Note NumberNoNoDelivery Note Number
Original Date Of SupplyNoNoOriginal Date Of Supply
Commodity NameNoNoName of the commodity
HSN/SACNoNoHSN/SAC
UNSPSCNoNoUNSPSC
Adjustment TypeNoNoAdjustment Type
Fiscal CodeNoNoFiscal Code
Classification of GoodsNoNoClassification of Goods
Municipality Taxation CodeNoNoMunicipality Taxation Code
Item BarcodeNoNoItem Barcode
Customer Accounting?NoNoUsed to specify if tax is customer accounting
Contract NameNoNoContract Name
Account AllocationNoNoIndication its an Invoice Line Allocation Record
AmountNoNoNumerical Amount of the allocation in Invoice Line's currency
PercentNoNoAllocation's Percentage of Invoice Line
TagNoNoTag
Object Number*YesNoThe parent object's number, used to add a tagging to a header level object
Name*YesNoThe Tag's name
System TagNoNoSystem Tag, defaults to false if not specified

Invoice Charge Columns

Column Name Description Req'd Unique Type Allowable Values
Invoice ChargeIndicates the type of header rowNoNo-Invoice Charge
Invoice Number*Invoice NumberYesNostring(40)any
Supplier NameSupplier NameNoNostring(100)Must exist in Coupa
Supplier NumberSupplier NumberNoNostring(255)Must exist in Coupa
Line NumberInvoice Line Number this allocation belongs toNoNointeger(11)any
Type*TypeYesNostring(255)InvoiceShippingCharge, InvoiceHandlingCharge, InvoiceMiscCharge
DescriptionDescriptionNoNostring(1550)any
Total*Invoice Charge TotalYesNodecimal(30,4)any
PercentPercentNoNodecimal(16,10)any
Line Tax AmountLine Tax AmountNoNodecimal(32,4)any
Tax RateTax RateNoNodecimal(16,10)any
Tax CodeTax CodeNoNostring(255)Must exist in Coupa
Tax Rate TypeTax Rate TypeNoNostring(255)Must exist in Coupa
Line Tax LocationLine Tax LocationNoNostring(255)any
Line Tax DescriptionLine Tax DescriptionNoNostring(255)any
Line Tax Supply DateLine Tax Supply DateNoNodatetimeany
Account NameName of Account for this AllocationNoNostring(1024)any
Account CodeAccount Code for this AllocationNoNostring(1024)any
Billing NotesAccount Billing NotesNoNotextany
Account Segment 1Account Segment 1NoNostring(100)any
Account Segment 2Account Segment 2NoNostring(100)any
Account Segment 3Account Segment 3NoNostring(100)any
Account Segment 4Account Segment 4NoNostring(100)any
Account Segment 5Account Segment 5NoNostring(100)any
Account Segment 6Account Segment 6NoNostring(100)any
Account Segment 7Account Segment 7NoNostring(100)any
Account Segment 8Account Segment 8NoNostring(100)any
Account Segment 9Account Segment 9NoNostring(100)any
Account Segment 10Account Segment 10NoNostring(100)any
Account Segment 11Account Segment 11NoNostring(100)any
Account Segment 12Account Segment 12NoNostring(100)any
Account Segment 13Account Segment 13NoNostring(100)any
Account Segment 14Account Segment 14NoNostring(100)any
Account Segment 15Account Segment 15NoNostring(100)any
Account Segment 16Account Segment 16NoNostring(100)any
Account Segment 17Account Segment 17NoNostring(100)any
Account Segment 18Account Segment 18NoNostring(100)any
Account Segment 19Account Segment 19NoNostring(100)any
Account Segment 20Account Segment 20NoNostring(100)any
Budget Period NameName of the existing budget period this falls underNoNostring(100)any

Invoice Line Columns

For invoice lines where the PO Number is specified, you must also provide PO Line Number or Supplier Part Number .

Column Name Description Req'd Unique Type Allowable Values
Invoice LineIndicates the type of header rowNoNo-Invoice Line
Invoice Number*Invoice Number*YesNostring(40)any
Supplier NameSupplier NameNoNostring(100)Must exist in Coupa
Supplier NumberSupplier NumberNoNostring(255)Must exist in Coupa
Line NumberLine NumberNoYesinteger(11)any
DescriptionThe invoice line description, usually taken from the description of the item.YesNostring(1550)
Supplier Part NumberSupplier Part NumberNoNostring(255)
Auxiliary Part NumberAuxiliary Part NumberFALSEFALSEstring(255)any
Price*The price of the order line item.YesNodecimal(46,20)
QuantityThe quantity of the order line item.NoNodecimal(30,6)
Bulk PriceBulk PriceNoNodecimal(30,6)any
Bulk Price QtyBulk Price QtyNoNodecimal(30,6)any
Bulk Price UOMBulk Price UOMNoNoint(11)any
Bulk Price Conversion NumeratorConversion Numerator of the Bulk Price UOMNoNoany
Bulk Price Conversion DenominatorConversion Denominator of the Bulk Price UOMNoNoany
Line Tax AmountOnly has a value if the header item line level taxation is set to True.NoNodecimal(32, 4)
Line Tax RateThe tax rate indicated on the invoice line. Only has a value if the header item line level taxation is set to True.NoNodecimal(16,10)any
Line Tax CodeThe tax rate code for the line tax rate. Must match an existing tax rate code within Coupa. Only has a value if the header item line level taxation is set to True.NoNostring(255)Must exist in Coupa
Line Tax Rate TypeLine Tax Rate TypeNoNostring(255)Must exist in Coupa
Exempt from Tax?Used for compliant invoicing to specify line is exempt from taxesNoNoboolean
Reverse Charge?Used for compliant invoicing to specify tax is a reverse chargeNoNoboolean
Line Tax LocationOnly has a value if the header item line level taxation is set to True.NoNostring(255)
Line Tax DescriptionThe line level tax description.NoNostring(255)
Line Tax Supply DateThe line level tax supply date in the format YYYY-MM-DDTHH:MM:SS+HH:MM.NoNodatetimeYYYY-MM-DDTHH:MM:SS+HH:MM
Line Nature of TaxLine Nature of TaxNoNo
Unit of Measure*The unit of measure code. it must already exist in Coupa.YesNostring(6)
CategoryCategroyNoNostring(255)any
SubcategorySubcategoryNoNostring(255)any
DeductibilityDeductibilityNoNostring(255)any
PO NumberThe number given to the corresponding purchase order within Coupa (if any).NoNostring(20)
PO Line NumberThe line number of the corresponding purchase order line (if any).NoNostring(255)
Account NameThe account name from Coupa.NoNostring(1024)any
Account CodeThe account code from Coupa. All segments are concatenated with a hyphen ( - ).NoNostring(1024)any
Billing NotesA text field for adding notes to a billing line.NoNotext(65,535)any
Account Segment 1Account Segment 1NoNostring(100)any
Account Segment 2Account Segment 2NoNostring(100)any
Account Segment 3Account Segment 3NoNostring(100)any
Account Segment 4Account Segment 4NoNostring(100)any
Account Segment 5Account Segment 5NoNostring(100)any
Account Segment 6Account Segment 6NoNostring(100)any
Account Segment 7Account Segment 7NoNostring(100)any
Account Segment 8Account Segment 8NoNostring(100)any
Account Segment 9Account Segment 9NoNostring(100)any
Account Segment 10Account Segment 10NoNostring(100)any
Account Segment 11Account Segment 11NoNostring(100)any
Account Segment 12Account Segment 12NoNostring(100)any
Account Segment 13Account Segment 13NoNostring(100)any
Account Segment 14Account Segment 14NoNostring(100)any
Account Segment 15Account Segment 15NoNostring(100)any
Account Segment 16Account Segment 16NoNostring(100)any
Account Segment 17Account Segment 17NoNostring(100)any
Account Segment 18Account Segment 18NoNostring(100)any
Account Segment 19Account Segment 19NoNostring(100)any
Account Segment 20Account Segment 20NoNostring(100)any
Budget Period NameName of the existing budget period this falls underNoNostring(100)any
Net WeightThe net weight of the order line item.NoNodecimal(30,6)
Weight UOMThe unit of measure code of weight. It must already exist in Coupa.NoNostring(6)
Price per WeightThe price per weight of the order line item.NoNodecimal(30,6)
Match ReferenceThree-way match attribute to connect with Receipt and Invoice HeaderNoNostring(255)
Delivery Note NumberDelivery Note NumberNoNostring(255)
Commodity NameName of the commodityNoNostring(255)
HSN/SACHSN/SACNoNostring(255)
UNSPSCUNSPSCNoNostring(255)
Adjustment TypeAdjustment TypeNoNostring(255)
Customer Accounting?Used to specify if tax is customer accountingNoNoboolean
Original Date Of SupplyOriginal Date Of SupplyNoNodatetimeYYYY-MM-DDTHH:MM:SS+HH:MM

Invoice Account Allocation Columns

Column Name Description Req'd Unique Type Allowable Values
Account AllocationIndication its an Invoice Line Allocation RecordNoNo-Account Allocation
Invoice Number*Invoice Number*YesNostring(40)any
Invoice Line Number*Invoice Line NumberNoNointeger(11)any
AmountNumerical Amount of the allocation in Invoice Line's currencyNoNodecimal(32,4)any
PercentAllocation's Percentage of Invoice LineNoNodecimal(16,10)any
Budget Period NameName of the existing budget period this falls underNoNostring(100)any
Account NameAccount NameNoNostring(1024)any
Account CodeAccount CodeNoNostring(1024)any
Account Segment 1Account Segment 1NoNostring(100)any
Account Segment 2Account Segment 2NoNostring(100)any
Account Segment 3Account Segment 3NoNostring(100)any
Account Segment 4Account Segment 4NoNostring(100)any
Account Segment 5Account Segment 5NoNostring(100)any
Account Segment 6Account Segment 6NoNostring(100)any
Account Segment 7Account Segment 7NoNostring(100)any
Account Segment 8Account Segment 8NoNostring(100)any
Account Segment 9Account Segment 9NoNostring(100)any
Account Segment 10Account Segment 10NoNostring(100)any
Account Segment 11Account Segment 11NoNostring(100)any
Account Segment 12Account Segment 12NoNostring(100)any
Account Segment 13Account Segment 13NoNostring(100)any
Account Segment 14Account Segment 14NoNostring(100)any
Account Segment 15Account Segment 15NoNostring(100)any
Account Segment 16Account Segment 16NoNostring(100)any
Account Segment 17Account Segment 17NoNostring(100)any
Account Segment 18Account Segment 18NoNostring(100)any
Account Segment 19Account Segment 19NoNostring(100)any
Account Segment 20Account Segment 20NoNostring(100)any

Tag Columns

Column Name Description Req'd Unique Type Allowable Values
TagIndicates the type of header rowNoNo-Tag
Object Number*The parent object's number, used to add a tagging to a header level objectYesNostring(30)any
Line NumberThe invoice lineNoNoint(11)any
Name*The Tag's nameYesNostring(30)any
DescriptionDescription of the tagNoNotextany
System TagSystem Tag, defaults to false if not specifiedNoNobooleanYes/No

Invoice Tax Columns

Column Name Description Req'd Unique Type Allowable Values
Invoice Tax LineIndicates the type of header rowNoNo-Invoice Tax Line
Invoice Number*Invoice NumberNoNostring(40)any
Invoice Line NumberInclude if line level taxNoNoint(11)any
Invoice Charge Number

Invoice Charge Number tracks the order of the charges. Typically, shipping charge is 1, handling charge is 2, and misc charge is 3. Numbering is not strictly enforced the line numbers to a specific type of charge.

The invoice charge number does not map to an invoice line number. All charges belong to the invoice itself.

An invoice can have shipping, handling, and/or misc charges. Each charge is a separate object in the database. Tax lines can be added against each charge.

NoNointeger(11)any
Line NumberLine order for multiple tax lines, 1 if a single tax lineNoNoint(11)any
Tax AmountThe amount of the taxYesnodecimal(32,4)any
Tax RateTax RateNoNodecimal(16,10)any
Tax CodeTax CodeNoNostring(255)Must exist in Coupa
Tax Rate TypeTax Rate TypeNoNostring(255)any
Tax LocationTax LocationNoNostring(255)any
Tax DescriptionTax DescriptionNoNostring(255)any
Tax Supply DateTax Supply DateNoNodatetimeany
Taxable AmountCompliance specific field for information onlyNoNodecimal(32,4)any
TypeDetermines the type of tax. No value specified = TaxLineNoNostring(255)TaxLine, WithholdingTaxLine
Base AmountValue of the taxable amount if different than the line totalNoNodecimal(30,4)Any

Invoice Header Assignment

Field NameRequired FieldUnique?Field TypeField DescriptionPossible Values
Document*YesNoInvoiceHeader Id
Assignee Type*YesNostring(255)Assignee Type
Assignee*YesNoAssignee
CommentNoNoComment
Supplier NameNoNoSupplier Name
Supplier NumberNoNoSupplier Number
Invoice NumberNoNoInvoice Number
Invoice DateNoNoInvoice Date
ActionNoNoAction, possible values are Assign and Unassign. Default to Assign