Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
  "invoice": {
    "typeCode": "380",
    "invoiceHeader": {
      "identifier": "123456"[
        {
          "content": "26287c3b-2db2-4af2-a70a-ecc63255de4c",
          "typeCode": "UUID"
        }
      ],
      "documentIdentifierSet": {
        "identifier": [
          {
            "content": "2130948342",
            "typeCode": "UUIDReceiptID"
          }
        ]
      },
      "documentDateTime": "2020-0803-10T1520T09:00:0043.456-0405:00",
      "note": "We need this paid ASAP.You are 30 days past due on the prior invoice",
      "documentReference": [
        {
          "identifier": {
            "content": "213094834267d9dd71-5ca3-4f87-ac06-25d7488662f6",
            "typeCode": "stringInvoiceReference"
          },
          "typeCode": "dispatch adviceReceipt",
          "documentDateTime": "2020-03-20T12:50:45.456+00:0001-15"
        }
      ],
      "status": {
        "code": "NewOriginal",
        "reasonCode": "NAPastDueIncluded",
        "reason": "NAPartial amount paid on prior invoice",
        "effectiveTimePeriod": {
          "startDateTime": "20212020-03-18T0020T09:2400:29.981Z43.456-05:00",
          "endDateTime": "20212020-0304-18T0020T09:2400:29.981Z43.456-05:00"
        }
      },
      "totalAmount": {
        "content": 08849.7551,
        "currencyCode": "AEDUSD"
      },
      "supplierParty": {
        "identifier": [
          {
            "content": "string123454321",
            "schemeIdentifier": "string",
            "typeCode": "stringPartyIdentification"
          },
        "taxIdentifier": [],
          "taxIdentifier": {
            "content": "string51-12345678",

           "typeCode": "Federal"
          }
        ],
        "name": [
          {
            "content": "SmallSupplierA",

           "typeCode": "stringLegalName"
        },
 }       "location": {
 ],         "locationname": { "Mason City Warehouse",
          "postalAddress": {
            "addressLine": [
              "string123 Example Street"
            ],
            "cityName": "stringMason City",
            "countrySubDivisionCode": "string", {
              "countryCodecontent": "stringIA",
              "postalCodetypeCode": "stringState"
          }  },
      },         "contactcountryCode": ["USA",
            "postalCode": "30316"
          }
        },
        "contact": [
          {
            "personName": [
              {
                "formattedName": "stringJoe Example"
              }
            ],
            "roleCode": "stringManager",
            "jobTitle": "stringPlant Manager",
            "responsibility": "stringNA",
            "organizationUnitIdentifier": "string123232",
            "telephoneCommunication": [
              {
                "identifiertypeCode": ["Work",
                "identifier": "641.201.1234"
{              }
      "content": "string",      ],
              "typeCode": "string"
                  }
                ]
              }
            ],
            "emailAddressCommunication": [
              {
                "identifier": "stringJoe.Example@smallbusinessA.com"
              }
            ],
            "internetAddressCommunication": {
              "useCodetypeCode": "stringHomePage",
              "webAddressUri": "http://www.supplierNamesmallbusinessa.com"
            }
          }
        ]
      },
      "customerParty": {
        "identifier": {
          "content": "58885",
          "schemeIdentifier": "string",
          "typeCode": "string"
        },
        "dunsid": "3434343",
        "accountIdentifier": ["58885",
          "58885"
        ],
        "name": {
          "content": "string",
          "typeCode": "string"
        },
        "location": [{
          "postalAddress": {
            "postalAddressaddressLine": [
              {"string"
            ],
   "addressLine": [                   "cityName": "string",
                ]"countrySubDivisionCode": "string",
                "cityNamecountryCode": "string",
               "postalCode": "countrySubDivisionCodestring":
[          }
        "string"},
        "contact": [
      ],    {
            "countryCodepersonName": "string",[
              {
  "postalCode": "string"             "formattedName": "string"
}             ] }
         }     ],
   ],         "contacttelephoneCommunication": [
              {
                "personNameidentifier": [
              {    "string"
            "formattedName": "string"    ]
              }
            ],
            "telephoneCommunicationemailAddressCommunication": [
              {
                "identifier": [
                  "string"
                ]
              }
            ],
          }
 "emailAddressCommunication":  [     ],
        "buyerContact": {
                "identifier": ["string",
          "personName": [
       "string"     {
           ]   "formattedName": "string"
          }  }
          ],
          }"jobTitle": "string",
        ],
        "buyerContact": {
          "identifier"organizationUnitIdentifier": "string",
          "personNametelephoneCommunication": [
            {
              "formattedNameidentifier": "string" [
                "string"
   }           ],
          "jobTitle": "string", }
         "organizationUnitIdentifier": "string" ],
          "telephoneCommunicationemailAddressCommunication": [
            {
              "identifier": [
                "string"
              ]
            }
          ],
          "emailAddressCommunicationpreference": [
            {

             "identifiernote": [
 
              "string"
 
            ]
          }
 }       }
   ],   },
       "preferenceremitToParty": {
        "identifier": {
  "note": [       "content": "string",
      "string"    "schemeIdentifier": "string",
       ]   "typeCode": "string"
      }  },
      }  "name": [
   },       "remitToPartystring":
{        ],
"identifier": [           "location": {
            "contentpostalAddress": "string",{
            "schemeIdentifieraddressLine": [
"string",             "typeCode": "string"
          }  ],
      ],      "cityName": "string",
 "name": [          "countrySubDivisionCode": "string",
        ],    "countryCode": "string",
            "locationpostalCode": [ "string"
          }
    {    },
        "postalAddresscontact": [
          {
        {    "personName": [
           "addressLine": [  {
                "formattedName": "string"
              }
 ],           ],
            "cityNametelephoneCommunication": "string",[
                "countrySubDivisionCode": "string",{
                "countryCodeidentifier": "string",[
                 "postalCode": "string"
              }  ]
          ]    }
      }      ],
  ],          "contactemailAddressCommunication": [
          {    {
        "personName": [       "identifier": [
      {            "string"
    "formattedName": "string"           ]
   }           }
 ],           ]
 "telephoneCommunication": [         }
     {   ]
      },
      "identifiershipToParty": [{
        "identifier": "58885",
        "stringname": "Happy Dairy Farm",
        "location": {
   ]       "identifier": {
      }             ]"content": "Location1232321",
            "emailAddressCommunicationschemeIdentifier": ["string"
          },
   {                 "identifier"coordinate": [{
            "verticalMeasure": "string",
            "latitudeMeasure": "string",
            "longitudeMeasure": "string"
    ]      },
          "postalAddress": }{
            ]"addressLine": [
           }   "string"
     ]       }],
      "shipToParty": [       "cityName": "string",
 {           "identifiercountrySubDivisionCode": [
              "58885string"
            ],
            "namecountryCode": ["string",
            "postalCode"Happy Dairy Farm: "string"
          ]},
          "locationphysicalAddress": [{
            {
"addressLine": [
             "identifier": [ "12345 Co Hwy 8"
            ],
     {       "cityName": "string",
            "contentcountrySubDivisionCode": "Location1232321",
 {
                "schemeIdentifiercontent": "string",
              "typeCode": "State"
  }          },
    ],        "countryCode": "string",
      "coordinate": [     "postalCode": "string"
          {},
          "glnid": "123456789"
  ],      },
        "postalAddresscontact": [
          {
     {       "typeCode": "Owner",
            "addressLinepersonName": [
              {
     "string"           "formattedName": "string"
       ],       }
           "cityName": "string" ],
            "telephoneCommunication": [
    "countrySubDivisionCode": [          {
                "stringtypeCode": "Mobile",
                 ],"identifier": [
                  "countryCode": "string",
                  "postalCode": "string"01.507.555.1234"
                ]
            }  }
            ],
 
            "physicalAddressemailAddressCommunication": [
 
              {
 
                "addressLineidentifier": [
                    "12345 Co Hwy 8""string",
                  ],"mabel.e.farmer@emailaddress.com"
                ]
 "countrySubDivisionCode": [            }
        {    ]
          }
       "typeCode": "State" ]
      },
      "billToParty": {
     }   "identifier": {
          "content": "125484",
  ]        "schemeIdentifier": "string",
       }   "typeCode": "string"
          ]},
              "glnid"accountIdentifier": "123456789"[
            }
