Invoice
The Invoice is used to invoice a customer for goods/services the have been provided.
Element information
Namespace: http://www.openapplications.org/oagis/10
Schema document: Common.xsd
Type: InvoiceType
Properties: Global, Qualified, ID: oagis-id-eecc2a8ba86e4a1eac8bf19977a3d9d0
Content
- Sequence [1..1]
- InvoiceHeader [0..1] Information that applies to the entire invoice document. The Header supports summary amounts for line items, charges, taxes and allowances. It also supports itemizing Header level charges, taxes and allowances for use in credit or debit invoices. In this case Line items are not needed. The summary amounts in the Header include the Line level amounts and Header level amounts.
- InvoiceLine [0..*] In general an Invoice Line can be aligned with Order Lines. The ItemQuantity and Price are used to compute the Total. The Total is a sum of the Total and any Charges, Taxes or Allowances.
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
typeCode | [0..1] | CodeType_1E7368 | ||
actionCode | [0..1] | ActionCodeContentType |
Used in
- Type AcknowledgeInvoiceDataAreaType (Element DataArea)
- Type CancelAcknowledgeInvoiceDataAreaType (Element DataArea)
- Type CancelInvoiceDataAreaType (Element DataArea)
- Type ChangeAcknowledgeInvoiceDataAreaType (Element DataArea)
- Type ChangeInvoiceDataAreaType (Element DataArea)
- Type GetInvoiceDataAreaType (Element DataArea)
- Type NotifyInvoiceDataAreaType (Element DataArea)
- Type ProcessInvoiceDataAreaType (Element DataArea)
- Type ShowInvoiceDataAreaType (Element DataArea)
- Type SyncInvoiceDataAreaType (Element DataArea)
- Type SyncResponseInvoiceDataAreaType (Element DataArea)
Sample instance
<Invoice> <InvoiceHeader> <ID/> <RevisionID>normalizedString</RevisionID> <VariationID>normalizedString</VariationID> <DocumentIDSet> <ID/> </DocumentIDSet> <LastModificationDateTime></LastModificationDateTime> <DocumentDateTime></DocumentDateTime> <Description/> <Note/> <DocumentReference> <ID/> <RevisionID>normalizedString</RevisionID> <VariationID>normalizedString</VariationID> <DocumentIDSet>... </DocumentIDSet> <DocumentDateTime></DocumentDateTime> <Description/> <Note/> <Status>... </Status> <LineNumberID/> <LineIDSet>... </LineIDSet> <Extension>....................................... </Extension> </DocumentReference> <Attachment> <ID/> <IDSet>... </IDSet> <EmbeddedDataBinaryObject/> <URI>normalizedString</URI> <ISBN>normalizedString</ISBN> <FileName/> <DocumentDateTime></DocumentDateTime> <Description/> <Note/> <FileTypeCode>normalizedString</FileTypeCode> <FileSizeQuantity>1.0</FileSizeQuantity> <Title/> <Extension>....................................... </Extension> </Attachment> <Status> <ID/> <IDSet>... </IDSet> <Code/> <Description/> <ReasonCode>normalizedString</ReasonCode> <Reason/> <EffectiveTimePeriod>.................. </EffectiveTimePeriod> <Extension>....................................... </Extension> </Status> <ExtendedAmount/> <TotalAmount/> <AmountDiscount> <ID/> <IDSet>... </IDSet> <DiscountAmount/> <Amount/> <Percentage>1.0</Percentage> <Description/> <Extension>....................................... </Extension> </AmountDiscount> <SupplierParty> <ID/> <PartyIDSet>... </PartyIDSet> <TaxIDSet>... </TaxIDSet> <TaxID>normalizedString</TaxID> <DUNSID>normalizedString</DUNSID> <CAGEID>normalizedString</CAGEID> <DODAACID>normalizedString</DODAACID> <BICID>normalizedString</BICID> <SCACID>normalizedString</SCACID> <AccountID>normalizedString</AccountID> <Name/> <Location>... </Location> <Contact>... </Contact> <SalesContact>... </SalesContact> <ShippingContact>... </ShippingContact> <CustomerServiceContact>... </CustomerServiceContact> <Extension>....................................... </Extension> </SupplierParty> <CustomerParty> <ID/> <PartyIDSet>... </PartyIDSet> <TaxIDSet>... </TaxIDSet> <TaxID>normalizedString</TaxID> <DUNSID>normalizedString</DUNSID> <CAGEID>normalizedString</CAGEID> <DODAACID>normalizedString</DODAACID> <BICID>normalizedString</BICID> <SCACID>normalizedString</SCACID> <AccountID>normalizedString</AccountID> <Name/> <Location>... </Location> <Contact>... </Contact> <CustomerAccountID>normalizedString</CustomerAccountID> <RequesterContact>... </RequesterContact> <PlannerContact>... </PlannerContact> <BuyerContact>... </BuyerContact> <ReceivingContact>... </ReceivingContact> <Extension>....................................... </Extension> </CustomerParty> <RemitToParty> <ID/> <PartyIDSet>... </PartyIDSet> <TaxIDSet>... </TaxIDSet> <TaxID>normalizedString</TaxID> <DUNSID>normalizedString</DUNSID> <CAGEID>normalizedString</CAGEID> <DODAACID>normalizedString</DODAACID> <BICID>normalizedString</BICID> <SCACID>normalizedString</SCACID> <AccountID>normalizedString</AccountID> <Name/> <Location>... </Location> <Contact>... </Contact> <FinancialAccount>... </FinancialAccount> <Extension>....................................... </Extension> </RemitToParty> <ShipToParty> <ID/> <PartyIDSet>... </PartyIDSet> <TaxIDSet>... </TaxIDSet> <TaxID>normalizedString</TaxID> <DUNSID>normalizedString</DUNSID> <CAGEID>normalizedString</CAGEID> <DODAACID>normalizedString</DODAACID> <BICID>normalizedString</BICID> <SCACID>normalizedString</SCACID> <AccountID>normalizedString</AccountID> <Name/> <Location>... </Location> <Contact>... </Contact> <AppointmentRequiredIndicator>true</AppointmentRequiredIndicator> <Extension>....................................... </Extension> </ShipToParty> <CarrierParty> <ID/> <PartyIDSet>... </PartyIDSet> <TaxIDSet>... </TaxIDSet> <TaxID>normalizedString</TaxID> <DUNSID>normalizedString</DUNSID> <CAGEID>normalizedString</CAGEID> <DODAACID>normalizedString</DODAACID> <BICID>normalizedString</BICID> <SCACID>normalizedString</SCACID> <AccountID>normalizedString</AccountID> <Name/> <Location>... </Location> <Contact>... </Contact> <Extension>....................................... </Extension> </CarrierParty> <BillToParty> <ID/> <PartyIDSet>... </PartyIDSet> <TaxIDSet>... </TaxIDSet> <TaxID>normalizedString</TaxID> <DUNSID>normalizedString</DUNSID> <CAGEID>normalizedString</CAGEID> <DODAACID>normalizedString</DODAACID> <BICID>normalizedString</BICID> <SCACID>normalizedString</SCACID> <AccountID>normalizedString</AccountID> <Name/> <Location>... </Location> <Contact>... </Contact> <CustomerAccountID>normalizedString</CustomerAccountID> <RequesterContact>... </RequesterContact> <PlannerContact>... </PlannerContact> <BuyerContact>... </BuyerContact> <ReceivingContact>... </ReceivingContact> <Extension>....................................... </Extension> </BillToParty> <ShipFromParty> <ID/> <PartyIDSet>... </PartyIDSet> <TaxIDSet>... </TaxIDSet> <TaxID>normalizedString</TaxID> <DUNSID>normalizedString</DUNSID> <CAGEID>normalizedString</CAGEID> <DODAACID>normalizedString</DODAACID> <BICID>normalizedString</BICID> <SCACID>normalizedString</SCACID> <AccountID>normalizedString</AccountID> <Name/> <Location>... </Location> <Contact>... </Contact> <Extension>....................................... </Extension> </ShipFromParty> <Party> <ID/> <PartyIDSet>... </PartyIDSet> <TaxIDSet>... </TaxIDSet> <TaxID>normalizedString</TaxID> <DUNSID>normalizedString</DUNSID> <CAGEID>normalizedString</CAGEID> <DODAACID>normalizedString</DODAACID> <BICID>normalizedString</BICID> <SCACID>normalizedString</SCACID> <AccountID>normalizedString</AccountID> <Name/> <Location>... </Location> <Contact>... </Contact> <Extension>....................................... </Extension> </Party> <ReasonCode>normalizedString</ReasonCode> <PurchaseOrderReference> <ID/> <RevisionID>normalizedString</RevisionID> <VariationID>normalizedString</VariationID> <DocumentIDSet>... </DocumentIDSet> <DocumentDateTime></DocumentDateTime> <Description/> <Note/> <Status>... </Status> <LineNumberID/> <LineIDSet>... </LineIDSet> <ReleaseNumberID>normalizedString</ReleaseNumberID> <ScheduleLineNumberID>normalizedString</ScheduleLineNumberID> <SubLineNumberID>normalizedString</SubLineNumberID> <OrderQuantity>1.0</OrderQuantity> <Extension>....................................... </Extension> </PurchaseOrderReference> <ContractReference> <ID/> <RevisionID>normalizedString</RevisionID> <VariationID>normalizedString</VariationID> <DocumentIDSet>... </DocumentIDSet> <DocumentDateTime></DocumentDateTime> <Description/> <Note/> <Status>... </Status> <LineNumberID/> <LineIDSet>... </LineIDSet> <ReleaseNumberID>normalizedString</ReleaseNumberID> <ScheduleLineNumberID>normalizedString</ScheduleLineNumberID> <SubLineNumberID>normalizedString</SubLineNumberID> <OrderQuantity>1.0</OrderQuantity> <Extension>....................................... </Extension> </ContractReference> <PaymentTerm> <ID/> <IDSet>... </IDSet> <Description/> <EffectiveDateTime></EffectiveDateTime> <DueDateTime></DueDateTime> <PaymentBasisCode>token</PaymentBasisCode> <Duration>P1Y2M3DT10H</Duration> <DiscountPercent>1.0</DiscountPercent> <SurchargePercent>1.0</SurchargePercent> <Amount/> <ProxMonth>1</ProxMonth> <ProxDayOfMonth>---31</ProxDayOfMonth> <Extension>....................................... </Extension> </PaymentTerm> <Payment> <ID/> <IDSet>... </IDSet> <Description/> <Note/> <PaymentTerm>... </PaymentTerm> <Discount>... </Discount> <Penalty>... </Penalty> <DeferredTerm>... </DeferredTerm> <LetterOfCredit>... </LetterOfCredit> <Extension>....................................... </Extension> </Payment> <Tax> <ID/> <IDSet>... </IDSet> <TaxJurisdicationCodes>... </TaxJurisdicationCodes> <BasisAmount/> <BasisQuantity>1.0</BasisQuantity> <Calculation>... </Calculation> <Exemption>... </Exemption> <Description/> <TaxAuthorityAmount/> <Amount/> <CurrencyExchangeRate>... </CurrencyExchangeRate> <Extension>....................................... </Extension> </Tax> <DistributeCharge> <ID/> <IDSet>... </IDSet> <BasisAmount/> <BasisQuantity>1.0</BasisQuantity> <Description/> <Amount/> <Calculation>... </Calculation> <ReasonCode>normalizedString</ReasonCode> <CurrencyExchangeRate>... </CurrencyExchangeRate> <TimePeriod>.................. </TimePeriod> <Distribution>... </Distribution> <Extension>....................................... </Extension> </DistributeCharge> <DistributeTax> <ID/> <IDSet>... </IDSet> <TaxJurisdicationCodes>... </TaxJurisdicationCodes> <BasisAmount/> <BasisQuantity>1.0</BasisQuantity> <Calculation>... </Calculation> <Exemption>... </Exemption> <Description/> <TaxAuthorityAmount/> <Amount/> <CurrencyExchangeRate>... </CurrencyExchangeRate> <Distribution>... </Distribution> <Extension>....................................... </Extension> </DistributeTax> <Distribution> <ID/> <IDSet>... </IDSet> <LedgerID>normalizedString</LedgerID> <DocumentReference>... </DocumentReference> <Attachment>... </Attachment> <Percentage>1.0</Percentage> <Quantity/> <Amount/> <GeneralLedgerNominalAccount>normalizedString</GeneralLedgerNominalAccount> <GeneralLedgerElement>... </GeneralLedgerElement> <EnterpriseUnit>... </EnterpriseUnit> <ProjectReference>... </ProjectReference> <Extension>....................................... </Extension> </Distribution> <Charge> <ID/> <IDSet>... </IDSet> <BasisAmount/> <BasisQuantity>1.0</BasisQuantity> <Description/> <Amount/> <Calculation>... </Calculation> <ReasonCode>normalizedString</ReasonCode> <CurrencyExchangeRate>... </CurrencyExchangeRate> <TimePeriod>.................. </TimePeriod> <Extension>....................................... </Extension> </Charge> <Allowance> <ID/> <IDSet>... </IDSet> <BasisAmount/> <BasisQuantity>1.0</BasisQuantity> <Description/> <Amount/> <Calculation>... </Calculation> <ReasonCode>normalizedString</ReasonCode> <CurrencyExchangeRate>... </CurrencyExchangeRate> <TimePeriod>.................. </TimePeriod> <Extension>....................................... </Extension> </Allowance> <TransportationMethodCode>normalizedString</TransportationMethodCode> <TransportationTerm> <ID/> <IDSet>... </IDSet> <IncotermsCode>token</IncotermsCode> <PlaceOfOwnershipTransferLocation>... </PlaceOfOwnershipTransferLocation> <ShipmentServiceLevelCode>normalizedString</ShipmentServiceLevelCode> <FreightTermCode>token</FreightTermCode> <Description/> <Note/> <FreightChargeGeographicLocationIndicator>true</FreightChargeGeographicLocationIndicator> <Extension>....................................... </Extension> </TransportationTerm> <DunnageWeightMeasure>1.0</DunnageWeightMeasure> <TareWeightMeasure>1.0</TareWeightMeasure> <NetWeightMeasure>1.0</NetWeightMeasure> <GrossWeightMeasure>1.0</GrossWeightMeasure> <NetVolumeMeasure>1.0</NetVolumeMeasure> <TotalVolumeMeasure>1.0</TotalVolumeMeasure> <Event> <ID/> <IDSet>... </IDSet> <StartDateTime></StartDateTime> <Duration>P1Y2M3DT10H</Duration> <EndDateTime></EndDateTime> <Description/> <Extension>....................................... </Extension> </Event> <Extension> <AnyExtension> <!--any element--> </AnyExtension> <Amount/> <Code/> <DateTime></DateTime> <ID/> <Indicator>true</Indicator> <Measure/> <Name/> <Number>1.0</Number> <Quantity/> <Text/> <Time></Time> <ValueText>string</ValueText> </Extension> </InvoiceHeader> <InvoiceLine> <LineNumberID/> <LineIDSet> <ID/> </LineIDSet> <Description/> <Note/> <DocumentReference> <ID/> <RevisionID>normalizedString</RevisionID> <VariationID>normalizedString</VariationID> <DocumentIDSet>... </DocumentIDSet> <DocumentDateTime></DocumentDateTime> <Description/> <Note/> <Status>... </Status> <LineNumberID/> <LineIDSet>... </LineIDSet> <Extension>....................................... </Extension> </DocumentReference> <Attachment> <ID/> <IDSet>... </IDSet> <EmbeddedDataBinaryObject/> <URI>normalizedString</URI> <ISBN>normalizedString</ISBN> <FileName/> <DocumentDateTime></DocumentDateTime> <Description/> <Note/> <FileTypeCode>normalizedString</FileTypeCode> <FileSizeQuantity>1.0</FileSizeQuantity> <Title/> <Extension>....................................... </Extension> </Attachment> <Status> <ID/> <IDSet>... </IDSet> <Code/> <Description/> <ReasonCode>normalizedString</ReasonCode> <Reason/> <EffectiveTimePeriod>.................. </EffectiveTimePeriod> <Extension>....................................... </Extension> </Status> <Item> <ID/> <RevisionID>normalizedString</RevisionID> <VariationID>normalizedString</VariationID> <ItemIDSet>... </ItemIDSet> <CustomerItemIdentification>... </CustomerItemIdentification> <ManufacturerItemIdentification>... </ManufacturerItemIdentification> <SupplierItemIdentification>... </SupplierItemIdentification> <UPCID>normalizedString</UPCID> <EPCID>normalizedString</EPCID> <GTINID>normalizedString</GTINID> <Description/> <Note/> <Classification>... </Classification> <Specification>... </Specification> <HazardousMaterial>... </HazardousMaterial> <Packaging>... </Packaging> <Dimensions>... </Dimensions> <ExportControl>... </ExportControl> <HarmonizedTariff>... </HarmonizedTariff> <Trademark>... </Trademark> <DocumentReference>... </DocumentReference> <Attachment>... </Attachment> <CountryOfOriginCode>token</CountryOfOriginCode> <RFID>normalizedString</RFID> <SerialNumberID>normalizedString</SerialNumberID> <Lot>... </Lot> <Extension>....................................... </Extension> </Item> <Quantity/> <UnitPrice> <ID/> <IDSet>... </IDSet> <ChargeAmount/> <BasisQuantity>1.0</BasisQuantity> <NetPriceIndicator>true</NetPriceIndicator> <ChargeAmountRange>... </ChargeAmountRange> <QuantityRange>... </QuantityRange> <UnitAmount/> <TimePeriod>.................. </TimePeriod> <Description/> <Note/> <Extension>....................................... </Extension> </UnitPrice> <PurchaseOrderReference> <ID/> <RevisionID>normalizedString</RevisionID> <VariationID>normalizedString</VariationID> <DocumentIDSet>... </DocumentIDSet> <DocumentDateTime></DocumentDateTime> <Description/> <Note/> <Status>... </Status> <LineNumberID/> <LineIDSet>... </LineIDSet> <ReleaseNumberID>normalizedString</ReleaseNumberID> <ScheduleLineNumberID>normalizedString</ScheduleLineNumberID> <SubLineNumberID>normalizedString</SubLineNumberID> <OrderQuantity>1.0</OrderQuantity> <Extension>....................................... </Extension> </PurchaseOrderReference> <Party> <ID/> <PartyIDSet>... </PartyIDSet> <TaxIDSet>... </TaxIDSet> <TaxID>normalizedString</TaxID> <DUNSID>normalizedString</DUNSID> <CAGEID>normalizedString</CAGEID> <DODAACID>normalizedString</DODAACID> <BICID>normalizedString</BICID> <SCACID>normalizedString</SCACID> <AccountID>normalizedString</AccountID> <Name/> <Location>... </Location> <Contact>... </Contact> <Extension>....................................... </Extension> </Party> <ContractReference> <ID/> <RevisionID>normalizedString</RevisionID> <VariationID>normalizedString</VariationID> <DocumentIDSet>... </DocumentIDSet> <DocumentDateTime></DocumentDateTime> <Description/> <Note/> <Status>... </Status> <LineNumberID/> <LineIDSet>... </LineIDSet> <ReleaseNumberID>normalizedString</ReleaseNumberID> <ScheduleLineNumberID>normalizedString</ScheduleLineNumberID> <SubLineNumberID>normalizedString</SubLineNumberID> <OrderQuantity>1.0</OrderQuantity> <Extension>....................................... </Extension> </ContractReference> <ExtendedAmount/> <TotalAmount/> <AmountDiscount> <ID/> <IDSet>... </IDSet> <DiscountAmount/> <Amount/> <Percentage>1.0</Percentage> <Description/> <Extension>....................................... </Extension> </AmountDiscount> <OpenItemIndicator>true</OpenItemIndicator> <Tax> <ID/> <IDSet>... </IDSet> <TaxJurisdicationCodes>... </TaxJurisdicationCodes> <BasisAmount/> <BasisQuantity>1.0</BasisQuantity> <Calculation>... </Calculation> <Exemption>... </Exemption> <Description/> <TaxAuthorityAmount/> <Amount/> <CurrencyExchangeRate>... </CurrencyExchangeRate> <Extension>....................................... </Extension> </Tax> <DistributeCharge> <ID/> <IDSet>... </IDSet> <BasisAmount/> <BasisQuantity>1.0</BasisQuantity> <Description/> <Amount/> <Calculation>... </Calculation> <ReasonCode>normalizedString</ReasonCode> <CurrencyExchangeRate>... </CurrencyExchangeRate> <TimePeriod>.................. </TimePeriod> <Distribution>... </Distribution> <Extension>....................................... </Extension> </DistributeCharge> <DistributeTax> <ID/> <IDSet>... </IDSet> <TaxJurisdicationCodes>... </TaxJurisdicationCodes> <BasisAmount/> <BasisQuantity>1.0</BasisQuantity> <Calculation>... </Calculation> <Exemption>... </Exemption> <Description/> <TaxAuthorityAmount/> <Amount/> <CurrencyExchangeRate>... </CurrencyExchangeRate> <Distribution>... </Distribution> <Extension>....................................... </Extension> </DistributeTax> <Distribution> <ID/> <IDSet>... </IDSet> <LedgerID>normalizedString</LedgerID> <DocumentReference>... </DocumentReference> <Attachment>... </Attachment> <Percentage>1.0</Percentage> <Quantity/> <Amount/> <GeneralLedgerNominalAccount>normalizedString</GeneralLedgerNominalAccount> <GeneralLedgerElement>... </GeneralLedgerElement> <EnterpriseUnit>... </EnterpriseUnit> <ProjectReference>... </ProjectReference> <Extension>....................................... </Extension> </Distribution> <InvoiceCharge> <ID/> <IDSet>... </IDSet> <BasisAmount/> <BasisQuantity>1.0</BasisQuantity> <Description/> <Amount/> <Calculation>... </Calculation> <ReasonCode>normalizedString</ReasonCode> <CurrencyExchangeRate>... </CurrencyExchangeRate> <TimePeriod>.................. </TimePeriod> <Tax>... </Tax> <Party>... </Party> <Extension>....................................... </Extension> </InvoiceCharge> <InvoiceAllowance> <ID/> <IDSet>... </IDSet> <BasisAmount/> <BasisQuantity>1.0</BasisQuantity> <Description/> <Amount/> <Calculation>... </Calculation> <ReasonCode>normalizedString</ReasonCode> <CurrencyExchangeRate>... </CurrencyExchangeRate> <TimePeriod>.................. </TimePeriod> <Tax>... </Tax> <Party>... </Party> <Extension>....................................... </Extension> </InvoiceAllowance> <GoodsReceiptDateTime></GoodsReceiptDateTime> <ServicesReceiptDateTime></ServicesReceiptDateTime> <InvoiceSubLine> <LineNumberID/> <LineIDSet>... </LineIDSet> <Description/> <Note/> <DocumentReference>... </DocumentReference> <Attachment>... </Attachment> <Status>... </Status> <Item>... </Item> <Quantity/> <UnitPrice>... </UnitPrice> <PurchaseOrderReference>... </PurchaseOrderReference> <Party>... </Party> <ContractReference>... </ContractReference> <ExtendedAmount/> <TotalAmount/> <AmountDiscount>... </AmountDiscount> <OpenItemIndicator>true</OpenItemIndicator> <Tax>... </Tax> <DistributeCharge>... </DistributeCharge> <DistributeTax>... </DistributeTax> <Distribution>... </Distribution> <InvoiceCharge>... </InvoiceCharge> <InvoiceAllowance>... </InvoiceAllowance> <GoodsReceiptDateTime></GoodsReceiptDateTime> <ServicesReceiptDateTime></ServicesReceiptDateTime> <HeatReference>... </HeatReference> <Extension>....................................... </Extension> </InvoiceSubLine> <Extension> <AnyExtension> <!--any element--> </AnyExtension> <Amount/> <Code/> <DateTime></DateTime> <ID/> <Indicator>true</Indicator> <Measure/> <Name/> <Number>1.0</Number> <Quantity/> <Text/> <Time></Time> <ValueText>string</ValueText> </Extension> </InvoiceLine> </Invoice>