Skip to content

Commit

Permalink
feat: add currency conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminMoe committed Oct 25, 2023
1 parent 23c9b9a commit ecda154
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions docs/openapi/components/schemas/credentials/EInvoiceCredential.yml
Original file line number Diff line number Diff line change
Expand Up @@ -579,14 +579,18 @@ properties:
title: Terms of Payment
description: Terms, conditions, and currency of settlement, as agreed upon by the vendor and purchaser per the pro forma invoice, customer purchase order, and/or the letter of credit.
type: string
payTo:
title: Pay To
description: Information about the account in which to deposit the funds
type: string
currencyOfSettlement:
title: Terms of Settlement
description: Currency agreed upon between seller and buyer as payment.
type: string
localCurrency:
title: Local Currency
description: Currency in the case the requested and local currency are different
type: string
conversionRate:
title: Conversion Rate
description: The rate at which the currency conversion is pegged for the transaction
type: string
totalDue:
title: Price
description: The total sum of the invoice due
Expand Down Expand Up @@ -961,8 +965,9 @@ example: |-
"Payment"
],
"termsOfPayment": "Payment made to bank account within 30 days of invoice",
"payTo": "Example Bank Acct. 1234567 Routing Number 123456789",
"currencyOfSettlement": "USD",
"localCurrency": "MXN",
"conversionRate": "1 USD = 18.25 MXN",
"totalDue": 4700,
"invoiceSubtotal": {
"type": [
Expand Down

0 comments on commit ecda154

Please sign in to comment.