Invoices Export

Overview

The Invoice Export process from Coupa queries for all Invoices that are approved and have not been exported. The frequency of the integration run is once every hour. The generated files will be placed into ./Outgoing/Invoices. Once the files are successfully placed into the sFTP folder the invoices will be marked/flagged as exported.

Export of these records is included as a Standard CSV Export.

Voids

Voided Invoices can also be exported and will be placed into ./Outgoing/Invoices/. Currently this is the only change to an Invoice that is captured in the integration.

Row Types

The invoice export file can contains the following types of rows, each with its own column format:

  • Invoice Header
  • Invoice Line
  • Invoice Line Allocation
  • Invoice Charge
  • Invoice Charge Allocation
  • Tax Line
  • Withholding Tax Line
  • Matching Allocation
  • Failed Tolerance
Note: Invoice Header line counts include header rows and rows from the associated objects.

Invoice

Field NameDescriptionField TypeRequired/UniquePossible Values
typeDescribes the type of row. Possible values are Header, Line, or Line Split or Tax Line.No/No
idThe unique identifier Coupa assigned to the invoice.integerNo/No
created-atWhen the invoice was created in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ.datetimeNo/No
updated-atWhen the invoice was last updated in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ.datetimeNo/No
statusThe current status of the invoice. Possible values are: new, ap_hold, draft, on_hold, pending_receipt, disputed, pending_approval, approved, voided, booking_hold, save_as_draft, abandonedstring(50)No/No
internal-noteText field for comments made by employees. Not visible to the supplier.textNo/No
invoice-dateThe date of the invoice in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ.datetimeYes/No
delivery-dateThe date of supply in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ.datetimeNo/No
invoice-numberThe user-created invoice number.string(40)Yes/No
line-level-taxationFlag indicating if the invoice has taxes at the line level. True or False. If True, adds fourth header: Tax Line.booleanYes/No
supplier-noteText field for comments from the supplier. Visible to both Coupa users and the supplier.textNo/No
header-tax-amountThe amount of tax calculated on the invoice summary.decimalNo/No
header-tax-rateThe tax rate indicated on the invoice summary.No/No
header-tax-codeThe tax rate code for the invoice summary tax rate. Must match an existing tax rate code within Coupa.No/No
paidFlag indicating if the invoice was paid or not. Manually set. True or False. Default is False.booleanNo/No
payment-dateThe date of the invoice was marked as paid in the format YYYY-MM-DDTHH:MM:SS+HH:MM.datetimeNo/No
payment-notesText field for comments on the payment. Visible only to Coupa users.textNo/No
exportedFlag indicating if the invoice was exported to the ERP. True or False.No/No
account-type-idThe unique identifier Coupa assigned to the Chart of Accounts.integerNo/No
account-type-nameThe name of the Chart of Accounts within Coupa.No/No
payment-termThe payment term code on the invoice.No/No
handling-amountSummary handling amount added to the invoice by the supplier.decimal(32,4)No/No
misc-amountSummary charge added to the invoice by the supplier.decimal(32,4)No/No
shipping-amountSummary shipping charge added to the invoice by the supplier.decimal(32,4)No/No
totalThe total amount of the invoice, including all summary amounts.decimalNo/No
currencyThe currency code of the transaction.No/No
accounting-total-amountThe total amount of the invoice using the Chart of Accounts currency. Doesn't include line and summary amounts.decimalNo/No
accounting-total-currencyThe currency code of the Chart of Accounts.No/No
supplier-idThe unique identifier Coupa assigned to the supplier.integerYes/No
supplier-nameThe name of the supplier.string(100)No/No
supplier-numberThe number of the supplier.No/No
created-by-emailThe email address of the user who created the invoice.No/No
created-by-employee-numberThe employee number of the user who created the invoice.No/No
created-by-loginThe login name of the user who created the invoice.No/No
updated-by-emailThe email address of the user who last updated the invoice.No/No
updated-by-employee-numberThe employee number of the user who last updated the invoice.No/No
updated-by-loginThe login name of the user who last updated the invoice.No/No
attachment-textsThe URLs of the attached files. The files can be set to the supplier, but cannot be downloaded as part of the CSV export.stringNo/No
commentsNot currently used.string(255)No/No
remit-to-address-codeRemit to Address CodeNo/No
remit-to-address-attentionRemit to Address AttentionNo/No
remit-to-address-street1Remit to Address Line 1No/No
remit-to-address-street2Remit to Address Line 2No/No
remit-to-address-cityRemit to Address CityNo/No
remit-to-address-stateRemit to Address StateNo/No
remit-to-address-postal-codeRemit to Address Postal CodeNo/No
remit-to-address-country-codeRemit to Address Country CodeNo/No
remit-to-address-country-nameRemit To Address Country NameNo/No
remit-to-address-nameRemit To Address NameNo/No
remit-to-address-vat-numberThe VAT number associated with the remit-to address (for tax and compliance purposes).No/No
remit-to-address-vat-country-codeThe country code for the remit-to address (for tax and compliance purposes).No/No
remit-to-address-vat-country-nameThe country name for the remit-to address (for tax and compliance purposes).No/No
supplier-vat-numberThe VAT number of the supplier.No/No
supplier-vat-country-codeThe VAT country code of the supplier.No/No
document-typeThe type of document. Possible values are Invoice or Credit Note, or nil.stringNo/No
original-invoice-numberThe credit note must refer to the original invoice. Required if document-type is set to Credit Note.stringYes/No
original-invoice-dateThe date that the original invoice was issued.datetimeYes/No
canceledBalanced out transaction and no payment needed.No/No
bill-to-address-legal-entity-nameThe legal name of the bill-to address company. This is often different the then company nameNo/No
bill-to-address-attentionThe contact person at the bill-to address.No/No
bill-to-address-street1The first bill-to address line.No/No
bill-to-address-street2The second bill-to address line.No/No
bill-to-address-cityThe bill-to address city.No/No
bill-to-address-stateThe bill-to address state.No/No
bill-to-address-postal-codeThe bill-to address zip or postal code.No/No
bill-to-address-country-codeThe bill-to address country code.No/No
bill-to-address-country-nameThe bill-to address country name.No/No
bill-to-address-nameThe user-friendly name given to the bill-to address to make it more easily identifiable.No/No
ship-to-address-attentionThe contact person at the bill-to address.No/No
ship-to-address-street1The first ship-to address line.No/No
ship-to-address-street2The second ship-to address line.No/No
ship-to-address-cityThe ship-to address city.No/No
ship-to-address-stateThe ship-to address state or province.No/No
ship-to-address-postal-codeThe ship-to address zip or postal code.No/No
ship-to-address-country-codeThe ship-to address country code.No/No
ship-to-address-country-nameThe ship-to address country name.No/No
ship-to-address-nameThe user-friendly name given to the ship-to address to make it more easily identifiable.No/No
supplier-remit-to-codeThe name/code given to the supplier remit-to address by the supplierNo/No
supplier-remit-to-supplier-nameThe user-friendly name given to the remit-to address by the supplier to make it more easily identifiableNo/No
supplier-remit-to-street1The supplier-created remit-to first address line.No/No
supplier-remit-to-street2The supplier-created remit-to second address line.No/No
supplier-remit-to-cityThe supplier-created remit-to city.No/No
supplier-remit-to-stateThe supplier-created remit-to state.No/No
supplier-remit-to-postal-codeThe supplier-created remit-to zip or postal code.No/No
supplier-remit-to-country-codeThe supplier-created remit-to country code.No/No
supplier-remit-to-country-nameThe supplier-created remit-to country name.No/No
Fiscal Rep. NameFiscal Rep. NameNo/No
Fiscal Rep. VAT ID Fiscal Rep. Vat IdNo/No
Fiscal Rep. Address CodeFiscal Rep. Address CodeNo/No
Fiscal Rep. Address Street 1Fiscal Rep. Address Street 1No/No
Fiscal Rep. Address Street 2Fiscal Rep. Address Street 2No/No
Fiscal Rep. Address CityFiscal Rep. Address CityNo/No
Fiscal Rep. Address StateFiscal Rep. Address StateNo/No
Fiscal Rep. Address Postal CodeFiscal Rep. Address Postal CodeNo/No
Fiscal Rep. Address Country CodeFiscal Rep. Address Country CodeNo/No
discount_due_dateThe date the invoice needs to be paid by in order to get the early-payment discount. Calculated by Coupa based on payment-term in the format YYYY-MM-DDTHH:MM:SS+HH:MM.datetimeNo/No
net_due_dateThe date the invoice needs to be paid by. Calculated by Coupa based payment-term in the format YYYY-MM-DDTHH:MM:SS+HH:MM.datetimeNo/No
discount_amountThe value of the discount if the invoice is paid by the discount_due_date. Calculated by Coupa basedtotal and payment-term.decimal(32,4)No/No
late-payment-penaltiesLate Payment Penaltiesstring(255)No/No
margin-schemeA reference to the margin scheme usedstring(255)No/No
cash-accounting-scheme-referenceA reference to the cash accounting scheme usedstring(255)No/No
exchange-rateExchange Ratedecimal(30,9)No/No
early-payment-provisionsEarly Payment Provisions (This field has been deprecated)string(255)No/No
pre-payment-datePre-Payment DatedatetimeNo/No
reverse-charge-referenceReverse Charge Referencestring(255)No/No
discount-percentDiscount %floatNo/No
credit-note-differences-with-original-invoiceCredit Note differences with Original Invoicedecimal(30,4)No/No
customs-declaration-numberCustoms Declaration Numberstring(60)No/No
customs-officeCustoms OfficetextNo/No
customs-declaration-dateCustoms Declaration DatedatetimeNo/No
payment-order-referenceA code given by banks to use it instead of a bank account transfer.string(255)No/No
payment-order-numberPayment Order NumberNo/No
Resolution NumberResolution NumberNo/No
advance-payment-received-amountAmount of advance payment receiveddecimal(30,4)No/No
seriesThe serial number used by the Company for internal control of the information.string(30)No/No
folio-numberThe internal folio number used by the Company.string(255)No/No
buyer-representative-nameBuyer Representative NameNo/No
supplier-representative-nameSupplier Representative NameNo/No
payment-schedule-termsPayment Schedule TermsNo/No
vat-chargeability-systemVAT Chargeability SystemNo/No
customer-account-numberCustomer Account NumberNo/No
use-of-invoiceThe purpose invoice is going to be used for.string(10)No/No
form-of-paymentThe specific code in accordance with a catalogue: cash, check, transfer of funds, etc.string(10)No/No
type-of-receiptType of the invoice: income, expense, transfer, payroll or payment.string(10)No/No
payment-methodInstallments or lump sum payments.string(10)No/No
issuance-placeIssuance Placestring(255)No/No
confirmationThis is a unique number provided by the Tax Authorities or the PAC.string(255)No/No
withholding-tax-overrideWithholding Tax Overridedecimal(30,3)No/No
type-of-relationshipRelationship of this document to its parent invoice. Chosen from a catalog.string(10)No/No
invoice-reference-numberThe IRN is a unique ID generated using SHA256 algorithm and based on the parameters GST reg number, document number, financial year, and document typestring(255)No/No
gross-totalGross TotaldecimalNo/No
registered-company-registration-numberRegistration number of the registered companyNo/No
registered-company-place-of-registrationPlace of registration of the registered companyNo/No
registered-company-typeThe type of the registered companyNo/No
registered-company-managing-directorsA list of managing directors of the registered companyNo/No
credit-reasonThe reason of creating the creditstringNo/No
registered-company-permit-numberPermit number of the registered companyNo/No
registered-company-permit-datePermit date of the registered companyNo/No
registered-company-liquidator-nameLiquidator name of the registered companyNo/No
registered-company-share-capitalShare capital of the registered companyNo/No
Tax NatureEstonia compliance required fieldNo/No
registered-company-unique-shareholderUnique shareholder of the registered companyNo/No
registered-company-liable-companyLiable company of the registered companyNo/No
registered-company-tax-regimeTax Regime of the registered companyNo/No
registered-company-legal-statusLegal status of the company (for tax and compliance purposes).No/No
QST Registration NumberQST Registration NumberNo/No
Authorised Person Authorised Person No/No
Authorised Person AddressAuthorised Person AddressNo/No
Authorised Person VAT ID Authorised Person VAT ID No/No
Date of Registration Date of Registration No/No
Sole Registration CodeSole Registration CodeNo/No
registered-company-mercantile-registerMercantile RegisterNo/No
origin-currency-netNet Amount in local currencydecimal(32,4)Yes/No
taxes-in-origin-country-currencyTax Amount in local currencydecimal(32,4)Yes/No
origin-currency-grossGross Amount in local currencydecimal(32,4)Yes/No
self-billing-referenceSelf billing reference - used for compliant countries like The Netherlandsstring(191)No/No
registered-company-legal-typeLegal type of the company (for tax and compliance purposes).No/No
registered-company-registered-seatRegistered seat of the company (for tax and compliance purposes).No/No
registered-company-chairman-of-the-boardName of the chairperson of the board (for tax and compliance purposes).No/No
registered-company-court-of-registrationCourt where the company is registered (for tax and compliance purposes).No/No
registered-company-liquidation-remarkRemark if the company is in liquidation (for tax and compliance purposes).No/No
registered-company-commercial-register-numberCommercial register number of the company (for tax and compliance purposes).No/No
registered-company-license-numberCompany License NumberNo/No
registered-company-register-legal-entitiesRegister Legal EntitiesNo/No
registered-company-nameRegistered Company NameNo/No
company-in-examinershipCompany in examinershipNo/No
company-is-being-wound-upCompany is being wound upNo/No
company-receiver-appointedReceiver of the property of a company has been appointedNo/No
preference-agreementPreference AgreementNo/No
file-reference-numberFile Reference No.No/No
number-of-issued-stocksNumber of Issued StocksNo/No
issued_share-capitalUnpaid Share CapitalNo/No
supplier-telephone-numberSupplier Telephone NumberNo/No
permanent-account-numberPermanent Account Number (PAN)No/No
Disputed Invoice NumberDisputed Invoice NumberNo/No
ChannelChannel the invoice was created fromstring(80)No/No
Taxable AmountTaxable AmountNo/No
invoice-from-codeThe name/code given to the supplier invoice-from address by the supplier.No/No
invoice-from-supplier-nameThe user-friendly name given to the invoice-from address by the supplier to make it more easily identifiableNo/No
invoice-from-street1The supplier-created invoice-from first address line.No/No
invoice-from-street2The supplier-created invoice-from second address line.No/No
invoice-from-cityThe supplier-created invoice-from city.No/No
invoice-from-stateThe supplier-created invoice-from state.No/No
invoice-from-postal-codeThe supplier-created invoice-from zip or postal code.No/No
invoice-from-country-codeThe supplier-created invoice-from country code.No/No
invoice-from-country-nameThe supplier-created invoice-from country name.No/No
ship-from-codeThe name/code given to the supplier ship-from address by the supplierNo/No
ship-from-supplier-nameThe user-friendly name given to the ship-from address by the supplier to make it more easily identifiableNo/No
ship-from-street1The supplier-created ship-from first address line.No/No
ship-from-street2The supplier-created ship-from second address line.No/No
ship-from-cityThe supplier-created ship-from city.No/No
ship-from-stateThe supplier-created ship-from state.No/No
ship-from-postal-codeThe supplier-created ship-from zip or postal code.No/No
ship-from-country-codeThe supplier-created ship-from country code.No/No
ship-from-country-nameThe supplier-created ship-from country name.No/No
supplier-tax-registration-numberThe supplier-created supplier-tax-number.No/No
supplier-tax-registration-country-codeThe supplier-created supplier-tax-registration country code.No/No
supplier-tax-registration-country-nameThe supplier-created supplier-tax-registration country name.No/No
supplier-tax-registration-localThe supplier-created supplier-tax-registration local indicator.No/No
buyer-tax-registration-numberThe buyer-created buyer-tax-number.No/No
buyer-tax-registration-country-codeThe buyer-created buyer-tax-registration country code.No/No
buyer-tax-registration-country-nameThe buyer-created buyer-tax-registration country name.No/No
buyer-tax-registration-localThe buyer-created buyer-tax-registration local indicator.No/No
dispute-methodDispute Method, Possible values are: Auto, Manualstring(10)No/No
is-ers-invoiceIs ERS InvoicebooleanNo/No
void-reason-codeThe code indicating the reason for voiding the invoiceNo/No
supplier-party-identifierSupplier Party IdentifierNo/No
supplier-electronic-addressSupplier Electronic AddressNo/No
buyer-party-identifierBuyer Party IdentifierNo/No
buyer-electronic-addressBuyer Electronic AddressNo/No
date-receivedThe date when the invoice is received by enterprise via emailNo/No
sender-emailThe sender email who sent the invoice to enterprise via emailNo/No
inbox-nameInbox which the invoice was received intoNo/No
amount-dueAmount due to the supplier - Invoice Total without withholding and customer accounting taxesdecimal(46,6)No/No
tax-due-to-supplierTax due to the supplierdecimal(46,6)No/No
customer-accounting-taxCustomer accounting taxdecimal(46,6)No/No
payment-channelWhere the invoice payment will be handled. Examples are ERP, Coupa Pay Virtual Card, Coupa Pay Invoicestring(40)No/No
date-of-discovery-of-facts-decisive-for-correctionDate of Discovery of Facts Decisive for CorrectiondatetimeNo/No
place-of-supplyPlace Of Supplystring(255)No/No
split-payment-mechanismSplit Payment MechanismbooleanNo/No
gross-total-less-discountTotal less discountdecimal(32,4)No/No
net-total-less-discountNet total less discountdecimal(32,4)No/No
total-taxes-less-discountTotal taxes less discountdecimal(32,4)No/No
customer-accounting-tax-less-discountCustomer accounting tax less discountdecimal(32,4)No/No
amount-due-less-discountAmount due less discountdecimal(32,4)No/No
endorsement-on-invoicesEndorsement On Invoicesstring(255)No/No
new-means-of-transportNew Means Of Transportstring(255)No/No
place-of-issuancePlace Of Issuancestring(255)No/No
amount-of-advance-paymentAmount Of Advance Paymentdecimal(46,20)No/No
transaction-uuidUnique identifier created by the tax authority's system for a specific documentstring(50)No/No
transaction-notification-dateDate on which the invoice is received from the tax authority's systemdatetimeNo/No
supplier-invoice-issuer-nameSupplier Invoice Issuer Namestring(255)No/No
supplier-invoice_reviewer-nameSupplier Invoice Reviewer Namestring(255)No/No
supplier-payment-collector-nameSupplier Payment Collector Namestring(255)No/No
invoice-issuance-timeInvoice Issuance TimeNo/No
cash-register-operator-idCash Register OperatorNo/No
means-of-paymentMeans Of PaymentNo/No
unique-identification-code-of-cash-receiptUnique Identification Code Of Cash ReceiptNo/No
security-code-of-issuerSecurity Code Of IssuerNo/No
state-tax-numberState Tax ID NumberNo/No
state-tax-number-for-substitute-taxpayerState Tax ID Number for Substitute TaxpayerNo/No
municipal-tax-numberMunicipality Tax ID NumberNo/No
serial-code-of-fiscal-invoiceSerial Code of Fiscal InvoiceNo/No
verification-codeVerification CodeNo/No
type-of-documentType of DocumentNo/No
protocol-numberProtocol NumberNo/No
nature-of-operationNature of OperationNo/No
type-of-operationType of OperationNo/No
freight-typeFreight TypeNo/No
vehicle-license-plateVehicle License PlateNo/No
national-enrollment-of-conveyorNational Enrollment of ConveyorNo/No
volume-amountVolume AmountNo/No
volume-gross-weightVolume Gross WeightNo/No
volume-liquid-weightVolume Liquid WeightNo/No
volume-brandVolume BrandNo/No
volume-typeVolume TypeNo/No
volume-numberingVolume NumberingNo/No
currency-tax-rounding-modeCurrency Tax Rounding MethodNo/No
payment-agreement-notesPayment Agreement NotesReasonInsightNo/No
parent-invoice-header-idParent Invoice Header IDintegerNo/No

