OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: PaymentMeans doubt


One problem is that PaymentMeans MUST include a code which
describes the type of payment.
would be valid

The PaymentMeansTypeCode values are defined in the
UBL-CodeList-PaymentMeansCode-1.0.xsd Schema so you should
be able to find a value for whatever type of payment you wish to cover,
e.g. '20' stands for 'cheque payment'

However, the fact that PaymentMeans has a DuePaymentDate does not
mean this is the best way to define a DuePaymentDate, unless you wish
to specify DuePaymentDate as part of a requirement for payment being
made in a particular way. Although the intention with UBL is to avoid
there being more than one way to present any particular data entity, this
has not been wholly successful in a few cases (BasePrice being another)
and DuePaymentDate is one such case, perhaps.

You probably should be using PaymentTerms and SettlementPeriod
to define a more general payment due date or period, perhaps with
terms for discount if paid on time or a charge if paid late, which should
all be possible with PaymentTerms and its members.

Is this more in line with your requirements?

All the best

Stephen Green

----- Original Message -----
From: "Scott Wiseman" <scott@intercore.net>
To: <ubl-dev@lists.oasis-open.org>
Sent: Friday, May 21, 2004 7:02 PM
Subject: RE: PaymentMeans doubt

Does this have anything to do with a merchant account?

-----Original Message-----
From: Pedro Alves [mailto:pmalves@think.pt]
Sent: Friday, May 21, 2004 11:03 AM
To: ubl-dev@lists.oasis-open.org
Subject: PaymentMeans doubt

    Hi (again).

    I'm building a UBL Invoice.

    I'm trying to put the invoice DuePaymentDate. Looking at the sxc I see
that cac:PaymentMeans has this element.

    However, when I make the xml as


    and run the parser, I get this error:

tag name "DuePaymentDate" is not allowed. Possible tag names are:

    I can't find this in the xsi. Where is it? I'm looking at
UBL-Reusable-1.0.sxc and PaymentMeans has no reference to such tag.


Pedro Miguel G. Alves       pedro.alves@compta.pt
COMPTA - Parceria e Tecnologia      www.compta.pt
http://www.allaboutsingles.com http://www.people-services.net
http://www.avidware.net http://www.intercore.net
http://www.cisco-equipment.com http://aboutsingles.net
Tel:   +351 21 413 46 00  Av. José Gomes Ferreira
Fax:   +351 21 413 46 09     nº 13 1495-139 ALGÉS

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]