Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

ElementParentRequiredData TypeDescriptionValid ValuesDefault
APInvoiceAndCreditMemo





TransactionAPInvoiceAndCreditMemo




PropertiesTransaction




TransactionIDTransactionNoVARCHAR(25)The unique internal ID of the Transaction.
Next available number in the transaction class which is default retrieved from the Transaction Type.
TransactionDatePropertiesYesDATETIMEThe date of the transaction.Any valid date.
TransactionTypePropertiesYesVARCHAR(20)The type of transaction. Indicating whether it's a Credit memo or an invoice.Invoice, credit memo.
VendorIDPropertiesYesVARCHAR(50)The unique ID of the vendor.All 'Active' AP Vendors.
Document NumberPropertiesYesVARCHAR(50)The document number of the invoice or credit memo.Must be unique by VendorID and Transaction Type.
PurchaseOrderIDPropertiesNoVARCHAR(50)The purchase order of the invoice or credit memo.
NULL
PaymentTermPropertiesNoVARCHAR(20)The payment term of the invoice or credit memo.
Vendor Payment Term
DescriptionPropertiesNoVARCHAR(60)The description of the invoice or credit memo.
NULL
GLDatePropertiesNoDATEThe GL Date of the invoice or credit memo.Any valid date.If not submitted, it defaults to the TransactionDate
DueDatePropertiesNoDATETIMEThe due date of the invoice or credit memo.
If we have a a payment term available, we will calculate due date based on the due date days in the payment term.
DiscountDatePropertiesNoDATETIMEThe discount date of the invoice or credit memo.
If we have a payment term available, we will calculate the discount date days in the payment term.
IsOnHoldPropertiesNoVARCHAR(5)Indicates whether or not the invoice or credit memo is on hold.true, false.FALSE
CurrencyIDPropertiesNoVARCHAR(15)The currency of the invoice or credit memo. If a value is supplied it must match the Vendor Currency.Z-AUD, Z-C$, Z-NZD, Z-UK, Z-SGD, Z-SA, Z-US$, USD, CADVendor currency, then Company Currency.
TransactionStatusNamePropertiesNoVARCHAR(50)The name of the status we want the transaction to be saved to.New, Approved, Ready to Post.New.
CompanyIDPropertiesYesVARCHAR(10)This is the ID of the company that you are sending data for. This company ID should match the entry in the database table name ERPx_MFDataEntityCompany for the Company ID column.

AttributeListTransaction




AttributeAttributeList




AttributeIDAttributeNoVARCHAR(25)The unique ID of the attribute in NorthScope.

ValueAttributeNoVARCHAR(200)The value of the attribute.Must be a value Attribute that is visible to the transaction type (either a credit memo/invoice).
TransactionLineListTransaction




TransactionLineTransactionLineList




POLineSKTransactionLineNoBIGINTThe unique key value that is assigned to the line item on the linked Purchase Order record. Must be a valid line item on an open Purchase Order record.
ItemIDTransactionLineYesVARCHAR(50)The ID of the Item for the corresponding line. Must be a valid active Item that is configured in the system.
POLineNumberTransactionLineNoBIGINTThe Line number of the corresponding item on the linked Purchase Order record. 

LineDescriptionTransactionLineYesVARCHAR(200)Description of the line item.

QuantityTransactionLineYesNUMERIC(18,5)The quantity on the line item. Must be bigger than or equal to 0.If 0.00 the transaction Status must be New.

QuantityUOMID

TransactionLineYesVARCHAR(10)The unit of measure for the line item.Must be valid UOM for the company (kg, gr, lbs, etc.)
PriceTransactionLineYesNUMERIC(18,5)The price of the line item. Must be bigger than or equal to 0.

AccountNumberTransactionLineNoVARCHAR(75)The account number of the line item. When blank or empty, it will default to the Vendor Account.
Vendor Purchase Account
ToDistributionAccountTypeTransactionLineNoVARCHAR(25)The type of the distribution account. When this is present, ToDistributionAccount should also be filled in.Employee, AP Vendor, Project.NULL
ToDistributionAccountTransactionLineNoVARCHAR(100)The unique ID of the distribution account. When the Distribution Account Type Employee, we expect the name of an employee here, when AP Vendor, the name of the Vendor, and when Project, the name of the project.Must be a valid value

Example XML
<APInvoiceAndCreditMemo>
    <Transaction TransactionID="">
        <Properties>          
            <TransactionID>INV1000</TransactionID>
            <TransactionDate>4/22/2019</TransactionDate>
            <TransactionType>Invoice</TransactionType>
            <VendorID>MYVENDORIF</VendorID>
            <DocumentNumber>AE23456</DocumentNumber>       
            <PurchaseOrderID>25-1485</PurchaseOrderID>
            <PaymentTerm>Net 30</PaymentTerm>
            <Description>Supplies</Description>
            <GLDate>4/22/2019</GLDate>
            <DueDate>5/22/2019</DueDate>
            <DiscountDate/>       
            <IsOnHold>false</IsOnHold>
            <CurrencyID>USD</CurrencyID>
            <TransactionStatusName>Ready to Post</TransactionStatusName>
            <CompanyID>XYZ</CompanyID>
        </Properties>
        <AttributeList> 
            <Attribute>      
                <AttributeID>Subject to Use Tax</AttributeID>
                <Value>Yes</Value>    
            </Attribute>
        </AttributeList>
        <TransactionLineList>
            <TransactionLine>
                        <POLineSK>1234</POLineSK>
  						<ItemID>10010</ItemID>
  						<POLineNumber>20</POLineNumber>
						<LineDescription>Case Printer Paper</LineDescription>
                        <Quantity>2.00</Quantity>
                        <Price>50.25</Price>
                        <AccountNumber>10-5980-20</AccountNumber>
                        <ToDistributionAccount>John Johnson</ToDistributionAccount>
                        <ToDistributionAccountType>AP Vendor</ToDistributionAccountType>
            </TransactionLine>     
            <TransactionLine>
                        <POLineSK>1235</POLineSK>
  						<ItemID>10011</ItemID>
  						<POLineNumber>30</POLineNumber> 
						<LineDescription>Printer Ink</LineDescription>
                        <Quantity>25.00</Quantity>
                        <Price>15.75</Price>
                        <AccountNumber>10-5980-30</AccountNumber>
                        <ToDistributionAccount>David Williams</ToDistributionAccount>
                        <ToDistributionAccountType>AP Vendor</ToDistributionAccountType>
            </TransactionLine>
         </TransactionLineList>
    </Transaction>
</APInvoiceAndCreditMemo>
  • No labels