Invoice Line

Field NameDescriptionField TypeRequired/UniquePossible Values
typeDescribes the type of row. Possible values are Header, Line, Line Split, Tax Line, or Payment.No/No
invoice-idThe unique identifier Coupa assigns to the invoice.integerNo/No
invoice-line-idThe unique identifier Coupa assigns to the invoice line.integerNo/No
created-atWhen the invoice line was created at in the format YYYY-MM-DDTHH:MM:SS+HH:MM.datetimeNo/No
updated-atWhen the invoice line was last updated at in the format YYYY-MM-DDTHH:MM:SS+HH:MM.datetimeNo/No
totalThe total amount of the invoice, excluding all distributed summary amounts.decimal(46,20)No/No
accounting-totalThe total amount of the invoice line using the Chart of Accounts currency.decimal(46,20)No/No
accounting-total-currencyThe currency code of the Chart of Accounts.No/No
line-numThe line number of the invoice line, as it appears on the invoice. Line numbers aren't necessarily listed sequential, but will appear sequentially on the invoice.integerNo/No
descriptionThe invoice line description, usually taken from the description of the item.string(1550)Yes/No
order-header-numThe unique identifier assigned to the corresponding purchase order within Coupa (if any).No/No
po-numberThe number given to the corresponding purchase order within Coupa (if any).No/No
order-header-requested-by-emailThe email address of the user who created the corresponding purchase order.No/No
order-header-requested-by-employee-numberThe employee number of the user who created the purchase order.No/No
order-header-requested-by-loginthe username of the person who created the purchase order.No/No
order-line-idThe unique identifier Coupa assigns to the corresponding line on the purchase order (if any).integerNo/No
order-line-numThe line number of the corresponding purchase order line (if any).No/No
order-line-commodityThe commodity ID of the line item on the purchase order (if any).No/No
priceThe price of the order line item.decimal(46,20)Yes/No
quantityThe quantity of the order line item.decimal(30,6)No/No
uomThe unit of measure code. it must already exist in Coupa.No/No
price-per-weightThe price per weight of the order line item.decimal(30,6)No/No
net-weightThe net weight of the order line item.decimal(30,6)No/No
weight-uomThe unit of measure code of weight. it must already exist in Coupa.No/No
bulk-priceDescribes the non unit quantity price. This can be used to provide price agreed for a bulk quantity. This should be accompanied with 'Bulk Price Quantity' and optionally 'Bulk Price UoM', 'Bulk Price Conversion Numerator' and 'Bulk Price Conversion Denominator'.No/No
bulk-price-qtyDescribes the number of units of the line item the 'Bulk Price' describes the price for.No/No
bulk-price-uomDescribes the UoM to express the Bulk Price. This is required if the line UoM is different than 'Bulk Price UoM'.No/No
bulk-price-conversion-numeratorNumerator value for the ratio to convert from 'Bulk Price UoM' to line UoM. Value defaults from corresponding PO line if invoice line UoM matches PO line UoM and the PO Bulk Price UoM matches the invoice 'Bulk Price UoM'.No/No
bulk-price-conversion-denominatorDenominator value for the ratio to convert from 'Bulk Price UoM' to line UoM. A blank is interpreted as 1 as long as 'Bulk Price UoM' is present.No/No
statusThe current status of the invoice line. Possible values are: new, ap_hold, draft, on_hold, pending_receipt, disputed, pending_approval, approved, voided, booking_hold, save_as_draftstring(255)No/No
tax-rateThe tax rate indicated on the invoice line. Only has a value if the header item line level taxation is set toTrue.No/No
tax-locationOnly has a value if the header item line level taxation is set to True.No/No
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.No/No
tax-amountOnly has a value if the header item line level taxation is set to True.No/No
total-taxThe amount of total tax of the invoice line with multiple tax lines.decimalNo/No
tax-descriptionThe line level tax description.No/No
tax-supply-dateThe line level tax supply date in the format YYYY-MM-DDTHH:MM:SS+HH:MM.No/No
account-codeThe account code from Coupa. All segments are concatenated with a hyphen ( - ).No/No
account-activeA flag in Coupa to indicate if the account is active and can be selected. True or False.No/No
original-date-of-supplyOriginal Date of SupplydatetimeNo/No
delivery-note-numberDelivery Note Numberstring(255)No/No
discount-amountDiscount Amountdecimal(30,3)No/No
company-uomThe unit of measurement that the company uses internally (for comercial purposes).string(255)No/No
property-tax-accountProperty Tax Accountstring(255)No/No
commodity-nameThe Name of the Invoice Line CommodityNo/No
supplier-part-numberPart or identification number of the goods.No/No
customs-declaration-numberCustoms Declaration Numberstring(255)No/No
hsn-sacHSN/SACstring(255)No/No
unspscUNSPSCstring(255)No/No
categoryUsed to automate tax codes in Coupa Invoicing. Acceptable values: Goods or Services.string(255)No/Nogoods, services
subcategoryUsed to automate tax codes in Coupa Invoicing. Acceptable values: Raw materials, Investment goods or Services exceptions.string(255)No/Noraw_materials, investment_goods, services_exceptions
deductibilityUsed to automate tax codes in Coupa Invoicing. Acceptable values: Fully, Partially or Not.string(255)No/Nofully_deductible, partially_deductible, not_deductible
billing-notesA text field for adding notes to a billing line.textNo/No
segment-1Account segment within Coupa.No/No
segment-2Account segment within Coupa.No/No
segment-3Account segment within Coupa.No/No
segment-4Account segment within Coupa.No/No
segment-5Account segment within Coupa.No/No
segment-6Account segment within Coupa.No/No
segment-7Account segment within Coupa.No/No
segment-8Account segment within Coupa.No/No
segment-9Account segment within Coupa.No/No
segment-10Account segment within Coupa.No/No
segment-11Account segment within Coupa.No/No
segment-12Account segment within Coupa.No/No
segment-13Account segment within Coupa.No/No
segment-14Account segment within Coupa.No/No
segment-15Account segment within Coupa.No/No
segment-16Account segment within Coupa.No/No
segment-17Account segment within Coupa.No/No
segment-18Account segment within Coupa.No/No
segment-19Account segment within Coupa.No/No
segment-20Account segment within Coupa.No/No
account-nameThe account name from Coupa.No/No
created-by-emailThe email address of the user who created the invoice.No/No
created-by-employee-numberThe employee number of the user who created the invoice.No/No
created-by-loginThe username of the user who created the invoice.No/No
updated-by-emailThe email address of the user who last updated the invoice.No/No
updated-by-employee-numberThe employee number of the user who last updated the invoice.No/No
updated-by-loginThe username of the user who last updated the invoice.No/No
distributed-tax-amountThe amount of tax for the line item based on weighted summary expense distribution.decimal(32,4)No/No
distributed-shipping-amountThe amount of shipping for the line item based on weighted summary expense distribution.decimal(32,4)No/No
distributed-handling-amountThe amount of handling for the line item based on weighted summary expense distribution.decimal(32,4)No/No
distributed-misc-amountThe amount of misc for the line item based on weighted summary expense distribution.decimal(32,4)No/No
match-referenceThree-way match attribute to connect with Receipt and Invoice Header.string(255)No/No
fiscal-codeFiscal Codestring(255)No/No
classification-of-goodsClassification of Goodsstring(255)No/No
municipality-taxation-codeMunicipality Taxation Codestring(255)No/No
item-barcodeItem Barcodestring(255)No/No

