Skip to content
English
  • There are no suggestions because the search field is empty.

Sales - Functional description of fields sales invoices XML

This article describes the functional development in the software of a number of fields in the sales invoices XML. This must be submitted via the Sales - ProcessSalesInvoices(sessionID, administrationId, xmlDoc) web service method.

ATTENTION!
It is recommended to examine the XML scheme below, this information is most complete and described in English.


Web address of the XML scheme of the sales invoices

http://www.yukiworks.nl/schemas/SalesInvoices.xsd


Example of XML scheme

<SalesInvoices xmlns="urn:xmlns:http://www.theyukicompany.com:salesinvoices" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <SalesInvoice>
                <Reference>XX-1234</Reference>
                <Subject>Testfactuur - 1</Subject>
                <PaymentMethod>ElectronicTransfer</PaymentMethod>
                <PaymentID>1234-456</PaymentID>
                <Process>true</Process>
                <EmailToCustomer>false</EmailToCustomer>
                <Layout />
                <Date>2012-06-22</Date>
                <DueDate>2012-07-22</DueDate>
                <PriceList />
                <Currency />
                <ProjectID />
                <ProjectCode />
                <Remarks />
                <Contact>
                        <ContactCode>1122</ContactCode>
                        <FullName>Apple Sales International</FullName>
                        <FirstName />
                        <MiddleName />
                        <LastName />
                        <Gender>Male</Gender>
                        <CountryCode>NL</CountryCode>
                        <City>Rotterdam</City>
                        <Zipcode>1234 AA</Zipcode>
                        <AddressLine_1>Bergweg 25</AddressLine_1>
                        <AddressLine_2 />
                        <Website />
                        <CoCNumber />
                        <VATNumber />
                        <ContactType>Company</ContactType>
                        <BankAccount />
                        <PhoneHome />
                        <MobileHome />
                </Contact>
                <ContactPerson>
                        <FirstName>Steve</FirstName>
                        <LastName>Jobs</LastName>
                        <Gender>Male</Gender>
                        <EmailAddress>steve@apple.com</EmailAddress>
                </ContactPerson>
                <InvoiceLines>
                        <InvoiceLine>
                                <Description>Regel 1</Description>
                                <Remarks />
                                <ProductQuantity>2</ProductQuantity>
                                <Product>
                                        <Description>Product 1</Description>
                                        <Reference>TP-1122</Reference>
                                        <Category xsi:nil="true" />
                                        <SalesPrice>14.88</SalesPrice>
                                        <VATPercentage>6.00</VATPercentage>
                                        <VATIncluded>true</VATIncluded>
                                        <VATType>2</VATType>
                                        <GLAccountCode></GLAccountCode>
                                        <Remarks />
                                </Product>
                                <AccrualDate>2021-08-01</AccruelDate>
                                <AccrualPeriods>1</AccruelPeriods>
                                <AccrualInterval>1</AccruelInterval>
                        </InvoiceLine>
                </InvoiceLines>
        </SalesInvoice>  
</SalesInvoices>


Description of fields

Below you will find a description of the fields. The XML scheme itself also contains a description of the fields and which values and data types are expected.

SalesInvoice: Reference
In this field you can enter the invoice number.

  • Invoice will be handled, printed and/or sent from outside Nmbrs Accounting. Thus, the invoice was given an invoice number from outside Nmbrs Accounting.
    The 'Reference' field contains the invoice number and the 'Process' field must contain the value 'true' so Nmbrs Accounting knows that the invoice with the submitted data can be processed immediately.
  • Invoice still has to be processed, printed and/or sent manually within Nmbrs Accounting, The invoice will be given an invoice number by Nmbrs Accounting.
    The 'Reference' field has to be omitted and the 'Process' field must contain the value 'false'.

SalesInvoice: PaymentMethod
The payment method of the invoice. Possible options:

  • Unspecified (in Nmbrs Accounting the 'Electronic transfer' payment method will be filled in)
  • ElectronicTransfer (transfer)
  • DirectCollection ('Direct debit' payment method first needs to be activated in the invoice settings)
  • ToSettle
  • CreditCard
  • DebitCard (payment with debit card)
  • Cash
  • iDeal
  • Online.

SalesInvoice: Process
In this field you have to indicate whether or not the invoice has to be processed immediately. If you choose to process the invoice then you also have to enter the correct invoice number in the 'Reference' field.

When the value is 'true' the invoice is processed in Nmbrs Accounting and sent (if specified). Is the value 'false' then the invoice will be made ready in 'To be sent' and still has to be processed.

If the TAG Process is missing Nmbrs Accounting will assume that the value is 'false'.

SalesInvoice: EmailToCustomer
If you choose to process an invoice then you can indicate in this field whether or not the invoice has to be mailed immediately via Nmbrs Accounting to the customer. This functionality first needs to be activated in the invoice settings.

If you don't want the invoice to be sent then you can omit it or enter the value 'false'.

SalesInvoice: Lay-out
In this field you can indicate the desired invoice layout. When you leave this field blank Nmbrs Accounting will use the default layout.

SalesInvoice: Date
The invoice date.

SalesInvoice: DueDate
The due date.

SalesInvoice: PriceList
In this field you can enter the desired price list. When you leave this field blank Nmbrs Accounting will use the default price list.

If you offer a combination of VAT inclusive and exclusive prices it is useful that you give a VAT inclusive or exclusive price list. Suppose it is a VAT inclusive price then it will be stated correctly on the invoice. However, is the sales item saved in a VAT exclusive price list and you create an invoice with the same sales item in the Sales functionality then the price will be treated as VAT exclusive and will be stated as such on the invoice.

ATTENTION!
The prices, VAT codes and revenue accounts that are given in the invoice are leading.

SalesInvoice: Currency
The currency of the sales invoice. If the field is not completed then the default value is 'EUR'.

If there is no price list specified then Nmbrs Accounting will look at the default price list. If this is not in foreign currency then the 'The pricelist's currency "EUR" does not match with the invoice's' notification will be displayed.

If the Currency deviates from the foreign curreny in the price list then the 'The pricelist's currency "USD" does not match with the invoice's' notificaton will be displayed.

If the 'Currency' field is not completed and the 'Pricelist' field is and this field is in foreign currency then the 'The pricelist's currency "USD" does not match with the invoice's' notification will be displayed.

SalesInvoice: ProjectID
The ID of the project to which you want to link the document. If this parameter is given then the 'ProjectCode' parameter is redundant.

A user with the 'Management' role must have chosen the Medium, Large or Unlimited bundle via the Store in the domain.

SalesInvoice: ProjectCode
The code of the project to which you to link the document. This parameter is only used when the 'ProjectID' parameter is not given.

A user with the 'Management' role must have chosen the Medium, Large or Unlimited bundle via the Store in the domain.

Salesinvoice: Remarks
50,000 characters, see original article via URL...]