"1232323"
         ],
          "contactname": [
 
          {
              "typeCodecontent": "OwnerMary's Accounting Services",
 
            "personNametypeCode": ["string"
          }
        ],
 {}       "location": [
        ],  {
            "telephoneCommunicationpostalAddress": [
                {
                  "typeCodeaddressLine": "Mobile",[
                  "identifierstring":
[                     null],
                "cityName": "string",
  "01.507.555.1234"              "countrySubDivisionCode": [
   ]               "string"
 }               ],
                "emailAddressCommunicationcountryCode": "string",
[                 {"postalCode": "string"
              }
   "identifier": [        ]
          }
 null,       ],
        "contact": [
   "mabel.e.farmer@emailaddress.com"       {
            "personName": [
]              {
  }               ]"formattedName": "string"
              }
            ],
         }   "telephoneCommunication": [
  ],       "billToParty": {    {
    "identifier": {           "contentidentifier": [
"125484",           "schemeIdentifier": "string",      "string"
    "typeCode": "string"         },  ]
      "accountIdentifier": [       }
   "1232323"         ],
            "nameemailAddressCommunication": [
              {
                "contentidentifier": "Mary's Accounting Services",[
                 "typeCode": "string"
          }      ]
  ],         "location": [  }
        {    ]
        "postalAddress": [ }
        ],
    {    "buyerContact": {
           "addressLineidentifier": [

                 "string"
          ]
     ],   }
      },
      "cityNamepurchaseOrderReference": "string",{
        "identifier": {
      "countrySubDivisionCode": [   "content": "123232",
              "typeCode": "string"
        },
       ],    "documentIdentifierSet": {
            "countryCodeidentifier": "string",[
                "postalCode": "string"
              }
            ]
          }
        ],
        "contact": [
          {
            "personName": [
              {
                "formattedName": "string"
              }
            ],
            "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",
        "note": [
          "Urgent Need for 1800 lbs"
        ],{
               "statuscontent": ["5yt643095485454",
          {    "typeCode": "Supplier Order Number"
     "typeCode": "Open"       }
   }       ]
 ]       },
        "contractReferencetypeCode": {"DirectShip",
        "identifierdocumentDateTime": "contract1232322021-02-22T14:57:01-05:00",
        "statusnote": [
          {"Urgent Need for           "effectiveTimePeriod": {1800 lbs"
         ],
     "startDateTime": "2021-03-18T00:24:29.982Z",   "status": [
          "endDateTime": "2021-03-18T00:24:29.982Z"{
             }"typeCode": "Open"
          }
        ]
      },
      "paymentcontractReference": {
        "identifier": "contract123232",
        "status": [
          {
            "content"effectiveTimePeriod": {
              "startDateTime": "string",
              "schemeIdentifierendDateTime": "string"
            }
          }
 ],       ]
 "note": [    },
      "stringpayment": {
        "identifier": [
  ],        {
"paymentTerm": {           "descriptioncontent": "string",
            "dueDateTimeschemeIdentifier": "2021-03-18T00:24:29.982Zstring"
        },  }
      "extension": [ ],
         {}"note": [
        ]  "string"
    },    ],
  "tax": [        "paymentTerm": {
          "typeCodedescription": "Salesstring",
          "taxJurisdicationCodesdueDateTime": {"string"
        },
        "codeextension": "string"[
          {},
        ]
 "basisAmount": 0,    },
      "calculationtax": {[
            "rateNumber": 0 {
           }"typeCode": "Sales",
          "exemptiontaxJurisdicationCodes": {
            "typeCodecode": "string",
          },
      "description": [   "basisAmount": 0,
          "stringcalculation": {
           ] "rateNumber": 0
          },
          "amountexemption": {
            "contenttypeCode": 549.3551"string",
            "currencyCodedescription": [
"USD"           }   "string"
     }       ],
      "distribution": [         {},
          "amount": {
            "content": 0549.3551,
            "currencyCode": "stringUSD"
          },
        }
 "enterpriseUnit": {    ],
        "costCenterIdentifierdistribution": "string"
 [
        },{
          "projectReferenceamount": {
            "identifiercontent": [0,
             "currencyCode": "string"
          },
 ]         "generalLedgerElement": "string",
 }         }"enterpriseUnit": {
     ],       "chargecostCenterIdentifier": ["string"
          {},
          "basisAmountprojectReference": {
 0,           "amountidentifier": [
   0,           "calculationstring":
  {          ]
  "rateNumber": 0       }
   },     }
     "reasonCode": [ ],
      "charge": [
    {    {
          "contentbasisAmount": "string"0,
              "typeCodeamount": 0,
"string"          "calculation": {
 }           ]"rateNumber": 0
       }   },
   ],       "allowancereasonCode": [
            {
              "basisAmountcontent": 0"string",
              "amounttypeCode": 0,"string"
          "calculation": { }
          ]
"rateNumber": 0       }
   },    ],
      "reasonCodeallowance": [
            {

             "contentbasisAmount": "string"0,
          "amount": 0,
  "typeCode": "string"       "calculation": {
    }        "rateNumber": 0
 ]         }
  ,
   ],       "transportationTermreasonCode": {[
        "freightTermCode": "DLV"   {
   },       "extension": [     "content": "string",
   {           "dateTimetypeCode": ["string"
            {}
          ]
   "content": "2021-03-04T08:00:00-05:00",    }
      ],
   "typeCode": "Requested Delivery Date"transportationTerm": {
        "freightTermCode": "DLV"
 }     },
     ], "shipmentReference": {
        "textidentifier": [
            {
 
            "content": "string2130948342",
              "typeCode": "stringshipmentHeader.identifier"
 
          }
 
        ],

         "currencyCodedocumentIdentifierSet": [
 
          {
 
            "contentidentifier": "CAD",[
              "listIdentifier": "Tax"{
             }     "content": "2130948342",
     ],           "paymentMethodtypeCode": ["ShipmentDocument"
            {  }
            "typeCode": "string",]
          }
    "identifier":  [  ],
        "documentDateTime": "2020-03-19T22:50:45.456-05:00"
    "string"  },
      "extension": [
    ],    {
          "creditCarddateTime": {},[
              "debitCard": {},
              "electronicFundsTransfercontent": {
 "2021-03-04T08:00:00-05:00",
              "typeCode": "string",Requested Delivery Date"
            }
         "identifier": [ ],
          "text": [
      {      {
              "content": "string",

                   "typeCode": "string"
            }
         } ]
        }
      ]
    },
    "invoiceLine": [
      {
        "nameOnAccountlineNumberIdentifier": "string1",
        "note": [
        "routingNumberIdentifier":  "string"
        ],
     }        "documentReference": [
    }      {
    ]        "identifier": }{
      ]     },     "invoiceLinecontent": [
"string",
     {         "lineNumberIdentifiertypeCode": "1string",
           "note": [}
          "string"}
        ],
        "documentReferencestatus": [
          {
            "identifiereffectiveTimePeriod": {
              "contentstartDateTime": "string",
              "typeCodeendDateTime": "string"
            }
          }
        ],
        "statusitem": [{
          "identifier": {
            "effectiveTimePeriodcontent": {"string",
              "startDateTimeschemeIdentifier": "2021-03-18T00:24:29.982Z",string"
          },
   "endDateTime": "2021-03-18T00:24:29.982Z"       "customerItemIdentification": {
      }      "identifier": "091818"
   }       },
 ],         "itemmanufacturerItemIdentification": {
            "identifier": {
              "content": "string1213579",
              "schemeIdentifiertypeCode": "stringSKU"
            }
          },
          "customerItemIdentificationsupplierItemIdentification": {
            "identifier": "091818" {
              },"content": "1213579",
              "manufacturerItemIdentificationtypeCode": {"SKU"
            }
   "identifier": {       },
          "contentupcid": "1213579NA",
   
          "typeCodeepcid": "SKUNA",
          "description": [
         }   "Custom Feed Blend - Derived from Milk Max },Plus Basic"
         "supplierItemIdentification": {  ],
          "identifierclassification": {[
              "content": "1213579",{
               "typeCodecodes": "SKU"{
            }    "code": [
     },           "upcid": "NA", {
         "epcid": "NA",           "descriptioncontent": [
"string",
           "Custom Feed Blend - Derived from Milk Max Plus Basic"listIdentifier": "string",
         ],           "classificationlistVersionIdentifier": [
"string"
           {       }
       "codes": {        ]
        "code": [     }
            }
{          ],
          "contentcountryOfOriginCode": "string",
        },
        "itemInstance": [
 "listIdentifier": "string",        {
            "listVersionIdentifierserialNumberIdentifier": "string"[
              "string"
   }         ],
       ]     "lot": [
        }      {
      }           ],"identifier": [
          "countryOfOriginCode": "string"       "string"
 },         "itemInstance": [     ]
     {         }
   "serialNumberIdentifier": [        ]
      "string"    }
        ],
            "lotquantity": [
              {
   
            "identifiercontent": [2000,
            "unitCode": "LB",
    "string"        "typeCode": "string"
       ]   }
        ],
  }      "unitPrice": {
     ]     "basisQuantity": {
    }        "content": ]1,
            "quantityunitCode": ["LB"
          {},
            "contentunitAmount": 2000,{
            "unitCodecontent": "LB"3.6502,
            "typeCodecurrencyCode": "stringUSD"
          }
        ]},
        "unitPricepurchaseOrderReference": {
[
         "basisQuantity": {
            "contentlineNumberIdentifier": 1,"string"
            "unitCode": "LB"
 }
        }],

         "unitAmountbuyerParty": {
 
          "contentaccountIdentifier": 3.6502,[
            "currencyCode": "USDstring"
          }]
        },
        "purchaseOrderReferenceextendedAmount": [{
          {
 "content": 7300.4,
          "lineNumberIdentifiercurrencyCode": "stringUSD"
        },
 }       "totalAmount": {
],          "buyerPartycontent": {7849.7551,
          "accountIdentifiercurrencyCode": "USD"
[        },
    "string"    "tax": [
     ]     {
   },         "extendedAmounttaxJurisdicationCodes": {
              "contentcode": 7300.4, "string"
            },
            "currencyCodecalculation": "USD"{
        },        "rateNumber": "totalAmountstring":
{           "content": 7849.7551 },
            "currencyCodeamount": "USD"{
        },      "content": 549.3551,
 "tax":  [           {
"currencyCode": "USD"
           "taxJurisdicationCodes": {},
            "calculationcurrencyExchangeRate": {},
              "amountsourceCurrencyCode": {"string",
              "contenttargetCurrencyCode": 549.3551"string",
              "currencyCoderateNumber": "USDstring",
             },
 "setDateTime": "string"
           "currencyExchangeRate": {}
          }
        ],
        "distributeTax": [
          {
            "identifier": {
              "content": "string",
              "schemeIdentifier": "string"
            },
            "taxJurisdicationCodes": {
              "code": [
                {
                  "content": "string",
                  "typeCode": "string"
                }
              ]
            },
            "amount": 0
          }
        ],
        "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"
              }
            ]
          }
        ]
      }
    ]
  }
}