Invoice Line Allocation

Field NameDescriptionField TypeRequired/UniquePossible Values
typeDescribes the type of row. Possible values are Header, Line, or Line Split or Tax Line.No/No
invoice-idThe unique identifier Coupa assigns to the invoice.integerNo/No
invoice-line-idThe unique identifier Coupa assigns to the invoice line.integerNo/No
line-numThe line number of the invoice line, as it appears on the invoice. Line numbers aren't necessarily listed sequential, but will appear sequentially on the invoice.No/No
order-header-numThe number given to the corresponding purchase order within Coupa (if any).No/No
order-line-idThe unique identifier Coupa assigns to the corresponding line on the purchase order (if any).No/No
order-line-numThe line number of the corresponding purchase order line (if any).No/No
account-allocation-idThe unique identifier Coupa assigns to the account allocation. Split line accounting must be enabled.integerNo/No
account-allocation-sequenceThe unique sequential counter Coupa assigns to the account allocation split. Split line accounting must be enabled.No/No
account-allocation-amountThe dollar amount for this account allocation. Split line accounting must be enabled.decimal(32,4)No/No
account-allocation-percentThe percentage of the total amount allocated to this split. Split line accounting must be enabled.decimal(16,10)Yes/No
account-codeThe account code from Coupa. All segments are concatenated with a hyphen ( - ).No/No
account-activeA flag in Coupa to indicate if the account is active and can be selected. True or False.No/No
billing-notesA note to capture any information on this account allocation split.textNo/No
segment-1Account segment within Coupa.No/No
segment-2Account segment within Coupa.No/No
segment-3Account segment within Coupa.No/No
segment-4Account segment within Coupa.No/No
segment-5Account segment within Coupa.No/No
segment-6Account segment within Coupa.No/No
segment-7Account segment within Coupa.No/No
segment-8Account segment within Coupa.No/No
segment-9Account segment within Coupa.No/No
segment-10Account segment within Coupa.No/No
segment-11Account segment within Coupa.No/No
segment-12Account segment within Coupa.No/No
segment-13Account segment within Coupa.No/No
segment-14Account segment within Coupa.No/No
segment-15Account segment within Coupa.No/No
segment-16Account segment within Coupa.No/No
segment-17Account segment within Coupa.No/No
segment-18Account segment within Coupa.No/No
segment-19Account segment within Coupa.No/No
segment-20Account segment within Coupa.No/No
account-nameThe account name from Coupa.No/No
currency_codeThe currency code of the transaction.No/No
accounting-totalThe total amount of the invoice using the Chart of Accounts currency. Doesn't include line and summary amounts.decimal(32,4)No/No
accounting_currencyThe currency code of the Chart of Accounts.No/No
distributed-tax-amountThe amount of tax for the line item based on weighted summary expense distribution.decimal(32,4)No/No
distributed-shipping-amountThe amount of shipping for the line item based on weighted summary expense distribution.decimal(32,4)No/No
distributed-handling-amountThe amount of handling for the line item based on weighted summary expense distribution.decimal(32,4)No/No
distributed-misc-amountThe amount of misc for the line item based on weighted summary expense distribution.decimal(32,4)No/No

