POST /API/v1/NaccsReport/ImportDeclarationRegistrations/CreateByBlNo
B/L番号を指定して、帳票:IDAを作成します。 ## 概要 ユーザが所属している組織(と事業種別)が作成、または参加している取引の中から、指定されたB/L番号(***blNo***)に該当する取引に対して、帳票:IDAを作成します。 帳票を作成する条件は、Createメソッドと同じく、その帳票を格納する取引を作成、または参加している組織(と事業種別)に所属するユーザであり、かつ、その帳票に対してWrite権限が必要です。 ただし、指定されたB/L番号(***blNo***)に該当する取引が存在しない、または複数存在する場合はエラーとなります。 帳票:IDAが取引内にすでに存在する場合は、Getメソッドと同じ動作となりステータスコード:200を返却します。
Request Information
URI Parameters
None.
Body Parameters
CreateReportByBlNoRequest
| Name | Description | Type | Additional information |
|---|---|---|---|
| blNo | B/L番号 |
String |
Required |
| businessTypeId | 事業種別ID |
String |
Required |
| organizationId | 組織ID |
String |
Required |
Response Information
Resource Description
ImportDeclarationRegistrations
ImportDeclarationRegistrations
| Name | Description | Type | Additional information |
|---|---|---|---|
| _etag | etag |
String |
Required |
| accountNo | 口座番号 |
String, Null |
None. |
| address1 | 住所1(都道府県) |
String, Null |
None. |
| address1StreetandNo | 住所1(Street and number/P.O.BOX) |
String, Null |
None. |
| address2 | 住所2(市区町村(行政区名)) |
String, Null |
None. |
| address2StreetandNo | 住所2(Street and number/P.O.BOX) |
String, Null |
None. |
| address3 | 住所3(町域名・番地) |
String, Null |
None. |
| address3CityName | 住所3(City name) |
String, Null |
None. |
| address4 | 住所4(ビル名ほか) |
String, Null |
None. |
| address4CountrySubEntityName | 住所4(Country sub-entity,name) |
String, Null |
None. |
| advanceTeachingEvaluation1 | 事前教示(評価) 1 |
String, Null |
None. |
| advanceTeachingEvaluation2 | 事前教示(評価) 2 |
String, Null |
None. |
| animalQuarantineCertificatieId | 動物検疫証明識別 |
String, Null |
None. |
| arrivalDate | 入港年月日 |
String, Null |
None. |
| articleforCustoms | 記事(税関用) |
String, Null |
None. |
| articleforCustomsBroker | 記事(通関業者用) |
String, Null |
None. |
| articleforShippers | 記事(荷主用) |
String, Null |
None. |
| batchIdTaxReturn | 一括申告等識別 |
String, Null |
None. |
| blNoAwbNo1 | B/L番号/AWB番号 1 |
String, Null |
None. |
| blNoAwbNo2 | B/L番号/AWB番号 2 |
String, Null |
None. |
| blNoAwbNo3 | B/L番号/AWB番号 3 |
String, Null |
None. |
| blNoAwbNo4 | B/L番号/AWB番号 4 |
String, Null |
None. |
| blNoAwbNo5 | B/L番号/AWB番号 5 |
String, Null |
None. |
| bpApplicationReasonCode | BP申請事由コード |
String, Null |
None. |
| businessTypeId | 事業種別ID |
String |
Required Format : Protect Pattern : ^(?!.*(\?|\$|#|&|,|=)).*$ |
| cargoQuantity | 貨物個数 |
Number, Null |
Format : Number(8,0) Minimum : 0 |
| cargoWeightGross | 貨物重量(グロス) |
Number, Null |
Format : Number(9,3) Maximum : 999999.999 Minimum : 0 |
| catererCode | 仕出人コード |
String, Null |
None. |
| catererName | 仕出人名 |
String, Null |
None. |
| collateralRegistrationNo1 | 担保登録番号 1 |
String, Null |
None. |
| collateralRegistrationNo2 | 担保登録番号 2 |
String, Null |
None. |
| commonControlNo | 共通管理番号 |
String, Null |
None. |
| comprehensiveEvaluationDeclarationReceiptNo1 | 包括評価申告受理番号 1 |
String, Null |
None. |
| comprehensiveEvaluationDeclarationReceiptNo2 | 包括評価申告受理番号 2 |
String, Null |
None. |
| comprehensiveEvaluationDeclarationReceiptNo3 | 包括評価申告受理番号 3 |
String, Null |
None. |
| comprehensiveInsuranceNo | 包括保険番号 |
String, Null |
None. |
| containerHandlingNo | コンテナ扱い本数 |
Number, Null |
Format : Number(3,0) Minimum : 0 |
| contentInspectionetcResult | 内容点検等結果 |
String, Null |
None. |
| countryCodeCountryCoded | 国名コード(Country,coded) |
String, Null |
None. |
| customsClerkCode | 税関事務管理人コード |
String, Null |
None. |
| customsOfficeManagerAcceptanceNo | 税関事務管理人受理番号 |
String, Null |
None. |
| customsOfficeManagerName | 税関事務管理人名 |
String, Null |
None. |
| customsResearchCode | 税関調査用符号 |
String, Null |
None. |
| dealInformation |
Required |
||
| dealReportId | 取引・帳票ID |
String |
Required |
| declarationCargoId | 申告貨物識別 |
String, Null |
None. |
| declarationDestinationTypeCode | 申告先種別コード |
String, Null |
None. |
| declarationEtcEstimatedDate | 申告等予定年月日 |
String, Null |
None. |
| declarationEtcNo | 申告等番号 |
String, Null |
None. |
| declarationEtcPersonnelCode | 申告等予定者コード |
String, Null |
None. |
| declarationEtcTypeCode | 申告等種別コード |
String, Null |
None. |
| destinationDepartmentCode | あて先部門コード |
String, Null |
None. |
| destinationOfficeCode | あて先官署コード |
String, Null |
None. |
| electronicInvoiceReceiptNo | 電子インボイス受付番号 |
String, Null |
None. |
| estimatedCustomsClearanceWarehouseCode | 通関予定蔵置場コード |
String, Null |
None. |
| evaluationBasisofModification | 評価補正基礎額 |
String, Null |
None. |
| evaluationClassificationCode | 評価区分コード |
String, Null |
None. |
| evaluationModificationBaseAmountCurrencyCode | 評価補正基礎額通貨コード |
String, Null |
None. |
| evaluationModificationClassificationCode | 評価補正区分コード |
String, Null |
None. |
| evaluationModificationFormula | 評価補正補正式 |
String, Null |
None. |
| extendedDeliveryDeadLineCode | 納期限延長コード |
String, Null |
None. |
| fare | 運賃 |
String, Null |
None. |
| fareClassificationCode | 運賃区分コード |
String, Null |
None. |
| fareCurrencyCode | 運賃通貨コード |
String, Null |
None. |
| firstStorageEtcApprovalDate | 最初蔵入等承認年月日 |
String, Null |
None. |
| foodHygieneCertificationId | 食品衛生証明識別 |
String, Null |
None. |
| idCode | 識別符号 |
String, Null |
None. |
| importApprovalCertificateIdentifications |
Collection, Null of importApprovalCertificateIdentifications |
None. |
|
| importCertificateAttachmentId | 輸入承認証添付識別 |
String, Null |
None. |
| importerCode | 輸入者コード |
String, Null |
None. |
| importerName | 輸入者名 |
String, Null |
None. |
| importerTel | 輸入者電話番号 |
String, Null |
None. |
| importTradeControlOrderIdunderArticle3 | 輸入貿易管理令第3条等識別 |
String, Null |
None. |
| importTraderCode | 輸入取引者コード |
String, Null |
None. |
| importTraderName | 輸入取引者名 |
String, Null |
None. |
| inspectionWitness | 検査立会者 |
String, Null |
None. |
| insuranceAmount | 保険金額 |
String, Null |
None. |
| insuranceClassificationCode | 保険区分コード |
String, Null |
None. |
| insuranceCurrencyCode | 保険通貨コード |
String, Null |
None. |
| invoice |
Required |
||
| invoiceCurrencyCode | インボイス通貨コード |
String, Null |
None. |
| invoiceId | インボイス識別 |
String, Null |
None. |
| invoiceNo | インボイス番号 |
String, Null |
None. |
| invoicePrice | インボイス価格 |
String, Null |
None. |
| invoicePriceClassificationCode | インボイス価格区分コード |
String, Null |
None. |
| invoicePriceConditionCode | インボイス価格条件コード |
String, Null |
None. |
| itemCodes |
Collection, Null of itemCodes |
None. |
|
| largeSmallAmountId | 大額・少額識別 |
String, Null |
None. |
| loadingShipCode | 積載船舶コード |
String, Null |
None. |
| loadingShipMachineName | 積載船(機)名 |
String, Null |
None. |
| noforDomesticReference | 社内整理用番号 |
String, Null |
None. |
| offloadingLocationCode | 積出地コード |
String, Null |
None. |
| offloadingLocationName | 積出地名 |
String, Null |
None. |
| organizationId | 組織ID |
String |
Required Format : Protect Pattern : ^(?!.*(\?|\$|#|&|,|=)).*$ |
| otherLawCode1 | 他法令コード 1 |
String, Null |
None. |
| otherLawCode2 | 他法令コード 2 |
String, Null |
None. |
| otherLawCode3 | 他法令コード 3 |
String, Null |
None. |
| otherLawCode4 | 他法令コード 4 |
String, Null |
None. |
| otherLawCode5 | 他法令コード 5 |
String, Null |
None. |
| partitionNo | パーティション番号 |
Integer, Null |
Format : Protect |
| paymentMethodId | 納付方法識別 |
String, Null |
None. |
| plantProtectionCertificateId | 植物防疫証明識別 |
String, Null |
None. |
| postCodePostCodeId | 郵便番号(Postcode identification) |
String, Null |
None. |
| quantityUnitCode | 個数単位コード |
String, Null |
None. |
| representativeCommodities |
Collection, Null of representativeCommodities |
Format : Reference("/API/v1/Root/RepresentativeCommodities/OData?$select=marksAndNumbers,representativeCommodityId,dealNo,sortNo,partitionNo&$filter=dealNo+eq+{value}&$orderby=sortNo",marksAndNumbers,representativeCommodityId,dealNo,sortNo,partitionNo);Protect |
|
| shipperReferenceNo | 荷主リファレンスナンバー |
String, Null |
None. |
| shipperSectionCode | 荷主セクションコード |
String, Null |
None. |
| shipPickupWholesalePortCode | 船(取)卸港コード |
String, Null |
None. |
| specialDeclarationAddressOfficeCode | 特例申告あて先官署コード |
String, Null |
None. |
| specialDeclarationDestinationDepartmentCode | 特例申告あて先部門コード |
String, Null |
None. |
| storageEtcBondedAreaCode | 蔵入等先保税地域コード |
String, Null |
None. |
| symbolNo | 記号番号 |
String, Null |
None. |
| taxReturnId | 戻税申告識別 |
String, Null |
None. |
| totalTaxablePriceProrationFactor | 課税価格按分係数合計 |
String, Null |
None. |
| tradeTypeSeparateSymbol | 貿易形態別符号 |
String, Null |
None. |
| weightUnitCodeGross | 重量単位コード(グロス) |
String, Null |
None. |
| zipPostalCode | 郵便番号 |
String, Null |
None. |