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: [ubl-dev] PaymentMeans amount


Yes, I believe that is exactly how it should be used with this
kind of payment requirement.

Best regards

Steve

2009/1/12 hazteUnaFacturae. com <info@hazteunafacturae.com>:
> Hello:
>
> Thanks for your answers.
>
> As I've understood, we must complete it so:
>
>     <cac:PaymentMeans>
>         <cbc:ID>payment1</cbc:ID>
>         <cbc:PaymentMeansCode
> listSchemeURI="urn:oasis:names:specification:ubl:codelist:gc:PaymentMeansCode-2.0">10</cbc:PaymentMeansCode>
>         <cbc:PaymentDueDate>2009-02-09</cbc:PaymentDueDate>
>         <cac:PayerFinancialAccount>
>             <cbc:ID>4523-1234-01-2154654654</cbc:ID>
>         </cac:PayerFinancialAccount>
>     </cac:PaymentMeans>
>     <cac:PaymentMeans>
>         <cbc:ID>payment2</cbc:ID>
>         <cbc:PaymentMeansCode
> listSchemeURI="urn:oasis:names:specification:ubl:codelist:gc:PaymentMeansCode-2.0">10</cbc:PaymentMeansCode>
>         <cbc:PaymentDueDate>2009-03-09</cbc:PaymentDueDate>
>         <cac:PayerFinancialAccount>
>             <cbc:ID>4523-1234-01-2154654654</cbc:ID>
>         </cac:PayerFinancialAccount>
>     </cac:PaymentMeans>
>     <cac:PaymentTerms>
>         <cbc:PaymentMeansID>payment1</cbc:PaymentMeansID>
>         <cbc:Amount currencyID="CAD">24000</cbc:Amount>
>     </cac:PaymentTerms>
>     <cac:PaymentTerms>
>         <cbc:PaymentMeansID>payment2</cbc:PaymentMeansID>
>         <cbc:Amount currencyID="CAD">408</cbc:Amount>
>     </cac:PaymentTerms>
>
>     <cac:LegalMonetaryTotal>
>         <cbc:PayableAmount currencyID="EUR">24408</cbc:PayableAmount>
>     </cac:LegalMonetaryTotal>
>
> Thanks.
>
>
>
> 2009/1/11 Stephen Green <stephengreenubl@gmail.com>
>>
>> Hi Ken
>>
>> I wouldn't want to be dogmatic about your question. I seem to remember
>> the way PaymentTerms is used is country-specific. So your proposed
>> use of PaymentTerms and its Amount may well be right for Canada but
>> I don't think it would be right for UK where tax rules determine how the
>> charges and discounts are applied in the invoice, etc. Also it may be
>> industry-specific in that partial payments may be normal in some
>> industries where certain rules or norms apply. That's all I can remember
>> (perhaps inaccurately) about the specifics. It might be worth reviewing
>> the
>> original requirements and comments submitted prior to UBL 2.0 (e.g.
>> from Sweden, I seem to remember?) to get the specifics. I wouldn't
>> want to go beyond the definitions in the schema in general without a
>> specific industry or locale/tax region in mind on this one.
>>
>> Best regards
>>
>> Steve
>>
>>
>> 2009/1/11 G. Ken Holman <gkholman@cranesoftwrights.com>:
>> > Thanks, Steve.
>> >
>> > I was unsure that <PaymentTerms><Amount> represented only the amount of
>> > the
>> > surcharge/fee (which is what I prototyped), or the sum of the legal
>> > monetary
>> > amount and the particular payment terms (which I think could be another
>> > interpretation of the limited definition).
>> >
>> > Back to the question of the original poster, which I interpret as
>> > documenting in the Invoice what the payments are for two equal payments.
>> >
>> > Say I would charge a 2% premium for payment in two equal payments.  For
>> > an
>> > amount owed of $100, that would be two payments of $51 each.  Then would
>> > <PaymentTerms><Amount> be $2 and the note would explain that the payment
>> > is
>> > made in two equal payments?
>> >
>> > Thanks again.
>> >
>> > . . . . . . . . . . Ken
>> >
>> > At 2009-01-11 17:32 +0000, Stephen Green wrote:
>> >>
>> >> Hi Ken
>> >>
>> >> Yes, exactly, that's what we had in mind I believe.
>> >>
>> >> Best regards
>> >>
>> >> Steve
>> >>
>> >> 2009/1/11 G. Ken Holman <gkholman@cranesoftwrights.com>:
>> >> > Steve, given your answer, is this how I would specify in an invoice
>> >> > the
>> >> > different options that are available to the customer for their
>> >> > payment?
>> >> >
>> >> > The invoice line sum total is X
>> >> >
>> >> > When paying by cheque, the invoice amount due is X
>> >> >
>> >> > When paying by credit card, the invoice amount due is X*1.05
>> >> >
>> >> > When paying by bank transfer, the invoice amount due is X+$25
>> >> >
>> >> >  <in:Invoice>
>> >> >    ...
>> >> >    <cac:PaymentMeans>
>> >> >      <cbc:ID>Cheque</cbc:ID>
>> >> >      <cbc:PaymentMeansCode>20</cbc:PaymentMeansCode>
>> >> >      <cbc:InstructionNote>Payment by a cheque</cbc:InstructionNote>
>> >> >    </cac:PaymentMeans>
>> >> >    <cac:PaymentMeans>
>> >> >      <cbc:ID>CreditCard</cbc:ID>
>> >> >      <cbc:PaymentMeansCode>48</cbc:PaymentMeansCode>
>> >> >      <cbc:InstructionNote>Payment by a credit
>> >> > card</cbc:InstructionNote>
>> >> >    </cac:PaymentMeans>
>> >> >    <cac:PaymentMeans>
>> >> >      <cbc:ID>BankAccount</cbc:ID>
>> >> >      <cbc:PaymentMeansCode>42</cbc:PaymentMeansCode>
>> >> >      <cbc:InstructionNote>Payment by deposit to a bank
>> >> > account</cbc:InstructionNote>
>> >> >    </cac:PaymentMeans>
>> >> >    <cac:PaymentTerms>
>> >> >      <cbc:ID>Cheque</cbc:ID>
>> >> >      <cbc:PaymentMeansID>Cheque</cbc:PaymentMeansID>
>> >> >      <cbc:Amount currencyID="CAD">0.00</cbc:Amount>
>> >> >    </cac:PaymentTerms>
>> >> >    <cac:PaymentTerms>
>> >> >      <cbc:ID>CreditCard</cbc:ID>
>> >> >      <cbc:PaymentMeansID>CreditCard</cbc:PaymentMeansID>
>> >> >      <cbc:Note>Payment by credit card incurs a surcharge</cbc:Note>
>> >> >      <cbc:PenaltySurchargePercent>5</cbc:PenaltySurchargePercent>
>> >> >      <cbc:Amount currencyID="CAD">5.00</cbc:Amount>
>> >> >    </cac:PaymentTerms>
>> >> >    <cac:PaymentTerms>
>> >> >      <cbc:ID>BankAccount</cbc:ID>
>> >> >      <cbc:PaymentMeansID>BankAccount</cbc:PaymentMeansID>
>> >> >      <cbc:Note>Payment to a bank account incurs a fee</cbc:Note>
>> >> >      <cbc:Amount currencyID="CAD">25.00</cbc:Amount>
>> >> >    </cac:PaymentTerms>
>> >> >    <cac:LegalMonetaryTotal>
>> >> >      <cbc:LineExtensionAmount
>> >> > currencyID="CAD">100.00</cbc:LineExtensionAmount>
>> >> >      <cbc:PayableAmount currencyID="CAD">100.00</cbc:PayableAmount>
>> >> >    </cac:LegalMonetaryTotal>
>> >> >    ...
>> >> >  </in:Invoice>
>> >> >
>> >> > Thanks!
>> >> >
>> >> > . . . . . . . . . Ken
>> >> >
>> >> > At 2009-01-11 16:05 +0000, Stephen Green wrote:
>> >> >>
>> >> >> I assume this is UBL v2.0
>> >> >>
>> >> >> What you might need to do is to use PaymentTerms and relate the
>> >> >> PaymentTerms to PaymentMeans using a PaymentTerms/PaymentMeansID
>> >> >> which matches the PaymentMeans/ID. Then you can put the amount in
>> >> >> the
>> >> >> PaymentTerms/Amount.
>> >> >>
>> >> >> Does that work in your use of UBL?
>> >> >>
>> >> >> Best regards
>> >> >>
>> >> >> Steve
>> >> >>
>> >> >> --
>> >> >> Stephen D. Green
>> >> >>
>> >> >> Document Engineering Services Ltd
>> >> >>
>> >> >>
>> >> >>
>> >> >> http://www.biblegateway.com/passage/?search=matthew+22:37 .. and
>> >> >> voice
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> 2009/1/11 hazteUnaFacturae. com <info@hazteunafacturae.com>:
>> >> >> > Hello:
>> >> >> >
>> >> >> > In a UBL invoice I want to indicate that total amount is going to
>> >> >> > be
>> >> >> > paid,
>> >> >> > for example, in twice.
>> >> >> >
>> >> >> > I were using twice the element cac:PaymentMeans, but I haven't
>> >> >> > found
>> >> >> > the
>> >> >> > element to indicate the amount to pay each time.
>> >> >> >
>> >> >> > Thanks.
>> >
>> >
>> > --
>> > Upcoming XSLT/XSL-FO, UBL and code list hands-on training classes:
>> > :  Sydney, AU 2009-01/02; Brussels, BE 2009-03; Prague, CZ 2009-03
>> > Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
>> > Video lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
>> > Video overview:  http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
>> > G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
>> > Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/u/
>> > Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/u/bc
>> > Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: ubl-dev-unsubscribe@lists.oasis-open.org
>> > For additional commands, e-mail: ubl-dev-help@lists.oasis-open.org
>> >
>> >
>>
>>
>>
>> --
>> Stephen D. Green
>>
>> Document Engineering Services Ltd
>>
>>
>>
>> http://www.biblegateway.com/passage/?search=matthew+22:37 .. and voice
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ubl-dev-unsubscribe@lists.oasis-open.org
>> For additional commands, e-mail: ubl-dev-help@lists.oasis-open.org
>>
>
>



-- 
Stephen D. Green

Document Engineering Services Ltd



http://www.biblegateway.com/passage/?search=matthew+22:37 .. and voice


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