Invoice Charge

Field NameDescriptionField TypeRequired/UniquePossible Values
typeDescribes the type of row. Possible values are Header, Line, Line Split, Charge, Charge Split, Tax Line, or Payment.No/No
invoice-idThe unique identifier Coupa assigns to the invoice.integerNo/No
invoice-charge-idThe unique identifier Coupa assigns to the invoice charge.integerNo/No
line-typeThe kind of charge. Possible values are InvoiceShippingCharge, InvoiceHandlingCharge, or InvoiceMiscCharge.string(255)No/No
created-atWhen the invoice charge was created at in the format YYYY-MM-DDTHH:MM:SS+HH:MM.datetimeNo/No
updated-atWhen the invoice charge was last updated at in the format YYYY-MM-DDTHH:MM:SS+HH:MM.datetimeNo/No
totalThe total amount of the charge.decimalNo/No
percentThe percent value of this charge (only for percent-based charges & allowances. Not yet used.)decimal(16,10)No/No
accounting-totalThe total amount of the invoice charge using the Chart of Accounts currency.decimal(30,4)No/No
accounting-total-currencyThe currency code of the Chart of Accounts.No/No
line-numThe line number of the invoice charge, as it appears on the invoice. Line numbers aren't necessarily listed sequential, but will appear sequentially on the invoice.integerNo/No
descriptionThe invoice charge description.string(1550)No/No
tax-rateThe tax rate indicated on the invoice charge.No/No
tax-locationThe location for tax on this chargeNo/No
tax-codeThe tax rate code for the charge tax rate. Must match an existing tax rate code within Coupa.No/No
tax-amountThe amount of the tax on this chargeNo/No
total-taxThe amount of total tax on this chargedecimalNo/No
tax-descriptionThe charge level tax description.No/No
tax-supply-dateThe charge level tax supply date in the format YYYY-MM-DDTHH:MM:SS+HH:MM.No/No
account-codeThe account code from Coupa. All segments are concatenated with a hyphen ( - ).No/No
account-activeA flag in Coupa to indicate if the account is active and can be selected. True or False.No/No
billing-notesA text field for adding notes to a billing line.textNo/No
segment-1Account segment within Coupa.No/No
segment-2Account segment within Coupa.No/No
segment-3Account segment within Coupa.No/No
segment-4Account segment within Coupa.No/No
segment-5Account segment within Coupa.No/No
segment-6Account segment within Coupa.No/No
segment-7Account segment within Coupa.No/No
segment-8Account segment within Coupa.No/No
segment-9Account segment within Coupa.No/No
segment-10Account segment within Coupa.No/No
segment-11Account segment within Coupa.No/No
segment-12Account segment within Coupa.No/No
segment-13Account segment within Coupa.No/No
segment-14Account segment within Coupa.No/No
segment-15Account segment within Coupa.No/No
segment-16Account segment within Coupa.No/No
segment-17Account segment within Coupa.No/No
segment-18Account segment within Coupa.No/No
segment-19Account segment within Coupa.No/No
segment-20Account segment within Coupa.No/No
account-nameThe account name from Coupa.No/No
created-by-emailThe email address of the user who created the invoice.No/No
created-by-employee-numberThe employee number of the user who created the invoice.No/No
created-by-loginThe username of the user who created the invoice.No/No
updated-by-emailThe email address of the user who last updated the invoice.No/No
updated-by-employee-numberThe employee number of the user who last updated the invoice.No/No
updated-by-loginThe username of the user who last updated the invoice.No/No

