UBL-2.1-PEPPOL-Invoice-Out-V2
このメッセージ定義は、取引相手にクレジット・ノートを送信するためにも使用できます。 そのためには、次の更新を行う必要があります:
クレジット・ノートの更新が必要
このメッセージ定義に関連付けられたXSLのUBL-2.1-PEPPOL-Invoice-Out-v2.xslで、変数passCreditNoteをtrueに設定します。 つまり、<xsl:variable name="passCreditNote" select="false()"/>を検索し、「false」を「true」に変更します。 トランザクション区分がクレジット・メモの請求書がアプリケーションから受信されると、取引パートナにクレジット・ノートが送信されるようになりました。
このメッセージには多数のドメイン値マップ(DVM)が使用されており、PEPPOLでは、これらのDVMで使用される値に、次の表で指定されているコード・リストの値が含まれている必要があります:
DVM名 | コード・リスト |
---|---|
CURRENCY_CODE | https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO4217/ |
INVOICE_TYPE_CODE | https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL1001-inv/ |
INVOICE_TRX_TYPE_CODE | https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL1001-inv/ |
EAS_CODE | https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/ |
ICD_CODE | https://docs.peppol.eu/poacc/billing/3.0/codelist/ICD/ |
CHARGE_REASON_CODE | https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL7161/ |
UOM_CODE | https://docs.peppol.eu/poacc/billing/3.0/codelist/UNECERec20/ |
COUNTRY_CODE | https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO3166/ |
PAYMENT_METHOD | https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL4461/ |
TAX_CATEGORY_CODE | https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL5305/ |
PAYMENT_TERMS | |
ORIG_INVOICE_TYPE_CODE |
データ・マッピング
次の図は、UBL-2.1-PEPPOL-Invoice-Out-V2メッセージのアプリケーションから受信されるペイロードの構造を示しています。
顧客に送信されるペイロードの構造については、UBL-2.1-PEPPOL-Invoice-Outの図2を参照してください。
DocumentTransferService | UBL-2.1-PEPPOL-Invoice-Out-V2 |
---|---|
CustomizationID ノート: この値は、urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0に設定されます
|
|
ProductType PaymentStatus FinalInvoice |
ProfileID LegalEntityCountryCodeがフランス(FR)の場合、文字と数字から導出された連結値がマップされます。 連結された値は、次のルールに従って導出されます:
それ以外の場合、この値はurn:fdc:peppol.eu:2017:poacc:billing:01:1.0に設定されます |
TrxNumber | ID |
TrxDate | IssueDate |
TermDueDate またはTransferDocPaymentTerm[1]/DueDate |
DueDate TermDueDateに値がある場合は、マップされます。 それ以外の場合は、TransferDocPaymentTerm[1]/DueDateがマップされます。 |
SpecialInstructions | ノート |
TrxTypeName |
InvoiceTypeCodeまたはCreditNoteTypeCode DocumentTypeがCMで、$passCreditNoteが"true()の場合、この要素はCreditNoteTypeCodeです。 それ以外の場合、要素はInvoiceTypeCodeです。 このフィールドには、定義済みのDVM(INVOICE_TRX_TYPE_CODE)が使用されています。 |
CurrencyCode | DocumentCurrencyCode このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
BuyerReference PEPPOL要件に従って提供される購買オーダー番号またはバイヤー参照。 PO番号を使用しない場合は、XSLでbuyerReference変数を設定する必要があります。 |
|
PurchaseOrder | OrderReference/ID |
OriginalTrxNumberまたはTransferDocLine/OriginalTrxNumber | BillingReference/InvoiceDocumentReference/ID LegalEntityCountryCodeがフランス(FR)の場合は、TransferDocLine/OriginalTrxNumberをマップするか、OriginalTrxNumberをマップします。 |
OrigTrxDateまたはTransferDocLine/OrigTrxDate | BillingReference/InvoiceDocumentReference/IssueDate LegalEntityCountryCodeがフランス(FR)の場合は、TransferDocLine/OrigTrxDateをマップします。 それ以外の場合は、OrigTrxDateをマップします。 |
TransferDocLine/OriginalTrxType | BillingReference/InvoiceDocumentReference/DocumentTypeCode LegalEntityCountryCodeがフランス(FR)で、TransferDocLine/OriginalTrxTypeに値がある場合は、DVM ORIG_INVOICE_TYPE_CODEの値を使用してマップします。 それ以外の場合は、TransferDocLine/OriginalTrxClassに値がある場合は、DVM ORIG_INVOICE_TYPE_CODEの値を使用してマップします。 |
TransferDocLine/OriginalTrxType | BillingReference/InvoiceDocumentReference/DocumentType LegalEntityCountryCodeがフランス(FR)でない場合、これは「請求書」に設定されます。 |
WaybillNumber | DespatchDocumentReference/ID |
InterfaceHeaderAttribute1 | ContractDocumentReference/ID LegalEntityCountryCodeがフランス(FR)で、InterfaceHeaderContextの値がCONTRACT INTERNAL INVOICESまたはCONTRACT INVOICESの場合は、InterfaceHeaderAttribute1をマップします。 |
ContractDocumentReference/DocumentType LegalEntityCountryCodeがフランス(FR)で、InterfaceHeaderContextの値がCONTRACT INTERNAL INVOICESまたはCONTRACT INVOICESの場合は、これをCONTRACTに設定します。 |
|
InterfaceHeaderAttribute1 | OriginatorDocumentReference/ID InterfaceHeaderAttribute1は、LegalEntityCountryCodeがフランス(FR)ではなく、InterfaceHeaderContextの値がCONTRACT INTERNAL INVOICESまたはCONTRACT INVOICESである場合にマップされます。 |
SupplierCountry | AccountingSupplierParty/Party/EndpointID/@schemeID このフィールドには、事前定義されたDVM EAS_CODEが使用されています。 |
SupplierRegNumber | AccountingSupplierParty/Party/EndpointID |
SupplierCountry | AccountingSupplierParty/Party/PartyIdentification/ID/@schemeID
このフィールドには、事前定義されたDVM ICD_CODEが使用されています。 |
SupplierRegNumber | AccountingSupplierParty/Party/PartyIdentification/ID |
LegalEntityName | AccountingSupplierParty/Party/PartyName/Name |
SupplierAddressLineOne | AccountingSupplierParty/Party/PostalAddress/StreetName |
SupplierAddressLineTwo | AccountingSupplierParty/Party/PostalAddress/AdditionalStreetName |
SupplierTownOrCity | AccountingSupplierParty/Party/PostalAddress/CityName |
SupplierPostalCode | AccountingSupplierParty/Party/PostalAddress/PostalZone |
SupplierRegionTwo | AccountingSupplierParty/Party/PostalAddress/CountrySubentity |
SupplierAddressLineOne | AccountingSupplierParty/Party/PostalAddress/AddressLine/Line |
SupplierCountry | AccountingSupplierParty/Party/PostalAddress/Country/IdentificationCode
このフィールドには、事前定義されたDVM COUNTRY_CODEが使用されています。 |
SupplierRegNumber | AccountingSupplierParty/Party/PartyTaxScheme/CompanyID |
AccountingSupplierParty/Party/PartyTaxScheme/TaxScheme/ID これはVATに設定されます。 |
|
LegalEntityName | AccountingSupplierParty/Party/PartyLegalEntity/RegistrationName |
LegalEntityTaxpayerId | AccountingSupplierParty/Party/PartyLegalEntity/CompanyID |
LeContactName | AccountingSupplierParty/Party/Contact/Name |
ReceiptMethodName | PaymentMeans/PaymentMeansCode |
コメント | InstructionNote |
MaskedCcNumber | PaymentMeans/CardAccount/PrimaryAccountNumberID LegalEntityCountryCodeがフランス(FR)の場合は、MaskedCcNumberをマップします。 ノート: PrimaryAccountNumberIDは、UBL XSDのCardAccountの必須要素です。 |
PaymentMeans/CardAccount/NetworkID ノート: NetworkIDは、UBL XSDのCardAccountの必須要素です。 |
|
CcHolderName | PaymentMeans/CardAccount/HolderName LegalEntityCountryCodeがフランス(FR)の場合は、CcHolderNameをマップします。 |
PayeeIBANNumber | PaymentMeans/PayeeFinancialAccount/ID |
DebitAuthorizationId | PaymentMeans/PaymentMandate/ID |
TransferDocPayerTradeParty/EmailAddress | PaymentMeans/PaymentMandate/PayerParty/EndpointID LegalEntityCountryCodeがフランス(FR)の場合は、TransferDocPayerTradeParty/EmailAddressをマップします。 |
PaymentMeans/PaymentMandate/PayerParty/EndpointID/@schemeID LegalEntityCountryCodeがフランス(FR)の場合は、これをEMに設定します。 |
|
TransferDocPayerTradeParty/AddressLineOne | PaymentMeans/PaymentMandate/PayerParty/PostalAddress/StreetName
LegalEntityCountryCodeがフランス(FR)の場合は、TransferDocPayerTradeParty/AddressLineOneをマップします。 |
TransferDocPayerTradeParty/AddressLineTwo | PaymentMeans/PaymentMandate/PayerParty/PostalAddress/AdditionalStreetName
LegalEntityCountryCodeがフランス(FR)の場合は、TransferDocPayerTradeParty/AddressLineTwoをマップします。 |
TransferDocPayerTradeParty/City | PaymentMeans/PaymentMandate/PayerParty/PostalAddress/CityName
LegalEntityCountryCodeがフランス(FR)の場合は、TransferDocPayerTradeParty/Cityをマップします。 |
TransferDocPayerTradeParty/PostalCode | PaymentMeans/PaymentMandate/PayerParty/PostalAddress/PostalZone
LegalEntityCountryCodeがフランス(FR)の場合は、TransferDocPayerTradeParty/PostalCodeをマップします。 |
TransferDocPayerTradeParty/County TransferDocPayerTradeParty/State TransferDocPayerTradeParty/Province |
PaymentMeans/PaymentMandate/PayerParty/PostalAddress/CountrySubentity
LegalEntityCountryCodeがフランス(FR)の場合は、次の順序でマップします:
|
TransferDocPayerTradeParty/AddressLineThree | PaymentMeans/PaymentMandate/PayerParty/PostalAddress/AddressLine/Line
LegalEntityCountryCodeがフランス(FR)の場合は、TransferDocPayerTradeParty/AddressLineThreeをマップします。 |
TransferDocPayerTradeParty/CountryCode | PaymentMeans/PaymentMandate/PayerParty/PostalAddress/Country/IdentificationCode
LegalEntityCountryCodeがフランス(FR)の場合は、TransferDocPayerTradeParty/CountryCodeをマップします。 |
TransferDocPayerTradeParty/CustomerTaxRegNumber | PaymentMeans/PaymentMandate/PayerParty/PartyTaxScheme/CompanyID
LegalEntityCountryCodeがフランス(FR)の場合は、TransferDocPayerTradeParty/CustomerTaxRegNumberをマップします。 ノート: VATのPartyTaxSchemeを含める必要があります。 |
TransferDocPayerTradeParty/SiteCpName | PaymentMeans/PaymentMandate/PayerParty/Contact/Name LegalEntityCountryCodeがフランス(FR)の場合は、TransferDocPayerTradeParty/SiteCpNameをマップします。 |
TransferDocPayerTradeParty/SiteCpPhoneCountryCode TransferDocPayerTradeParty/SiteCpPhoneAreaCode TransferDocPayerTradeParty/SiteCpPhoneNumber TransferDocPayerTradeParty/SiteCpPhoneExtension |
PaymentMeans/PaymentMandate/PayerParty/Contact/Telephone LegalEntityCountryCodeがフランス(FR)の場合は、次の値の連結をマップします:
|
TransferDocPayerTradeParty/SiteCpEmailAddress | PaymentMeans/PaymentMandate/PayerParty/Contact/ElectronicMail
LegalEntityCountryCodeがフランス(FR)の場合は、TransferDocPayerTradeParty/SiteCpEmailAddressをマップします。 |
BankAcctNumHash1 | PaymentMeans/PaymentMandate/PayerFinancialAccount/ID |
TransferDocPaymentTerm/PaymenttermDescription | PaymentTerms/Note |
TransferDocHeaderAttachments | AdditionalDocumentReference |
DmDocumentId | AdditionalDocumentReference/ID |
AdditionalDocumentReference/DocumentTypeCode 130に設定されます。 |
|
DmDocumentId | AdditionalDocumentReference/Attachment/EmbeddedDocumentBinaryObject/@uri |
FileName | AdditionalDocumentReference/Attachment/EmbeddedDocumentBinaryObject/@filename |
AdditionalDocumentReference/Attachment/EmbeddedDocumentBinaryObject/@mimeCode
これはapplication/pdfに設定されます。 |
|
URL DatatypeCode | AdditionalDocumentReference/Attachment/ExternalReference/URI
URLに値がある場合は、URLをマップします。 それ以外の場合は、DatatypeCodeをマップします。 |
TransferDocBillToTradeParty | AccountingCustomerParty |
CountryCode | EndpointID/@schemeID このフィールドには、事前定義されたDVM EAS_CODEが使用されています。 |
CustomerTaxRegNumber | EndpointID |
CountryCode | PartyIdentification/ID/@schemeID I LegalEntityCountryCodeはフランス(FR)の場合、次に0009をマップします。 それ以外の場合は、DVM ICD_CODEを使用してCountryCodeをマップします。 |
CustomerTaxRegNumber | PartyIdentification/ID LegalEntityCountryCodeがフランス(FR)で、TransferDocBillToTradeParty/tns:SprfGlobalAttributeCategoryが'JExFRCustomerProfileInfo'と等しい場合は、tns:TransferDocBillToTradeParty/tns:SprfGlobalAttribute1をマップします。 それ以外の場合は、CustomerTaxRegNumberをマップします。 このフィールドには、事前定義されたDVM IDC_CODEが使用されています。 |
PartyName | PartyName/Name |
AddressLineOne | PostalAddress/StreetName |
AddressLineTwo | PostalAddress/AdditionalStreetName |
市区町村 | PostalAddress/CityName |
PostalCode | PostalAddress/PostalZone |
AddressLineOne | PostalAddress/AddressLine/Line |
CountryCode | PostalAddress/Country/IdentificationCode このフィールドには、事前定義されたDVM COUNTRY_CODEが使用されています。 |
CustomerTaxRegNumber | PartyTaxScheme/CompanyID |
PartyTaxScheme/IDこれはVATに設定されています | |
PartyName | PartyLegalEntity/RegistrationName |
CountryCode | PartyLegalEntity/CompanyID/@schemeID このフィールドには、事前定義されたDVM ICD_CODEが使用されています。 |
CustomerTaxRegNumber | PartyLegalEntity/CompanyID |
LegalEntityIdentifier | PayeeParty/PartyIdentification/ID LegalEntityIdentifierがSupplierRegNumberと等しくない場合は、LegalEntityIdentifierがマップされます。 |
LegalEntityName | PayeeParty/PartyName/Name LegalEntityIdentifierがSupplierRegNumberと等しくない場合は、LegalEntityNameがマップされます |
LegalEntityIdentifier | PayeeParty/PartyLegalEntity/CompanyID LegalEntityIdentifierがSupplierRegNumberと等しくない場合は、LegalEntityIdentifierがマップされます |
TaxRepName | TaxRepresentativeParty/PartyName/Name |
TaxRepAddress1 | TaxRepresentativeParty/PostalAddress/StreetName |
TaxRepAddress2 | TaxRepresentativeParty/PostalAddress/AdditionalStreetName |
TaxRepCity | TaxRepresentativeParty/PostalAddress/CityName |
TaxRepPostalCode | TaxRepresentativeParty/PostalAddress/PostalCode |
TaxRepState | TaxRepresentativeParty/PostalAddress/CountrySubentity |
TaxRepAddress3 | TaxRepresentativeParty/PostalAddress/AddressLine/Line |
TaxRepCountry | TaxRepresentativeParty/PostalAddress/Country/IdentificationCode |
TaxRepRegistrationNumber | TaxRepresentativeParty/PartyTaxScheme/CompanyID |
TaxRepresentativeParty/PartyTaxScheme/TaxScheme/ID これはVATに設定されます。 |
|
TransferDocShipToTradeParty | 搬送 |
../ShipDate | ActualDeliveryDate |
CountryCode | DeliveryLocation/ID/@schemeID このフィールドには、事前定義されたDVM IDC_CODEが使用されています。 |
CustomerTaxRegNumber | DeliveryLocation/ID |
AddressLineOne | DeliveryLocation/Address/StreetName |
AddressLineTwo | DeliveryLocation/Address/AdditionalStreetName |
市区町村 | DeliveryLocation/Address/CityName |
PostalCode | DeliveryLocation/Address/PostalZone |
AddressLineOne | DeliveryLocation/Address/AddressLine/Line |
CountryCode | DeliveryLocation/Address/Country/IdentificationCode このフィールドには、事前定義されたDVM COUNTRY_CODEが使用されています。 |
PartyName | DeliveryParty/PartyName/Name |
TransferDocHeaderCharge | AllowanceCharge |
ChargeIndicator これはtrueに設定されます。 |
|
LineType | AllowanceChargeReasonCode このフィールドには、事前定義されたDVM CHANGE_REASON_CODEが使用されています。 |
LineType | AllowanceChargeReason |
result/CurrencyCode | Amount/@currencyID このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
ChargeAmount | 金額 |
TaxCategory/ID これはEに設定されています。 |
|
TaxCategory/Percent これは0に設定されます。 |
|
TaxCategory/TaxScheme/ID これはVATに設定されます。 |
|
TransferDocLine |
InvoiceLine DocumentTypeがCMおよび$passCreditNote "true()の場合、要素はCreditNoteLineです。 それ以外の場合、要素はInvoiceLineです。 |
TransferDocLine/TransferDocLineCharge | AllowanceCharge result/TransferDocHeaderChargeが存在しない場合、TransferDocLine/TransferDocLineChargeがマップされます。 LineTypeごとに1つのAllowanceChargeがあります。 |
ChargeIndicator これはtrueに設定されます。 |
|
LineType | AllowanceChargeReasonCode このフィールドには、事前定義されたDVM CHARGE_REASON_CODEが使用されています。 |
LineType | AllowanceChargeReason |
result/CurrencyCode | Amount/@currencyID このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
sum(TransferDocLineCharge[LineType = $current]/ChargeAmount) | 金額 |
TaxCategory/ID これはEに設定されています。 |
|
TaxCategory/Percent これは0に設定されます。 |
|
TaxCategory/TaxScheme/ID これはVATに設定されます。 |
|
result/CurrencyCode | TaxTotal/TaxAmount/@currencyID このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
TotalTaxAmount | TaxTotal/TaxAmount |
TaxTotal/TaxSubtotal/ 存在する場合はtotalChargeAmountに設定します。 |
|
result/CurrencyCode | TaxableAmount/@currencyID このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
totalChargeAmount + totalTaxExemptTaxableAmount | TaxableAmount totalChargeAmountは、ヘッダーにTransferDocHeaderChargeが存在する場合、ヘッダーのChargeAmountを合計します。 それ以外の場合は、行のChargeAmountが合計されます。 totalTaxExemptTaxableAmountは、TaxRateCodeがtaxExemptCodeと等しいヘッダーのTaxableAmountを合計します。 |
result/CurrencyCode | TaxAmount/@currencyID このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
TaxAmount これは0に設定されます。 |
|
TaxCategory/ID これはEに設定されています。 |
|
TaxCategory/Percent これは0に設定されます。 |
|
TaxCategory/TaxExemptionReason これは免除に設定されます。 |
|
TaxCategory/TaxScheme/ID これはVATに設定されます。 |
|
TransferDocHeaderTax | TaxTotal/TaxSubtotal TransferDocHeaderTaxは、TaxRateCodeが除外されない場合にマップされます。 |
result/CurrencyCode | TaxableAmount/@currencyID このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
TaxableAmount | TaxableAmount |
result/CurrencyCode | TaxAmount/@currencyID このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
TaxAmount | TaxAmount |
TaxRateCode | TaxCategory/ID このフィールドには、事前定義されたDVM TAX_CATEGORY_CODEが使用されています。 |
TaxRate | TaxCategory/Percent 値を指定しない場合、これは0に設定されます。 |
ExemptReasonCode | TaxCategory/TaxExemptionReasonCode |
ExemptReason | TaxCategory/TaxExemptionReason 値を指定しない場合、これは「免除」に設定されます。 |
TaxCategory/TaxScheme/ID これはVATに設定されます。 |
|
result/CurrencyCode | LegalMonetaryTotal/LineExtensionAmount/@currencyID このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
LineExtensionAmount | LegalMonetaryTotal/LineExtensionAmount |
CurrencyCode | LegalMonetaryTotal/TaxExclusiveAmount/@currencyID このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
TaxExclusiveAmount | LegalMonetaryTotal/TaxExclusiveAmount |
CurrencyCode | LegalMonetaryTotal/TaxInclusiveAmount/@currencyID このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
InvoiceAmount | LegalMonetaryTotal/TaxInclusiveAmount |
CurrencyCode | LegalMonetaryTotal/AllowanceTotalAmount/@currencyID このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
sum(tns:TransferDocPaymentTerm[tns:DiscountAmount != '']/tns:DiscountAmount) | LegalMonetaryTotal/AllowanceTotalAmount TransferDocPaymentTerm/DiscountAmountの合計は、存在する場合はマップされます。 |
CurrencyCode | LegalMonetaryTotal/ChargeTotalAmount/@currencyID このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
sum(TransferDocHeaderCharge[ChargeAmount != '']/ChargeAmount)またはsum(TransferDocLine[TransferDocLineCharge]/TransferDocLineCharge[LineType != '']/ChargeAmount) | LegalMonetaryTotal/ChargeTotalAmount TransferDocHeaderCharge/ChargeAmountの合計は、存在する場合、またはTransferDocLine/TransferDocLineCharge/ChargeAmountの合計がマップされている場合、マップされます。 |
CurrencyCode | LegalMonetaryTotal/PrepaidAmount/@currencyID LegalEntityCountryCodeがフランス(FR)の場合は、CurrencyCodeをマップします。 このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
PrepaymentAmount | LegalMonetaryTotal/PrepaidAmount LegalEntityCountryCodeがフランス(FR)の場合は、PrepaymentAmountをマップします。 |
CurrencyCode | LegalMonetaryTotal/PayableRoundingAmount/@currencyID LegalEntityCountryCodeがフランス(FR)の場合は、CurrencyCodeをマップします。 このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
OrderRoundingAmount InvoiceAmount | LegalMonetaryTotal/PayableRoundingAmount LegalEntityCountryCodeがフランス(FR)の場合は、OrderRoundingAmountをマップし、それ以外の場合はInvoiceAmountをマップします。 |
CurrencyCode | LegalMonetaryTotal/PayableAmount/@currencyID |
InvoiceAmount | LegalMonetaryTotal/PayableAmount |
TransferDocLine |
InvoiceLine DocumentTypeが'CM'および$passCreditNote "true()"の場合、要素はCreditNoteLineです。 それ以外の場合、要素はInvoiceLineです。 |
LineNumber | ID |
説明 | ノート |
UnitOfMeasure |
InvoicedQuantity/@unitCode DocumentTypeが'CM'および$passCreditNote "true()"の場合、要素はCreditedQuantityです。 それ以外の場合、要素はInvoicedQuantityです。 このフィールドには、定義済みのDVM(UOM_CODE)が使用されています。 |
数量 |
InvoicedQuantity DocumentTypeが'CM'および$passCreditNote "true()"の場合、要素はCreditedQuantityです。 それ以外の場合、要素はInvoicedQuantityです。 |
result/CurrencyCode |
LineExtensionAmount/@currencyID このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
LineAmount | LineExtensionAmount |
TransferDocSalesOrder[1]/SalesOrderLine | OrderLineReference/LineID LegalEntityCountryCodeがフランス(FR)でない場合は、TransferDocSalesOrder[1]/SalesOrderLineをマップします。 それ以外の場合は、LegalEntityCountryCodeがフランス(FR)の場合は、TransferDocSalesOrder/SalesOrderLineをマップします。 |
TransferDocSalesOrder/SalesOrderLine | OrderLineReference/SalesOrderLineID LegalEntityCountryCodeがフランス(FR)の場合は、TransferDocSalesOrder/SalesOrderLineがマップされます。 |
TransferDocSalesOrder/SalesOrder | OrderLineReference/OrderReference/ID LegalEntityCountryCodeがフランス(FR)の場合は、TransferDocSalesOrder/SalesOrderがマップされます。 |
ShipToLocAddress1 | Delivery/DeliveryLocation/Address/StreetName LegalEntityCountryCodeがフランス(FR)の場合は、ShipToLocAddress1がマップされます。 |
ShipToLocAddress2 | Delivery/DeliveryLocation/Address/AdditionalStreetName LegalEntityCountryCodeがフランス(FR)の場合は、ShipToLocAddress2がマップされます。 |
ShipToLocAddress3 | Delivery/DeliveryLocation/Address/AddressLine/Line LegalEntityCountryCodeがフランス(FR)の場合は、ShipToLocAddress3がマップされます。 |
ShipToLocCity | Delivery/DeliveryLocation/Address/CityName LegalEntityCountryCodeがフランス(FR)の場合は、ShipToLocCityがマップされます。 |
ShipToLocPostalCode | Delivery/DeliveryLocation/Address/PostalZone LegalEntityCountryCodeがフランス(FR)の場合は、ShipToLocPostalCodeがマップされます。 |
ShipToLocCounty | Delivery/DeliveryLocation/Address/CountrySubentity LegalEntityCountryCodeがフランス(FR)の場合は、ShipToLocCountyがマップされます。 |
ShipToLocCountry | Delivery/DeliveryLocation/Address/Country/IdentificationCode
LegalEntityCountryCodeがフランス(FR)の場合は、ShipToLocCountryがマップされます。 |
TransferDocLine/TransferDocLineCharge |
InvoiceLine/AllowanceCharge DocumentTypeが'CM'および$passCreditNote "true()"の場合、要素はCreditNoteLineです。 それ以外の場合、要素はInvoiceLineです。 |
LineType |
AllowanceChargeReasonCode このフィールドには、事前定義されたDVM CHARGE_REASON_CODEが使用されています。 |
LineType | AllowanceChargeReason |
result/CurrencyCode |
Amount/@currencyID このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
ChargeAmount | 金額 |
ItemDescription | 品目/説明 |
TranslatedDescription | Item/Name 「品目名」に設定します。 |
TpItemDesc | Item/BuyersItemIdentification/ID |
ItemNumber | Item/SellersItemIdentification/ID |
ItemCategoryName | CommodityClassification/ItemClassificationCode |
TransferDocLine/TransferDocTax |
InvoiceLine/Item/ClassifiedTaxCategory DocumentTypeが'CM'および$passCreditNote "true()"の場合、要素はCreditNoteLineです。 それ以外の場合、要素はInvoiceLineです。 |
TaxRateCode | ID このフィールドには、事前定義されたDVM TAX_CATEGORY_CODEが使用されています。 |
TaxRate | パーセント |
TaxScheme/ID これはVATに設定されます。 |
|
result/CurrencyCode | Price/PriceAmount/currencyID このフィールドには、事前定義されたDVM CURRENCY_CODEが使用されています。 |
UnitSellingPrice | Price/PriceAmount |
サンプル・ペイロード
<sendCollaborationDocument xmlns="http://xmlns.oracle.com/apps/scm/cmk">
<CollaborationEvent testFlag="true" testResult="Success">
<CollaborationEventName>ProcessInvoice</CollaborationEventName>
<RecipientKey1>1245</RecipientKey1>
<RecipientKey2>2959</RecipientKey2>
<RecipientKeyType>CustomerAccount</RecipientKeyType>
<ObjectKey1>1003</ObjectKey1>
<ObjectKey2>300001306852235</ObjectKey2>
<ObjectKey3>5058</ObjectKey3>
</CollaborationEvent>
<Document>
<ns3:findTransferDocumentByDocumentCustomerTrxIdResponse xmlns:ns0="http://xmlns.oracle.com/apps/financials/receivables/transactions/shared/documentTransferService/types/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:ns3="http://xmlns.oracle.com/apps/financials/receivables/transactions/shared/documentTransferService/types/">
<ns2:result xmlns:ns2="http://xmlns.oracle.com/apps/financials/receivables/transactions/shared/documentTransferService/types/" xmlns:ns1="http://xmlns.oracle.com/apps/financials/receivables/transactions/shared/documentTransferService/" xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:InvoiceAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">7435</ns1:InvoiceAmount>
<ns1:CurrencyCode>EUR</ns1:CurrencyCode>
<!-- CURRENCY_CODE -->
<ns1:TrxDate>2020-09-07</ns1:TrxDate>
<ns1:TrxNumber>2810005248</ns1:TrxNumber>
<ns1:PurchaseOrder>PO123456789</ns1:PurchaseOrder>
<ns1:DocumentType>INV</ns1:DocumentType>
<!-- INVOICE_TYPE_CODE -->
<ns1:PaymentMethod>CHECK</ns1:PaymentMethod>
<ns1:SupplierName>Vision Operations</ns1:SupplierName>
<ns1:ReferenceNumber>15010:683158</ns1:ReferenceNumber>
<ns1:ShipDate>2015-12-14</ns1:ShipDate>
<ns1:TaxAmount currencyCode="USD">23200420</ns1:TaxAmount>
<ns1:ShipToCustomerId>1007</ns1:ShipToCustomerId>
<ns1:ShipToSiteUseId>1032</ns1:ShipToSiteUseId>
<ns1:ShipToContactId xsi:nil="true"/>
<ns1:BillToCustomerId>1007</ns1:BillToCustomerId>
<ns1:BillToSiteUseId>1030</ns1:BillToSiteUseId>
<ns1:BillToContactId xsi:nil="true"/>
<ns1:RemitToAddressId xsi:nil="true"/>
<ns1:SupplierDescription>NYC, Vision Operations HQ</ns1:SupplierDescription>
<ns1:SupplierPrimaryAddress>90 Fifth Avenue/NEW YORK</ns1:SupplierPrimaryAddress>
<ns1:SupplierAddressLineOne>90 Fifth Avenue</ns1:SupplierAddressLineOne>
<ns1:SupplierAddressLineTwo>Line 2</ns1:SupplierAddressLineTwo>
<ns1:SupplierTownOrCity>New York</ns1:SupplierTownOrCity>
<ns1:SupplierCountry>US</ns1:SupplierCountry>
<!-- EAS_CODE and ICD_CODE and COUNTRY_CODE -->
<ns1:SupplierRegionOne>New York</ns1:SupplierRegionOne>
<ns1:SupplierRegionTwo>NY</ns1:SupplierRegionTwo>
<ns1:SupplierPostalCode>10022-3422</ns1:SupplierPostalCode>
<ns1:SupplierPhoneNumberOne xsi:nil="true"/>
<ns1:SupplierPhoneNumberTwo xsi:nil="true"/>
<ns1:SupplierPhoneNumberThree xsi:nil="true"/>
<ns1:WaybillNumber xsi:nil="true"/>
<ns1:LegalEntityName>Vision Operations</ns1:LegalEntityName>
<ns1:LegalEntityTaxpayerId>SYS12125</ns1:LegalEntityTaxpayerId>
<!-- Needed for Credit Memo
<ns1:OriginalTrxNumber xsi:nil="true"/>
<ns1:OrigTrxDate xsi:nil="true"/>
-->
<ns1:SupplierCode xsi:nil="true"/>
<ns1:SalesRepresent xsi:nil="true"/>
<ns1:SalesRepresentEmail xsi:nil="true"/>
<ns1:FreightCode>32510</ns1:FreightCode>
<ns1:FreightDescription xsi:nil="true"/>
<ns1:TransactionClass>INV</ns1:TransactionClass>
<ns1:HeaderUserThirty xsi:nil="true"/>
<ns1:DocumentSequenceNumber>39770</ns1:DocumentSequenceNumber>
<ns1:LineCount>4</ns1:LineCount>
<ns1:CtReference>404082</ns1:CtReference>
<ns1:OriginalTrxNumber xsi:nil="true"/>
<ns1:OrigTrxDate xsi:nil="true"/>
<ns1:SupplierRegNumber>4567890</ns1:SupplierRegNumber>
<ns1:TaxRegimeName>FUSION_US SALES AND USE</ns1:TaxRegimeName>
<ns1:TaxTypeCode>FUSION_US STATE SALES</ns1:TaxTypeCode>
<ns1:LegalEntityPostbox>10022</ns1:LegalEntityPostbox>
<ns1:LegalEntityAddrLineOne>475 Park Avenue</ns1:LegalEntityAddrLineOne>
<ns1:LegalEntityAddrLineTwo xsi:nil="true"/>
<ns1:LegalEntityAddrLineThree xsi:nil="true"/>
<ns1:LegalEntityTownOrCity>New York</ns1:LegalEntityTownOrCity>
<ns1:LegalEntityCounty>NY</ns1:LegalEntityCounty>
<ns1:LegalEntityCountryCode>US</ns1:LegalEntityCountryCode>
<ns1:ReceiptMethodName>PO</ns1:ReceiptMethodName>
<!-- PAYMENT_METHOD -->
<ns1:RoundedTaxAmount currencyCode="USD">0</ns1:RoundedTaxAmount>
<ns1:LineExtensionAmount currencyCode="USD">116000</ns1:LineExtensionAmount>
<ns1:TaxExclusiveAmount currencyCode="USD">126000</ns1:TaxExclusiveAmount>
<ns1:TotalTaxAmount currencyCode="USD">23200</ns1:TotalTaxAmount>
<ns1:ExemptReasonCode xsi:nil="true"/>
<ns1:PayeeIBANNumber>NL85RABO0112295037</ns1:PayeeIBANNumber>
<ns1:PayeeBankAccountName>Dummy 2</ns1:PayeeBankAccountName>
<ns1:PayeeBankAccountType>CHECKING</ns1:PayeeBankAccountType>
<ns1:PayeeBankCurrencyCode>EUR</ns1:PayeeBankCurrencyCode>
<ns1:PayeeBankBranchId>BNPANL2A</ns1:PayeeBankBranchId>
<ns1:PayeeBankCountry>Netherlands</ns1:PayeeBankCountry>
<ns1:TermDueDate xsi:nil="true"/>
<ns1:SpecialInstructions xsi:nil="true"/>
<ns1:StructuredPaymentReference xsi:nil="true"/>
<ns1:Comments xsi:nil="true"/>
<ns1:TrxTypeName>Invoice</ns1:TrxTypeName>
<ns1:TrxTypeDescription>Regular Invoice</ns1:TrxTypeDescription>
<ns1:TypeOfCompany>LLC</ns1:TypeOfCompany>
<ns1:LegalEntityIdentifier>USSYS12030</ns1:LegalEntityIdentifier>
<ns1:LegalEntityRegion1>New York</ns1:LegalEntityRegion1>
<ns1:LegalEntityAddrLineFour xsi:nil="true"/>
<ns1:LegalEntityBuilding xsi:nil="true"/>
<ns1:LegalEntityFloorNumber xsi:nil="true"/>
<ns1:LegalEntityProvince xsi:nil="true"/>
<ns1:ActivityCode>32791</ns1:ActivityCode>
<ns1:SubActivityCode xsi:nil="true"/>
<ns1:LegislativeCatCode>INCOME_TAX</ns1:LegislativeCatCode>
<ns1:LeRegistrationCode>EIN/TIN</ns1:LeRegistrationCode>
<ns1:EtbRegistrationCode>RN</ns1:EtbRegistrationCode>
<ns1:JurisdictionName>United States Income Tax</ns1:JurisdictionName>
<ns1:LeRegisteredName>Vision Operations</ns1:LeRegisteredName>
<ns1:LeAlternateRegisteredName xsi:nil="true"/>
<ns1:LeRegistrationNumber>SYS12204</ns1:LeRegistrationNumber>
<ns1:LeActivityCategory>NAICS_1997</ns1:LeActivityCategory>
<ns1:BuManagerName>Smith, Sue</ns1:BuManagerName>
<ns1:LeContactName xsi:nil="true"/>
<ns1:LeContactPhoneAreaCode xsi:nil="true"/>
<ns1:LeContactPhoneNumber xsi:nil="true"/>
<ns1:LeContactPhoneCountryCode xsi:nil="true"/>
<ns1:LeContactEmailAddress xsi:nil="true"/>
<ns1:TaxRepName xsi:nil="true"/>
<ns1:TaxRepAddress4 xsi:nil="true"/>
<ns1:TaxRepBuilding xsi:nil="true"/>
<ns1:TaxRepCounty xsi:nil="true"/>
<ns1:TaxRepFloorNumber xsi:nil="true"/>
<ns1:TaxRepProvince xsi:nil="true"/>
<ns1:TaxRepAddress1 xsi:nil="true"/>
<ns1:TaxRepAddress2 xsi:nil="true"/>
<ns1:TaxRepCity xsi:nil="true"/>
<ns1:TaxRepPostalCode xsi:nil="true"/>
<ns1:TaxRepState xsi:nil="true"/>
<ns1:TaxRepAddress3 xsi:nil="true"/>
<ns1:TaxRepCountry xsi:nil="true"/>
<ns1:TaxRepRegistrationNumber xsi:nil="true"/>
<ns1:DebitAuthorizationId xsi:nil="true"/>
<ns1:BankAcctNumHash1 xsi:nil="true"/>
<ns1:DocFiscClassifName xsi:nil="true"/>
<ns1:DocFiscClassifCode xsi:nil="true"/>
<ns1:CmIssueDate xsi:nil="true"/>
<ns1:PaymentStatus>NOT PAID</ns1:PaymentStatus>
<ns1:ProductType>GOODS</ns1:ProductType>
<ns1:FinalInvoice>N</ns1:FinalInvoice>
<ns1:MaskedCcNumber>xxxx1234</ns1:MaskedCcNumber>
<ns1:CcHolderName>JOHN</ns1:CcHolderName>
<ns1:PrepaymentAmount>0</ns1:PrepaymentAmount>
<ns1:OrderRoundingAmount>-4000</ns1:OrderRoundingAmount>
<ns1:TransferDocHeaderCharge>
<ns1:ChargeAmount currencyCode="USD">10000</ns1:ChargeAmount>
<ns1:LineType>FREIGHT</ns1:LineType>
<!-- CHARGE_REASON_CODE -->
</ns1:TransferDocHeaderCharge>
<ns1:TransferDocLineCharge>
<ns1:ChargeAmount>5.00</ns1:ChargeAmount>
<ns1:LineType>MISC</ns1:LineType>
<!-- CHARGE_REASON_CODE -->
</ns1:TransferDocLineCharge>
<ns1:TransferDocLine>
<ns1:LineType>LINE</ns1:LineType>
<ns1:LineNumber>1</ns1:LineNumber>
<ns1:LineAmount currencyCode="USD">100000</ns1:LineAmount>
<ns1:CurrencyCode>EUR</ns1:CurrencyCode>
<ns1:UnitSellingPrice currencyCode="USD">500</ns1:UnitSellingPrice>
<ns1:Quantity unitCode="Ea">200</ns1:Quantity>
<ns1:Description>Sentinel Personal</ns1:Description>
<ns1:UnitOfMeasure>Ea</ns1:UnitOfMeasure>
<!-- UOM_CODE -->
<ns1:Item>PTO54222</ns1:Item>
<ns1:ItemDescription>Sentinel Personal</ns1:ItemDescription>
<ns1:ReferenceNumber>:683158:1233895</ns1:ReferenceNumber>
<ns1:TaxPointDate>2015-12-14</ns1:TaxPointDate>
<ns1:LineTaxAmount currencyCode="USD">20000</ns1:LineTaxAmount>
<ns1:RoundedLineTaxAmount currencyCode="USD">0</ns1:RoundedLineTaxAmount>
<ns1:TaxClassificationCode>VAT20</ns1:TaxClassificationCode>
<ns1:TrxBusinessCategory>SALES_TRANSACTION</ns1:TrxBusinessCategory>
<ns1:ProductType>GOODS</ns1:ProductType>
<ns1:UserDefinedFiscClass xsi:nil="true"/>
<ns1:ItemNumber>PTO54222</ns1:ItemNumber>
<ns1:TranslatedDescription xsi:nil="true"/>
<ns1:TpItemNumber xsi:nil="true"/>
<ns1:TpItemDesc xsi:nil="true"/>
<ns1:ItemCategoryName>Uncategorized</ns1:ItemCategoryName>
<ns1:TaxClassificationMeaning>VAT20</ns1:TaxClassificationMeaning>
<ns1:TrxBusinessCategoryName>Sales Transaction</ns1:TrxBusinessCategoryName>
<ns1:ProductFiscClassifCode xsi:nil="true"/>
<ns1:ProductFiscClassifDesc xsi:nil="true"/>
<ns1:LineIntendedUseCode xsi:nil="true"/>
<ns1:LineIntendedUseDesc xsi:nil="true"/>
<ns1:ProductCategoryName xsi:nil="true"/>
<ns1:ProductCategoryCode xsi:nil="true"/>
<ns1:UserDefinedFiscClassName xsi:nil="true"/>
<ns1:ItemDescriptionUs>Sentinel Personal</ns1:ItemDescriptionUs>
<ns1:OriginalTrxNumber>12345</ns1:OriginalTrxNumber>
<ns1:OriginalTrxType>Invoice</ns1:OriginalTrxType>
<ns1:OriginalTrxClass>INV</ns1:OriginalTrxClass>
<ns1:OriginalTrxDate>14-DEC-15</ns1:OriginalTrxDate>
<ns1:OriginalLineNumber>1</ns1:OriginalLineNumber>
<ns1:ShipToLocAddress1>320 N First St</ns1:ShipToLocAddress1>
<ns1:ShipToLocAddress2>1</ns1:ShipToLocAddress2>
<ns1:ShipToLocAddress3>2</ns1:ShipToLocAddress3>
<ns1:ShipToLocCity>San Jose</ns1:ShipToLocCity>
<ns1:ShipToLocPostalCode>95113</ns1:ShipToLocPostalCode>
<ns1:ShipToLocCounty>Santa Clara</ns1:ShipToLocCounty>
<ns1:ShipToLocCountry>US</ns1:ShipToLocCountry>
<ns1:TransferDocSalesOrder>
<ns1:CustomerTrxLineId>1233895</ns1:CustomerTrxLineId>
<ns1:SalesOrder>404082</ns1:SalesOrder>
<ns1:SalesOrderRevision xsi:nil="true"/>
<ns1:SalesOrderDate>2015-12-14</ns1:SalesOrderDate>
<ns1:SalesOrderLine>300100088483495</ns1:SalesOrderLine>
</ns1:TransferDocSalesOrder>
<ns1:TransferDocLineCharge>
<ns1:ChargeAmount>10.00</ns1:ChargeAmount>
<ns1:LineType>FREIGHT</ns1:LineType>
<!-- CHARGE_REASON_CODE -->
</ns1:TransferDocLineCharge>
<ns1:TransferDocLineCharge>
<ns1:ChargeAmount>5.00</ns1:ChargeAmount>
<ns1:LineType>MISC</ns1:LineType>
<!-- CHARGE_REASON_CODE -->
</ns1:TransferDocLineCharge>
<!-- End -->
<ns1:TransferDocPurchaseOrder>
<ns1:PurchaseOrder>PO123456789</ns1:PurchaseOrder>
</ns1:TransferDocPurchaseOrder>
<ns1:TransferDocTax>
<ns1:TaxAmount currencyCode="USD">20000</ns1:TaxAmount>
<ns1:CurrencyCode>USD</ns1:CurrencyCode>
<ns1:TaxCode>VAT20</ns1:TaxCode>
<ns1:TaxRate>20</ns1:TaxRate>
<ns1:TaxRateCode>S</ns1:TaxRateCode>
<!-- TAX_CATEGORY_CODE -->
</ns1:TransferDocTax>
</ns1:TransferDocLine>
<ns1:TransferDocPaymentTerm>
<ns1:PaymenttermName>30 Net</ns1:PaymenttermName>
<ns1:PaymenttermDescription>Payment of the transaction balance is due within 30 days of the transaction date.</ns1:PaymenttermDescription>
<!-- PAYMENT_TERMS -->
<ns1:PaymenttermStartDate>1952-01-01</ns1:PaymenttermStartDate>
<ns1:CustomerTrxId>683158</ns1:CustomerTrxId>
<ns1:DueDate>2016-01-13</ns1:DueDate>
<ns1:DueAmount currencyCode="USD">149200</ns1:DueAmount>
<ns1:CurrencyCode>USD</ns1:CurrencyCode>
<ns1:DiscountDate xsi:nil="true"/>
<ns1:DiscountAmount xsi:nil="true"/>
</ns1:TransferDocPaymentTerm>
<ns1:TransferDocBillToTradeParty>
<ns1:PartyName>General Technologies</ns1:PartyName>
<ns1:AddressLineOne>320 N First St</ns1:AddressLineOne>
<ns1:AddressLineTwo>Line 2</ns1:AddressLineTwo>
<ns1:AddressLineThree xsi:nil="true"/>
<ns1:AddressLineFour xsi:nil="true"/>
<ns1:City>San Jose</ns1:City>
<ns1:County>Santa Clara</ns1:County>
<ns1:State>CA</ns1:State>
<ns1:Province xsi:nil="true"/>
<ns1:PostalCode>95113</ns1:PostalCode>
<ns1:TaxpayerIdNumber>NL821699180B01</ns1:TaxpayerIdNumber>
<ns1:CountryCode>US</ns1:CountryCode>
<!-- EAS_CODE and ICD_CODE and COUNTRY_CODE -->
<ns1:CustomerTaxRegNumber>CustomerTaxRegNumber</ns1:CustomerTaxRegNumber>
</ns1:TransferDocBillToTradeParty>
<ns1:TransferDocShipToTradeParty>
<ns1:AddressLineOne>320 N First St</ns1:AddressLineOne>
<ns1:AddressLineTwo>Line 2</ns1:AddressLineTwo>
<ns1:City>San Jose</ns1:City>
<ns1:County>Santa Clara</ns1:County>
<ns1:State>CA</ns1:State>
<ns1:Province xsi:nil="true"/>
<ns1:PostalCode>95113</ns1:PostalCode>
<ns1:CountryCode>US</ns1:CountryCode>
<!-- ICD_CODE and COUNTRY_CODE -->
<ns1:CustomerTaxRegNumber>12345</ns1:CustomerTaxRegNumber>
</ns1:TransferDocShipToTradeParty>
<ns1:TransferDocHeaderTax>
<ns1:TaxAmount currencyCode="USD">23200</ns1:TaxAmount>
<ns1:TaxableAmount currencyCode="USD">116000</ns1:TaxableAmount>
<ns1:TaxRate>20</ns1:TaxRate>
<ns1:TaxRateCode>VAT20</ns1:TaxRateCode>
</ns1:TransferDocHeaderTax>
</ns2:result>
</ns3:findTransferDocumentByDocumentCustomerTrxIdResponse>
</Document>
</sendCollaborationDocument>