Field name | Description |
|
Name | Enter a name for your FlowAP Template. |
Lookup Criteria |
Vendor Lookup Criteria | This field should contain an array of JSON objects that would be used as criteria for searching the Vendor for the FlowAP Document. You can enter a maximum of 8 15 criteria and a minimum of 1. Expand |
---|
| {
{
"xpath": "//cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID=\"VAT\"]", |
"nsfield": "vatregnumber", |
"regexp": "[^a-zA-Z0-9]" }, { "xpath": "//cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID=\"GLN\"]", "nsfield": "vatregnumber", "regexp": "[^a-zA-Z0-9]" }, { "xpath":
"regexp": "[^0-9]",
"operator": "contains"
},
{
"xpath": "//cac:AccountingSupplierParty/cac:Party/ | cbc:EndpointID",
cac:PartyIdentification/cbc:ID[@schemeID=\"VAT\"]",
"nsfield": "custentity_sta_ | flowapendpointid }, { "xpath": "//cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:ID[../../cbc:PaymentChannelCode/text()=\"IBAN\"]", "nsfield": "custrecord_2663_parent_vendor.custrecord_2663_entity_iban" }, { "xpath": "//cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:ID[../../cbc:PaymentChannelCode/text()=\"BBAN\"]", "nsfield": "custrecord_2663_parent_vendor.custrecord_2663_entity_bban" }, { "xpath": "//cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName", "nsfield": "legalname" }, { "xpath": "//cac:AccountingSupplierParty/cac:Party/cac:PartyName/cbc:Name", "nsfield": "entityid" }, { "xpath": "//cac:AccountingSupplierParty/cac:Party/cac:PartyName/cbc:Name", "nsfield": "entityid" } ] |
|
Item Lookup Criteria | This field should contain an array of JSON objects that would be used as criteria for searching the Item for the FlowAP Document. You can enter a maximum of 5 criteria. Expand |
---|
| [ { "mappingfield": "vendorcode", "nsfield": "vendorcode" }, { "mappingfield": "vendorcode", "nsfield": "vendorname" } ] |
|
Mapping Templates |
Transaction Mapping | Enter the mapping for the Transaction Header and Lines in a well-formed JSON object. Expand |
---|
| { "custentity_edoc_ws_id": { "xpath" : ["/cac:OrderReference/cbc:CustomerReference"] }, "vendorname": { "xpath": ["/cac:AccountingSupplierParty/cac:Party/cac:PartyName"] }, "vendorvat": { "xpath": ,
"regexp": "[^0-9]",
"operator": "contains"
},
{
"xpath": "//cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID=\"ISO6523\"]",
"nsfield": "vatregnumber",
"regexp": "[^0-9]",
"operator": "contains"
},
{
"xpath": "//cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID=\"ISO6523\"]",
"nsfield": "custentity_sta_einv_businessid",
"regexp": "[^0-9]",
"operator": "contains"
},
{
"xpath": "//cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID",
"nsfield": "vatregnumber",
"regexp": "[^0-9]",
"operator": "contains"
},
{
"xpath": "//cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID",
"nsfield": "custentity_sta_einv_businessid",
"regexp": "[^0-9]",
"operator": "contains"
},
{
"legacy": true,
"xpath": "//cac:OrderReference/cbc:CustomerReference",
"nsfield": "custentity_sta_flowap_endpointid",
"regexp": "[^0-9]",
"operator": "contains"
},
{
"xpath": "//cac:OrderReference/cbc:CustomerReference",
"nsfield": "custentity_sta_flowap_endpointid",
"regexp": "[^0-9]",
"operator": "contains"
},
{
"xpath": "//cac:AccountingSupplierParty/cac:Party/cbc:EndpointID",
"nsfield": "custentity_sta_flowap_endpointid",
"operator": "contains"
},
{
"xpath": "//cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:ID[../../cbc:PaymentChannelCode/text()=\"IBAN\"]",
"nsfield": "custrecord_2663_parent_vendor.custrecord_2663_entity_iban"
},
{
"xpath": "//cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:ID[../../cbc:PaymentChannelCode/text()=\"BBAN\"]",
"nsfield": "custrecord_2663_parent_vendor.custrecord_2663_entity_bban"
},
{
"xpath": "//cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:ID",
"nsfield": "custrecord_2663_parent_vendor.custrecord_2663_customer_code"
},
{
"xpath": "//cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:ID",
"nsfield": "accountnumber"
},
{
"xpath": "//cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName",
"nsfield": "legalname"
},
{
"xpath": "//cac:AccountingSupplierParty/cac:Party/cac:PartyName/cbc:Name",
"nsfield": "entityid"
}
] |
|
|
Item Lookup Criteria | This field should contain an array of JSON objects that would be used as criteria for searching the Item for the FlowAP Document. You can enter a maximum of 5 criteria and a minimum of 1. Expand |
---|
| Code Block |
---|
| [
{
"mappingfield": "vendorcode",
"nsfield": "vendorcode"
},
{
"mappingfield": "vendorcode",
"nsfield": "vendorname"
},
{
"mappingfield": "vendorcode",
"nsfield": "itemid"
}
] |
|
|
Mapping Templates |
Transaction Mapping | Enter the mapping for the Transaction Header and Lines in a well-formed JSON object. Expand |
---|
| Code Block |
---|
| {
"custentity_edoc_ws_id": {
"xpath" : ["/cac:OrderReference/cbc:CustomerReference"]
},
"vendorname": {
"xpath": ["/cac:AccountingSupplierParty/cac:Party/cac:PartyName"]
},
"vendorvat": {
"xpath": ["/cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID=\"VAT\"]"]
},
"subsidiaryendpointid": {
"xpath": ["/cac:AccountingCustomerParty/cac:Party/cac:PartyName"]
},
"subsidiaryvat": {
"xpath": ["/cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID=\"VAT\"]"]
},
"billcountry": {
"xpath": ["/cac:AccountingSupplierParty/cac:Party/cac: | PartyIdentificationcbc:ID[@schemeID=\"VAT\"]"] }, "subsidiaryendpointid": { "xpath": cac:Country/cbc:IdentificationCode"]
},
"poreferencenumber" : {
"xpath" : ["/cac: | AccountingCustomerPartycac:Party/cac:PartyName"] }, "subsidiaryvat": { "xpath": ["/cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID=\"VAT\"]"] }, "billcountry": { "xpath": ["/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode"] }, "poreferencenumber" : { "xpath" : ["/cac:OrderReference/cbc:SalesOrderID"] }, "referencenumber" : { "xpath" : ["/cbc:ID"] }, "trandate": { "xpath" : cbc:SalesOrderID"]
},
"referencenumber" : {
"xpath" : ["/cbc:ID"]
},
"trandate": {
"xpath" : ["/cbc:IssueDate"]
},
"duedate": {
"xpath" : ["/cac:PaymentMeans/cbc:PaymentDueDate"]
},
"custbody_sta_appr_xmlmemo": {
"xpath" : ["/cbc:Note"]
},
"custbody_sta_nord_trandate": {
"xpath" : ["/cbc:IssueDate"] |
"duedate
"custbody_sta_origpostingdate": | { /cac:PaymentMeansPaymentDueDate
staapprxmlmemo {
{
"xpath" : ["/cac:PaymentMeans/cbc: | Note
"custbody_sta_nord_trandate { IssueDate
"custbody_sta_origpostingdate {
{
"xpath" : ["/cac:OrderReference/cbc: | IssueDate
"custbody_2663_reference_num": {
"taxpercent_total" : {
"xpath" : ["/cac:TaxTotal/cac:TaxSubtotal/cac: | PaymentMeansPaymentID"] }, "currency": {
Percent"]
},
"taxamount_total" : {
"xpath" : ["/cac:TaxTotal/cbc: | DocumentCurrencyCode
"createdfrom { OrderReferenceSalesOrderID
"taxpercent_total
"custbody_sta_eflow_ourref": | { TaxTotalAccountingSupplierParty/cac: | TaxSubtotalTaxCategoryPercent
"taxexclusiveamount
"custbody_sta_eflow_yourref": | { : ["/cac:AccountingCustomerParty/cac:Party/cac: | LegalMonetaryTotalTaxExclusiveAmount
{
{
"listpath" : "/cac:InvoiceLine", |
[ { {
{
"xpath" : ["./cac:Item/cbc:Name"] |
}, {
{
"xpath" : ["./cac:Item/cac:SellersItemIdentification/cbc:ID"] |
}, {
{
"xpath" : ["./cbc:InvoicedQuantity"] | , 1 }, {
{
"xpath" : ["./cac:Price/cbc:PriceAmount" | ] }, {
{
"xpath" : ["./cbc:LineExtensionAmount"] |
}, {
{
"xpath" : ["./cac:Item/cbc:Description"] |
}, {
{
"xpath" : ["./cac:TaxTotal/cbc:TaxAmount"] |
}, {
{
"xpath" : ["./cac:Item/cbc | :Name"] }, {
{
"xpath" : ["./cac:Item/cac:ClassifiedTaxCategory/cbc:Percent", "/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Percent" | ] } } ] }, {
{
"xpath" : ["$item[0].firstmemo_value"] |
{
{
"listpath" : "/cac:PaymentMeans" | , [ { {
{
"xpath" : ["./cbc:PaymentDueDate" | ] }, {
{
"xpath" : ["./cbc:PaymentID"] |
}, {
{
"xpath" : ["./cbc:PaymentChannelCode"] |
},
},
"payeefinancialaccount": | {
{
"xpath" : ["./cac:PayeeFinancialAccount/cbc:ID"] |
},
},
"financialinstitutionid": | {
{
"xpath" : [ "./cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cbc: | ID"] } } ] },
ID"]
}
}
]
},
"rounding": | {
{
"xpath" : ["/cac:LegalMonetaryTotal/cbc:PayableRoundingAmount"] |
": { "": {
"xpath" : ["/cac:LegalMonetaryTotal/cbc:PayableAmount"] |
{
{
"listpath" : "/cac:AllowanceCharge", |
[ { {
{
"xpath" : ["./cbc:ChargeIndicator"] |
}, "allowanceamount": { "xpath" :
},
"allowanceamount": {
"xpath" : ["./cbc:Amount"] |
} } ] }
|
|
Vendor Mapping | Enter the mapping for the Vendor in a well-formed JSON object Expand |
---|
| {
|
---|
| Code Block |
---|
| {
"companyname" : | {
{
"xpath" : ["//cac:AccountingSupplierParty/cac:Party/cac:PartyName/cbc:Name"] |
}, "currency" : { "xpath" :
},
"currency" : {
"xpath" : ["//cbc:DocumentCurrencyCode"] |
}, {
{
"xpath" : ["//cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID=\"VAT\"]"] |
}, {
{
"xpath" : ["//cac:PaymentTerms/cbc:Note"] |
}, {
{
"xpath" : ["//cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID=\"GLN\"]"] |
},
},
"custentity_sta_einv_businessid" : | {
{
"xpath" : ["//cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID[@schemeID=\"GLN\"]"] |
},
},
"custentity_sta_flowap_endpointid" | : {
: {
"xpath" : ["//cac:AccountingSupplierParty/cac:Party/cbc:EndpointID"] |
}, {
{
"xpath" : ["//cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode"] |
}, {
{
"xpath" : ["//cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:StreetName"] |
}, {
{
"xpath" : ["//cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:AdditionalStreetName"] |
}, {
{
"xpath" : ["//cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:CityName"] |
}, {
{
"xpath" : ["//cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:PostalZone"] |
},
},
"custentity_sta_einv_networkid" : | {
{
"xpath" : ["//cac:OrderReference/cbc:CustomerReference"] |
} } VENDOR CONTACT MAPPING { "entityid" : { "xpath" : |
Expand |
---|
title | Default - Vendor Contact |
---|
| Code Block |
---|
| {
"entityid" : {
"xpath" : ["//cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:Name"] |
}, "phone" : { "xpath" :
},
"phone" : {
"xpath" : ["//cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:Telephone"] |
}, {
{
"xpath" : ["//cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:ElectronicMail"] |
}
|
|