Invoice Charge Allocation

Field NameDescriptionField TypeRequired/UniquePossible Values
typeDescribes the type of row. Possible values are Header, Line, or Line Split or Tax Line.No/No
invoice-idThe unique identifier Coupa assigns to the invoice.integerNo/No
invoice-charge-idThe unique identifier Coupa assigns to the invoice charge.integerNo/No
line-numThe line number of the invoice charge, as it appears on the invoice. Line numbers aren't necessarily listed sequential, but will appear sequentially on the invoice.No/No
account-allocation-idThe unique identifier Coupa assigns to the account allocation. Split line accounting must be enabled.integerNo/No
account-allocation-sequenceThe unique sequential counter Coupa assigns to the account allocation split. Split line accounting must be enabled.No/No
account-allocation-amountThe dollar amount for this account allocation. Split line accounting must be enabled.decimal(30,4)No/No
account-allocation-percentThe percentage of the total amount allocated to this split. Split line accounting must be enabled.decimal(16,10)Yes/No
account-codeThe account code from Coupa. All segments are concatenated with a hyphen ( - ).No/No
account-activeA flag in Coupa to indicate if the account is active and can be selected. True or False.No/No
billing-notesA note to capture any information on this account allocation split.textNo/No
segment-1Account segment within Coupa.No/No
segment-2Account segment within Coupa.No/No
segment-3Account segment within Coupa.No/No
segment-4Account segment within Coupa.No/No
segment-5Account segment within Coupa.No/No
segment-6Account segment within Coupa.No/No
segment-7Account segment within Coupa.No/No
segment-8Account segment within Coupa.No/No
segment-9Account segment within Coupa.No/No
segment-10Account segment within Coupa.No/No
segment-11Account segment within Coupa.No/No
segment-12Account segment within Coupa.No/No
segment-13Account segment within Coupa.No/No
segment-14Account segment within Coupa.No/No
segment-15Account segment within Coupa.No/No
segment-16Account segment within Coupa.No/No
segment-17Account segment within Coupa.No/No
segment-18Account segment within Coupa.No/No
segment-19Account segment within Coupa.No/No
segment-20Account segment within Coupa.No/No
account-nameThe account name from Coupa.No/No
currency_codeThe currency code of the transaction.No/No
accounting-totalThe total amount of the invoice using the Chart of Accounts currency. Doesn't include line and summary amounts.decimal(30,4)No/No
accounting_currencyThe currency code of the Chart of Accounts.No/No

