...
Code Block |
---|
{ "invoice": { "typeCode": "380", "invoiceHeader": { "identifier": [ { "content": "26287c3b-2db2-4af2-a70a-ecc63255de4c", "typeCode": "UUID" } ], "documentIdentifierSet": { "identifier": [ { "content": "2130948342", "typeCode": "ReceiptID" } ] }, "documentDateTime": "2020-03-20T09:00:43.456-05:00", "note": "You are 30 days past due on the prior invoice", "documentReference": [ { "identifier": { "content": "67d9dd71-5ca3-4f87-ac06-25d7488662f6", "typeCode": "InvoiceReference" }, "typeCode": "InvoiceReference", "documentDateTime": "2020-01-15" } ], "status": { "code": "Original", "reasonCode": "PastDueIncluded", "reason": "Partial amount paid on prior invoice", "effectiveTimePeriod": { "startDateTime": "2020-03-20T09:00:43.456-05:00", "endDateTime": "2020-04-20T09:00:43.456-05:00" } }, "totalAmount": { "content": 8007.296725, "currencyCode": "USD" }, "supplierParty": { "identifier": [ { "content": "123454321", "schemeIdentifier": "NA", "typeCode": "PartyIdentification" } ], "taxIdentifier": { "content": "51-12345678", "typeCode": "Federal" }, "name": { "content": "SmallSupplierA", "typeCode": "LegalName" }, "location": { "name": "Mason City Warehouse", "postalAddress": { "addressLine": [ "123 Example Street" ], "cityName": "Mason City", "countrySubDivisionCode": { "content": "IA", "typeCode": "State" }, "countryCode": "USA", "postalCode": "30316" } }, "contact": [ { "personName": [ { "formattedName": "Joe Example" }, } ], "roleCode": "Manager", "jobTitle": "Plant Manager", "responsibility": "NA", "organizationUnitIdentifier": "123232", "telephoneCommunication": [ { "typeCode": "Work", "identifier": "641.201.1234" } ], "emailAddressCommunication": { "identifier": "Joe.Example@smallbusinessA.com" }, "internetAddressCommunication": { "typeCode": "HomePage", "webAddressUri": "http://www.smallbusinessa.com" } } ] }, "customerParty": { "identifier": { "content": "58885", "schemeIdentifier": "NA", "typeCode": "PartyIdentification" }, "dunsid": "3434343", "accountIdentifier": "58885", "name": { "content": "LargeCustomerA", "typeCode": "LegalName" }, "location": { "postalAddress": { "addressLine": [ "123 Customer St N" ], "cityName": "Anytown", "countrySubDivisionCode": [ { "content": "MN", "typeCode": "State" } ], "countryCode": "USA", "postalCode": "55126" } }, "contactbuyerContact": [{ { "identifier": "1232", "typeCodepersonName": "AP",{ "personNameformattedName": {"Buyer Name" }, "formattedNamejobTitle": "Bob NumberCruncherstring", }"organizationUnitIdentifier": "string", "telephoneCommunication": [ { "typeCode": "Work", "identifier": "651.375.00010002" } ], "emailAddressCommunication": { "identifier": "BobBuyer.NumberCruncher@LargeCustomerAName@LargeCustomerA.com" }, } "preference": { } ], "note": [ "buyerContact": { "Email Preferred method of communication"identifier": "1232", "personName":] { } "formattedName": "Buyer Name" } }, "jobTitleremitToParty": "string",{ "organizationUnitIdentifieridentifier": "string",{ "telephoneCommunicationcontent": ["125484", {"schemeIdentifier": "NA", "typeCode": "WorkPartyIdentification", }, "identifieraccountIdentifier": "651.375.00021232323", "name": "Mary's Accounting Services", } "location": { ], "emailAddressCommunicationpostalAddress": { "identifieraddressLine": "Buyer.Name@LargeCustomerA.com" [ "543 Accounting Way" }, "preference": { ], "notecityName": ["Le Roy", "countrySubDivisionCode"Email: Preferred[ method of communication" { ] } "content": "MN", } }, "remitToPartytypeCode": {"State" "identifier": { } "content": "125484", ], "schemeIdentifiercountryCode": "NAUSA", "typeCodepostalCode": "PartyIdentification55951" }, } "accountIdentifier": "1232323", "name": "Mary's Accounting Services" }, "locationcontact": {[ "postalAddress": { "addressLinepersonName": [{ "543 Accounting WayformattedName": "Mary Precise" ]}, "cityNamejobTitle": "LeLead RoyAccountant", "countrySubDivisionCodetelephoneCommunication": [ { "contenttypeCode": "MNWork", "typeCodeidentifier": "State01.507.555.4321" } ], "countryCodeemailAddressCommunication": "USA", { "postalCodeidentifier": "55951Mary.Precise@marysaccounting.com" } }, "contact": [ } ] { }, "personNameshipToParty": { "formattedNametypeCode": "Mary Precisestring", }, "identifier": "1232321", "jobTitlename": "LeadHappy Dairy AccountantFarm", "telephoneCommunicationlocation": [{ { "identifier": { "typeCodecontent": "WorkLocation1232321", "identifierschemeIdentifier": "01.507.555.4321NA" }, "coordinate": { ], "emailAddressCommunicationverticalMeasure": { "15Z", "identifierlatitudeMeasure": "Mary.Precise@marysaccounting.com"43.580301503358996, }"longitudeMeasure": -92.57476726492425 }, ] "physicalAddress": { }, "shipToPartyaddressLine": {[ "identifier": "1232321", "12345 Co Hwy 8" "name": "Happy Dairy Farm", "location": {], "identifiercityName": { "Le Roy", "contentcountrySubDivisionCode": "Location1232321",[ "schemeIdentifier": "string" { }, "content": "MN", "coordinate": { "verticalMeasuretypeCode": "15ZState", "latitudeMeasure": 43.580301503358996, } "longitudeMeasure": -92.57476726492425 }, ], "physicalAddresscountryCode": {"USA", "addressLinepostalCode": ["55951-1234" }, "12345 Co Hwy 8" "glnid": "123456789" ]}, "contact": [ "cityName": "Le Roy", { "countrySubDivisionCodetypeCode": ["Owner", "personName": { "contentformattedName": "MN",Mabel E. Farmer " }, "typeCode": "State" "telephoneCommunication": [ } { ], "countryCodetypeCode": "USAMobile", "postalCodeidentifier": "55951-01.507.555.1234" }, } "glnid": "123456789" ], }, "contactemailAddressCommunication": [{ { "typeCode"identifier": "Owner",mabel.e.farmer@happyfarmleroymn.com" "personName": {} } "formattedName": "Mabel E. Farmer " ] }, }, "billToParty": { "telephoneCommunicationidentifier": [{ "content": "125484", { "schemeIdentifier": "NA", "typeCode": "MobilePartyIdentification", }, "identifiertaxIdentifier": "01.507.555.1234"string", "dunsid": "3434343", } "accountIdentifier": "1232323", ], "name": { "emailAddressCommunicationcontent": {"LargeCustomerA", "identifiertypeCode": "mabel.e.farmer@happyfarmleroymn.comstring" }, } "location": { } "postalAddress": { ] }, "addressLine": [ "billToParty": { "identifier": {123 Customer St N" "content": "125484", ], "schemeIdentifiercityName": "NAAnytown", "typeCodecountrySubDivisionCode": "PartyIdentification"[ }, { "accountIdentifier": [ "1232323content": "MN", ], "nametypeCode": [ "State" } {], "contentcountryCode": "stringUSA", "typeCodepostalCode": "string55126" } ]}, "locationcontact": [ { "postalAddresstypeCode": ["AP", "personName": { "formattedName": "Bob "addressLine": [NumberCruncher" }, "stringtelephoneCommunication": [ { ], "cityNametypeCode": "stringWork", "countrySubDivisionCodeidentifier": ["651.375.0001" } "string" ], "countryCodeemailAddressCommunication": "string", { "postalCodeidentifier": "stringBob.NumberCruncher@LargeCustomerA.com" } } } ] ] }, "purchaseOrderReference": { ], "contactidentifier": ["123232", "documentIdentifierSet": { "personNameidentifier": [{ { "content": "5yt643095485454", "formattedNametypeCode": "string"Supplier Order Number" } ], }, "telephoneCommunication": [ { "identifier": [ "string" ] } ], "emailAddressCommunication": [ { "identifier": [ "string" ] } ] } ], "buyerContact": { "identifier": [ "string" ] } }, "purchaseOrderReference": { "identifier": { "content": "123232", "typeCode": "string" }, "documentIdentifierSet": { "identifier": [ { "content": "5yt643095485454", "typeCode": "Supplier Order Number" } ] }, "typeCode": "DirectShip", "documentDateTime": "2021-02-22T14:57:01-05:00", "status": [ { typeCode": "DirectShip", "typeCodedocumentDateTime": "Open2021-02-22T14:57:01-05:00", "codestatus": { "string" }"code": "Received" ]} }, "contractReference": { "identifier": "contract123232", "status": { "code": "stringActive", "effectiveTimePeriod": { "startDateTime": "string2021-01-01", "endDateTime": "string2021-12-31" } } }, "payment": { "identifier": [ { "content": "115", "schemeIdentifier": "UNCL4461" } ], "notedescription": "stringBookentry credit", "paymentTerm": { "description": "stringNET 30", "dueDateTime": "2020-04-20T09:00:43.456-05:00", } "duration": "30" }, } "tax": { "typeCode": "Sales", }, "taxJurisdicationCodestax": { "codetypeCode": "stringSales", }"identifier": "NA", "basisAmount": 6516.9, "calculation": { "rateNumber": 0.07525 }, "exemption": { "typeCode": "stringNotExempt", "identifier": "NA", "description": [ "stringNot Exempt" ] }, "amount": { "content": 490.396725, "currencyCode": "USD" } }, "distribution": [ { "amount": { "content": 7007.296725, "currencyCode": "stringUSD" }, "generalLedgerElement": { "element": [ "ProductionCost" ] }, "enterpriseUnit": { "costCenterIdentifier": "MC" }, "projectReference": { "identifier": "NA" } } ], "charge": [ { "typeCode": "Product", "basisAmount": { "content": 3.6205, "currencyCode": "USD/LB" }, "basisQuantity": { "content": 1800, "unitCode": "LB" }, "description": "Manufacturing Costs", "amount": { "content": 6516.9, "currencyCode": "USD" }, "calculation": { "rateNumber": 1 }, "reasonCode": [ { "content": "string", "typeCode": "string" }"Purchased" ] } ], "totalChargeAmount": { "content": 7007.296725, "currencyCode": "USD" }, "allowance": { "typeCode": "NAREBATE", "basisAmount": { "content": 1, "currencyCode": "USD/LB" }, "basisQuantity": { "content": 0, "unitCode": "LB" }, "description": "NA", "amount": { "content": 0, "currencyCode": "USD" }, "calculation": { "rateNumber": 01 }, "reasonCode": [ { "content": "string", "typeCode": "string" } ] "NA" }, "totalAllowanceAmount": 0, "transportationTerm": { "freightTermCode": "DLV" }, "shipmentReference": { "identifier": [ { "content": "2130948342", "typeCode": "shipmentHeader.identifier" } ], "documentIdentifierSet": [ { "identifier": [ { "content": "2130948342", "typeCode": "ShipmentDocument" } ] } ], "documentDateTime": "2020-03-19T22:50:45.456-05:00" }, "remittanceInstructions": [ { "deliveryMethodCode": "OAGIS", "emailAddressIdentifier": [ "NA" ], "uri": "https://api.smallsupplierA.com/remittance/v1" } ] }, "invoiceLine": [ { "lineNumberIdentifier": "1", "note": "stringNA", "documentReference": [ { "identifier": "NA2130948342", "typeCode": "NAReceipt", "description": "NAReceiveDelivery" } ], "status": { "code": "Original", "effectiveTimePeriod": { "startDateTime": "string", "endDateTime": "string" } }, "item": { "identifier": { "content": "string", "schemeIdentifier": "string" }, "customerItemIdentification": { "identifier": "091818" }, "manufacturerItemIdentification": { "identifier": { "content": "1213579", "typeCode": "SKU" } }, "supplierItemIdentification": { "identifier": { "content": "1213579", "typeCode": "SKU" } }, "description": "Custom Feed Blend - Derived from Milk Max Plus Basic", "classification": { "codes": { "code": [ { "content": "string", "listIdentifier": "string", "listVersionIdentifier": "string" } ] } }, "countryOfOriginCode": "string" }, "itemInstance": [ { "serialNumberIdentifier": "NA", "lot": { "identifier": "NA" } } ], "quantity": [ { "content": 1800, "unitCode": "LB", "typeCode": "string" } ], "unitPrice": { "basisQuantity": { "content": 1, "unitCode": "LB" }, "unitAmount": { "content": 3.6502, "currencyCode": "USD" } }, "purchaseOrderReference": { "lineNumberIdentifier": "1" }, "extendedAmount": { "content": 7300.4, "currencyCode": "USD" }, "totalAmount": { "content": 7849.7551, "currencyCode": "USD" }, "tax": [ { "taxJurisdicationCodes": { "code": "Mower County" }, "taxCurrencyCode": "string", "calculation": { "rateNumber": 0.07525 }, "amount": { "content": 549.3551, "currencyCode": "USD" }, "currencyExchangeRate": { "sourceCurrencyCode": "string", "targetCurrencyCode": "string", "rateNumber": "string", "setDateTime": "string" } } ], "distributeTax": [ { "typeCode": "string", "taxJurisdicationCodes": { "code": { "content": "string", "typeCode": "string" } }, "amount": 0 } ], "distribution": { "generalLedgerElement": { "element": "532DEF" } }, "invoiceCharge": [ { "basisAmount": 0, "amount": 0, "calculation": { "rateNumber": 0 }, "reasonCode": [ { "content": "string", "typeCode": "string" } ] } ], "invoiceAllowance": [ { "basisAmount": 0, "amount": 0, "calculation": { "rateNumber": 0 }, "reasonCode": [ { "content": "string", "typeCode": "string" } ] } ], "requestedDeliveryDate": "string", "actualDeliveryDateTime": "CAD" } ] } } |