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


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


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