Tax Line

Field NameDescriptionField TypeRequired/UniquePossible Values
typeDescribes the type of row. Possible values are Header, Line, Line Split, Tax Line, or Payment.No/No
invoice-idThe unique identifier Coupa assigns to the invoice.No/No
invoice-numberThe user-created invoice number.No/No
invoice-line-idThe unique identifier Coupa assigns to the invoice line.No/No
invoice-line-numberThe line number of the corresponding invoice line.No/No
invoice-charge-idThe unique identifier Coupa assigns to the invoice chargeNo/No
invoice-charge-numberThe line number of the invoice chargeNo/No
tax-line-numberThe line number of the corresponding of the tax line.integerNo/No
tax-line-idThe unique identifier Coupa assigns to the tax line.integerNo/No
amountThe amount of tax calculated on the line.decimal(32,4)No/No
rateThe tax rate indicated on the invoice line.floatNo/No
tax-rate-typeThe tax rate type description on the lineNo/No
codeThe tax rate code for the invoice line tax rate. Must match an existing tax rate code within Coupa.No/No
amount-engineAmount calculated by either Coupa Native or External Tax Engine based on configurationdecimal(32,4)No/No
code-engineCode returned by External Tax Engine based on configurationstring(255)No/No
rate-engineRate returned by External Tax Engine based on configurationdecimal(30,6)No/No
descriptionThe tax line description.string(255)No/No
locationThe taxable location for this tax line.string(255)No/No
dateThe tax line date in the format YYYY-MM-DDTHH:MM:SS+HH:MM.datetimeNo/No
kind-of-factorKind of Factor indicates the specific type of Withholding which applies to the line itemstring(255)No/No
basisBasis indicates the CFDI base amount of the invoice or line item to which withholding tax was applieddecimal(30,6)No/No
Base AmountBase indicates the base amount of the invoice or line item to which tax was applieddecimal(30,4)No/No
Supplier Withholding RateCFDI Withholding Ratedecimal(30,4)No/No
Supplier Withholding AmountCFDI Withholding Amountdecimal(30,4)No/No
nature-of-taxNature of Tax indicates the specific type of tax which applies to the line item e.g. VAT or Withholdingstring(255)No/No
Withholding AmountWithholding Amountdecimal(30,4)No/No
Direct/Withholding Tax/TCS TaxWithholdingTaxLine, TcsTaxLine or TaxLinestring(255)No/No
product-tax-classificationProduct Tax Classificationstring(255)No/No
product-tax-classification-cclasstribProduct Tax Classification(cClasTrib)string(255)No/No
amount-devtribTax Amount Returned(vDevTrib)decimal(30,4)No/No
amount-credpresPresumed Credit Amount(vCredPres)decimal(30,4)No/No
amount-deferredTax Amount Deferred(vDif)decimal(30,4)No/No

Withholding Tax Line

Field NameDescriptionField TypeRequired/UniquePossible Values
typeDescribes the type of row. Possible values are Header, Line, Line Split, Tax Line, or Payment.No/No
invoice-idThe unique identifier Coupa assigns to the invoice.No/No
invoice-numberThe user-created invoice number.No/No
invoice-line-idThe unique identifier Coupa assigns to the invoice line.No/No
invoice-line-numberThe line number of the corresponding purchase order line (if any).No/No
tax-line-numberThe line number of the corresponding of the tax line.integerNo/No
tax-line-idThe unique identifier Coupa assigns to the tax line.integerNo/No
amountThe amount of tax calculated on the line.decimal(32,4)No/No
rateThe tax rate indicated on the invoice line.floatNo/No
codeThe tax rate code for the invoice line tax rate. Must match an existing tax rate code within Coupa.No/No
descriptionThe tax line description.string(255)No/No
locationThe taxable location for this tax line.string(255)No/No
dateThe tax line date in the format YYYY-MM-DDTHH:MM:SS+HH:MM.datetimeNo/No
kind-of-factorKind of Factor indicates the specific type of Withholding which applies to the line itemstring(255)No/No
basisBasis indicates the CFDI base amount of the invoice or line item to which withholding tax was applieddecimal(30,6)No/No
Withholding BaseBase indicates the base amount of the invoice or line item to which withholding tax was applieddecimal(30,4)No/No
Supplier Withholding RateCFDI Withholding Ratedecimal(30,4)No/No
Supplier Withholding AmountCFDI Withholding Amountdecimal(30,4)No/No
nature-of-taxNature of Tax indicates the specific type of tax which applies to the line item e.g. VAT or Withholdingstring(255)No/No
Withholding AmountWithholding Amountdecimal(30,4)No/No
Direct/Withholding TaxWithholdingTaxLine or TaxLinestring(255)No/No

Matching Allocation

Field NameDescriptionField TypeRequired/UniquePossible Values
typeDescribes the type of rowNo/No
order-line-idThe unique identifier Coupa assigns to the corresponding line on the purchase order (if any).integerNo/No
order-header-numberThe order header number.No/No
order-line-numThe order line numberNo/No
invoice-line-idThe unique identifier Coupa assigns to the invoice line.integerNo/No
receipt-idThe unique identifier Coupa assigns to the receipt.integerNo/No
match-reference-keyThe match reference key as described in the receipt used to trigger a match attempt to a candidate invoice line.No/No
quantityThe quantity of the invoice line item.decimal(32,6)Yes/No
amountThe total amount of the receipt allocation to this invoice line.decimal(32,4)Yes/No
uomThe unit of measure code. It must already exist in Coupa.No/No
currencyThe currency code of the transaction.No/No
statusDescribes the current status of this allocation record, If the allocation described in this record is active or has been voided. Can have values in Void, Matched.string(50)No/No

Failed tolerance columns

# Column Name Description Type Req/Unique Allowable Values
1codeCodestring(255)Yes/NoAny
2failable-idFailable IDinteger(11)No/NoAny
3failable-typeFailable Typestring(255)No/NoAny
4resolvedResolvedbooleanNo/NoYes/No, True/False
5resolution-strategyResolution Strategystring(25)No/NoAny
6breach-amountBreach Amountstring(255)No/NoAny
7breach-limitBreach Limitstring(255)No/NoAny
8breach-detail-1Breach Detail 1string(255)No/NoAny
9breach-detail-2Breach Detail 2string(255)No/NoAny
10breach-detail-3Breach Detail 3string(255)No/NoAny

Invoice Reconciliation Line

Field NameDescriptionField TypeRequired/UniquePossible Values
TypeDescribes the type of row. Possible values are Header, Line, Line Split, Tax Line, or ReconciliationLine.No/No
Adjustment DateThe date the payment was madedatetimeNo/No
Type of documentThe type of document that was paidstringNo/No
AmountThe total amount paiddecimal(46,20)No/No
Invoice IDThe document ID that is being paidNo/No
Created By IDThe user ID that created the paymentintegerNo/No
Created By LoginThe user login that created the invoice paymentNo/No
Created DateThe date the payment initially drafteddatetimeNo/No
Updated By IDThe user ID that most recently updated the paymentintegerNo/No
Updated By LoginTher user login that most recently updated the invoice paymentNo/No
Updated DateThe date the payment was most recently updateddatetimeNo/No
NoteNote associated with the paymentstring(255)No/No
CategoryCategory of the reconciliation (payment, discount, adjustment, credit)string(255)No/Nopayment, discount, adjustment, tax, credit, tax_line_adjustment, system_adjustment, auto_adjustment, prepayment_adjustment, recurring_adjustment, post_approval_early_payment_discount

Invoice To Pay

Field NameDescriptionField TypeRequired/UniquePossible Values
typeDescribes the type of row. Possible value is InvoicePayableNo/No
idThe ID of the invoiceintegerNo/No
created-atThe date the invoice was created ondatetimeNo/No
updated-atThe date the invoice was last updated ondatetimeNo/No
statusThe status of the invoicestring(255)No/No
paid-dateThe date the invoice was marked as fully paiddatetimeNo/No
paid-totalThe total amount paiddecimalNo/No
remaining-totalThe total amount remaining to be paiddecimalNo/No
remittance-totalThe total remittance amount requireddecimalNo/No
accounting-totalThe total of the invoice in the CoA currencydecimalNo/No
exportedA flag indicating if the invoice has been marked as exportedNo/No
last-exported-atThe date that the invoice was last marked as exporteddatetimeNo/No
discount-amountThe discount amount takenNo/No
discount-rateThe discount rate takenNo/No
discount-due-dateThe discount due dateNo/No
document-typeThe type of invoicestringNo/No
payment-channelThe payment channel on the associated InvoiceHeaderNo/No
payable-typeThe type of associated payable. Value is InvoiceHeaderstringNo/No
payable-idThe ID of the associated InvoiceHeaderNo/No
net-due-dateThe net due date of the invoiceNo/No
supplier-nameThe suppliers name from the associated InvoiceHeaderNo/No
supplier-numberThe suppliers number from the associated InvoiceHeaderNo/No
invoice-numberThe invoice number from the associated InvoiceHeaderNo/No
chart-of-account-codeThe Chart of Accounts nameNo/No
legal-entity-nameThe Chart of Accounts Legal Entity nameNo/No
wc-eligibilityEligible for Coupa Pay Working Capitalstring(255)No/No