Invoice
The Invoice is used to invoice a customer for goods/services the have been provided.
See http://www.openapplications.org/oagis/9.
Element information
Namespace: http://www.openapplications.org/oagis/9
Schema document: org_openapplications_oagis/9_4_1/Developer/Nouns/Invoice.xsd
Type: InvoiceType
Properties: Global, Qualified
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 |
---|---|---|---|---|
type | [0..1] | NormalizedStringType |
Used in
- Type AcknowledgeInvoiceDataAreaType (Element DataArea)
- Type CancelInvoiceDataAreaType (Element DataArea)
- Type ChangeInvoiceDataAreaType (Element DataArea)
- Type GetInvoiceDataAreaType (Element DataArea)
- Type NotifyInvoiceDataAreaType (Element DataArea)
- Type OAGIS9NounsType (Element OAGIS9Nouns)
- Type ProcessInvoiceDataAreaType (Element DataArea)
- Type RespondInvoiceDataAreaType (Element DataArea)
- Type ShowInvoiceDataAreaType (Element DataArea)
- Type SyncInvoiceDataAreaType (Element DataArea)
- Type UpdateInvoiceDataAreaType (Element DataArea)
Sample instance
<Invoice> <InvoiceHeader> <DocumentID> <ID>normalizedString</ID> <RevisionID>normalizedString</RevisionID> <VariationID>normalizedString</VariationID> </DocumentID> <AlternateDocumentID> <ID>normalizedString</ID> <RevisionID>normalizedString</RevisionID> <VariationID>normalizedString</VariationID> </AlternateDocumentID> <LastModificationDateTime>2000-01-01</LastModificationDateTime> <DocumentDateTime>2000-01-01</DocumentDateTime> <Description>string</Description> <Note>string</Note> <DocumentReference> <DocumentID>... </DocumentID> <AlternateDocumentID>... </AlternateDocumentID> <DocumentDateTime>2000-01-01</DocumentDateTime> <Description>string</Description> <Note>string</Note> <StatusCode>normalizedString</StatusCode> <Status>... </Status> <LineNumber>normalizedString</LineNumber> <ItemIDs>... </ItemIDs> <Facility>... </Facility> <SerializedLot>... </SerializedLot> <SalesOrderReference>... </SalesOrderReference> <PurchaseOrderReference>... </PurchaseOrderReference> <GroupName>string</GroupName> <SequenceCode>normalizedString</SequenceCode> <StepID>normalizedString</StepID> <StepType>normalizedString</StepType> <IssuingParty>... </IssuingParty> <OperationReference>... </OperationReference> <ReleaseNumber>normalizedString</ReleaseNumber> <ScheduleLineNumber>normalizedString</ScheduleLineNumber> <SubLineNumber>normalizedString</SubLineNumber> <ShipUnitReference>... </ShipUnitReference> <EffectiveTimePeriod>... </EffectiveTimePeriod> <Item>... </Item> <ID>normalizedString</ID> <SealID>normalizedString</SealID> <Type>normalizedString</Type> <FreightItemID>normalizedString</FreightItemID> <ShippingTrackingID>normalizedString</ShippingTrackingID> <Quantity>1.0</Quantity> <UserArea> <!--any element--> </UserArea> </DocumentReference> <Attachment> <EmbeddedData mimeCode="normalizedString">GpM7</EmbeddedData> <URI>http://www.example.com/</URI> <ISBN>normalizedString</ISBN> <FileName>string</FileName> <DocumentDateTime>2000-01-01</DocumentDateTime> <Description>string</Description> <Note>string</Note> <FileType>normalizedString</FileType> <FileSizeQuantity>1.0</FileSizeQuantity> <Title>string</Title> <UserArea> <!--any element--> </UserArea> </Attachment> <Status> <Code>normalizedString</Code> <Description>string</Description> <EffectiveDateTime>2000-01-01</EffectiveDateTime> <ReasonCode>normalizedString</ReasonCode> <Reason>string</Reason> <TimePeriod>... </TimePeriod> <UserArea> <!--any element--> </UserArea> </Status> <ExtendedAmount currencyID="AED">1.0</ExtendedAmount> <TotalAmount currencyID="AED">1.0</TotalAmount> <QualifiedAmount> <DiscountAmount currencyID="AED">1.0</DiscountAmount> <Amount currencyID="AED">1.0</Amount> <Percentage>1.0</Percentage> <Description>string</Description> </QualifiedAmount> <SupplierParty> <PartyIDs>... </PartyIDs> <AccountID>normalizedString</AccountID> <Name>string</Name> <Location>... </Location> <Contact>... </Contact> <SalesContact>... </SalesContact> <ShippingContact>... </ShippingContact> <CustomerServiceContact>... </CustomerServiceContact> <UserArea> <!--any element--> </UserArea> </SupplierParty> <CustomerParty> <PartyIDs>... </PartyIDs> <AccountID>normalizedString</AccountID> <Name>string</Name> <Location>... </Location> <Contact>... </Contact> <CustomerAccountID>normalizedString</CustomerAccountID> <RequesterContact>... </RequesterContact> <PlannerContact>... </PlannerContact> <BuyerContact>... </BuyerContact> <ReceivingContact>... </ReceivingContact> <UserArea> <!--any element--> </UserArea> </CustomerParty> <RemitToParty> <PartyIDs>... </PartyIDs> <AccountID>normalizedString</AccountID> <Name>string</Name> <Location>... </Location> <Contact>... </Contact> <FinancialAccount>... </FinancialAccount> <UserArea> <!--any element--> </UserArea> </RemitToParty> <Party> <PartyIDs>... </PartyIDs> <AccountID>normalizedString</AccountID> <Name>string</Name> <Location>... </Location> <Contact>... </Contact> <UserArea> <!--any element--> </UserArea> </Party> <ReasonCode>normalizedString</ReasonCode> <PurchaseOrderReference> <DocumentID>... </DocumentID> <AlternateDocumentID>... </AlternateDocumentID> <DocumentDateTime>2000-01-01</DocumentDateTime> <Description>string</Description> <Note>string</Note> <StatusCode>normalizedString</StatusCode> <Status>... </Status> <ReleaseNumber>normalizedString</ReleaseNumber> <LineNumber>normalizedString</LineNumber> <ScheduleLineNumber>normalizedString</ScheduleLineNumber> <SubLineNumber>normalizedString</SubLineNumber> <UserArea> <!--any element--> </UserArea> </PurchaseOrderReference> <ContractReference> <DocumentID>... </DocumentID> <AlternateDocumentID>... </AlternateDocumentID> <DocumentDateTime>2000-01-01</DocumentDateTime> <Description>string</Description> <Note>string</Note> <StatusCode>normalizedString</StatusCode> <Status>... </Status> <ReleaseNumber>normalizedString</ReleaseNumber> <LineNumber>normalizedString</LineNumber> <ScheduleLineNumber>normalizedString</ScheduleLineNumber> <SubLineNumber>normalizedString</SubLineNumber> <UserArea> <!--any element--> </UserArea> </ContractReference> <PaymentTerm> <Description>string</Description> <Note>string</Note> <Term>... </Term> <Discount>... </Discount> <Penalty>... </Penalty> <UserArea> <!--any element--> </UserArea> </PaymentTerm> <Payment> <CashIndicator>true</CashIndicator> <Amount currencyID="AED">1.0</Amount> <UserArea> <!--any element--> </UserArea> </Payment> <Tax> <ID>normalizedString</ID> <TaxJurisdicationCodes> </TaxJurisdicationCodes> <BasisAmount currencyID="AED">1.0</BasisAmount> <Calculation>... </Calculation> <Exemption>... </Exemption> <Description>string</Description> <TaxAuthorityAmount currencyID="AED">1.0</TaxAuthorityAmount> <Amount currencyID="AED">1.0</Amount> <CurrencyExchangeRate>... </CurrencyExchangeRate> <UserArea> <!--any element--> </UserArea> </Tax> <DistributedCharge> <ID>normalizedString</ID> <BasisAmount currencyID="AED">1.0</BasisAmount> <Description>string</Description> <Amount currencyID="AED">1.0</Amount> <Calculation>... </Calculation> <ReasonCode>normalizedString</ReasonCode> <CurrencyExchangeRate>... </CurrencyExchangeRate> <TimePeriod>... </TimePeriod> <Distribution>... </Distribution> <UserArea> <!--any element--> </UserArea> </DistributedCharge> <DistributedTax> <ID>normalizedString</ID> <TaxJurisdicationCodes> </TaxJurisdicationCodes> <BasisAmount currencyID="AED">1.0</BasisAmount> <Calculation>... </Calculation> <Exemption>... </Exemption> <Description>string</Description> <TaxAuthorityAmount currencyID="AED">1.0</TaxAuthorityAmount> <Amount currencyID="AED">1.0</Amount> <CurrencyExchangeRate>... </CurrencyExchangeRate> <Distribution>... </Distribution> <UserArea> <!--any element--> </UserArea> </DistributedTax> <Distribution> <LedgerID>normalizedString</LedgerID> <DocumentReference>... </DocumentReference> <Attachment>... </Attachment> <Percentage>1.0</Percentage> <Quantity>1.0</Quantity> <Amount currencyID="AED">1.0</Amount> <GLNominalAccount>normalizedString</GLNominalAccount> <GLElement> </GLElement> <EnterpriseUnit>... </EnterpriseUnit> <ProjectReference>... </ProjectReference> <UserArea> <!--any element--> </UserArea> </Distribution> <Charge> <ID>normalizedString</ID> <BasisAmount currencyID="AED">1.0</BasisAmount> <Description>string</Description> <Amount currencyID="AED">1.0</Amount> <Calculation>... </Calculation> <ReasonCode>normalizedString</ReasonCode> <CurrencyExchangeRate>... </CurrencyExchangeRate> <TimePeriod>... </TimePeriod> <UserArea> <!--any element--> </UserArea> </Charge> <Allowance> <ID>normalizedString</ID> <BasisAmount currencyID="AED">1.0</BasisAmount> <Description>string</Description> <Amount currencyID="AED">1.0</Amount> <Calculation>... </Calculation> <ReasonCode>normalizedString</ReasonCode> <CurrencyExchangeRate>... </CurrencyExchangeRate> <TimePeriod>... </TimePeriod> <UserArea> <!--any element--> </UserArea> </Allowance> <UserArea> <!--any element--> </UserArea> </InvoiceHeader> <InvoiceLine> <LineNumber>normalizedString</LineNumber> <Description>string</Description> <Note>string</Note> <DocumentReference> <DocumentID>... </DocumentID> <AlternateDocumentID>... </AlternateDocumentID> <DocumentDateTime>2000-01-01</DocumentDateTime> <Description>string</Description> <Note>string</Note> <StatusCode>normalizedString</StatusCode> <Status>... </Status> <LineNumber>normalizedString</LineNumber> <ItemIDs>... </ItemIDs> <Facility>... </Facility> <SerializedLot>... </SerializedLot> <SalesOrderReference>... </SalesOrderReference> <PurchaseOrderReference>... </PurchaseOrderReference> <GroupName>string</GroupName> <SequenceCode>normalizedString</SequenceCode> <StepID>normalizedString</StepID> <StepType>normalizedString</StepType> <IssuingParty>... </IssuingParty> <OperationReference>... </OperationReference> <ReleaseNumber>normalizedString</ReleaseNumber> <ScheduleLineNumber>normalizedString</ScheduleLineNumber> <SubLineNumber>normalizedString</SubLineNumber> <ShipUnitReference>... </ShipUnitReference> <EffectiveTimePeriod>... </EffectiveTimePeriod> <Item>... </Item> <ID>normalizedString</ID> <SealID>normalizedString</SealID> <Type>normalizedString</Type> <FreightItemID>normalizedString</FreightItemID> <ShippingTrackingID>normalizedString</ShippingTrackingID> <Quantity>1.0</Quantity> <UserArea> <!--any element--> </UserArea> </DocumentReference> <Attachment> <EmbeddedData mimeCode="normalizedString">GpM7</EmbeddedData> <URI>http://www.example.com/</URI> <ISBN>normalizedString</ISBN> <FileName>string</FileName> <DocumentDateTime>2000-01-01</DocumentDateTime> <Description>string</Description> <Note>string</Note> <FileType>normalizedString</FileType> <FileSizeQuantity>1.0</FileSizeQuantity> <Title>string</Title> <UserArea> <!--any element--> </UserArea> </Attachment> <Status> <Code>normalizedString</Code> <Description>string</Description> <EffectiveDateTime>2000-01-01</EffectiveDateTime> <ReasonCode>normalizedString</ReasonCode> <Reason>string</Reason> <TimePeriod>... </TimePeriod> <UserArea> <!--any element--> </UserArea> </Status> <Item> <ItemID>... </ItemID> <CustomerItemID>... </CustomerItemID> <ManufacturerItemID>... </ManufacturerItemID> <SupplierItemID>... </SupplierItemID> <UPCID>normalizedString</UPCID> <EPCID>normalizedString</EPCID> <ServiceIndicator>true</ServiceIndicator> <Description>string</Description> <Note>string</Note> <Classification>... </Classification> <Specification>... </Specification> <HazardousMaterial>... </HazardousMaterial> <Packaging>... </Packaging> <CountryOfOriginCode>normalizedString</CountryOfOriginCode> <RFID>normalizedString</RFID> <SerialNumber>normalizedString</SerialNumber> <Lot>... </Lot> <UserArea> <!--any element--> </UserArea> </Item> <Quantity>1.0</Quantity> <UnitPrice> <Amount currencyID="AED">1.0</Amount> <PerQuantity>1.0</PerQuantity> <Code>normalizedString</Code> <TimePeriod>... </TimePeriod> </UnitPrice> <PurchaseOrderReference> <DocumentID>... </DocumentID> <AlternateDocumentID>... </AlternateDocumentID> <DocumentDateTime>2000-01-01</DocumentDateTime> <Description>string</Description> <Note>string</Note> <StatusCode>normalizedString</StatusCode> <Status>... </Status> <ReleaseNumber>normalizedString</ReleaseNumber> <LineNumber>normalizedString</LineNumber> <ScheduleLineNumber>normalizedString</ScheduleLineNumber> <SubLineNumber>normalizedString</SubLineNumber> <UserArea> <!--any element--> </UserArea> </PurchaseOrderReference> <Party> <PartyIDs>... </PartyIDs> <AccountID>normalizedString</AccountID> <Name>string</Name> <Location>... </Location> <Contact>... </Contact> <UserArea> <!--any element--> </UserArea> </Party> <ContractReference> <DocumentID>... </DocumentID> <AlternateDocumentID>... </AlternateDocumentID> <DocumentDateTime>2000-01-01</DocumentDateTime> <Description>string</Description> <Note>string</Note> <StatusCode>normalizedString</StatusCode> <Status>... </Status> <ReleaseNumber>normalizedString</ReleaseNumber> <LineNumber>normalizedString</LineNumber> <ScheduleLineNumber>normalizedString</ScheduleLineNumber> <SubLineNumber>normalizedString</SubLineNumber> <UserArea> <!--any element--> </UserArea> </ContractReference> <ExtendedAmount currencyID="AED">1.0</ExtendedAmount> <TotalAmount currencyID="AED">1.0</TotalAmount> <QualifiedAmount> <DiscountAmount currencyID="AED">1.0</DiscountAmount> <Amount currencyID="AED">1.0</Amount> <Percentage>1.0</Percentage> <Description>string</Description> </QualifiedAmount> <OpenItemIndicator>true</OpenItemIndicator> <Tax> <ID>normalizedString</ID> <TaxJurisdicationCodes> </TaxJurisdicationCodes> <BasisAmount currencyID="AED">1.0</BasisAmount> <Calculation>... </Calculation> <Exemption>... </Exemption> <Description>string</Description> <TaxAuthorityAmount currencyID="AED">1.0</TaxAuthorityAmount> <Amount currencyID="AED">1.0</Amount> <CurrencyExchangeRate>... </CurrencyExchangeRate> <UserArea> <!--any element--> </UserArea> </Tax> <DistributedCharge> <ID>normalizedString</ID> <BasisAmount currencyID="AED">1.0</BasisAmount> <Description>string</Description> <Amount currencyID="AED">1.0</Amount> <Calculation>... </Calculation> <ReasonCode>normalizedString</ReasonCode> <CurrencyExchangeRate>... </CurrencyExchangeRate> <TimePeriod>... </TimePeriod> <Distribution>... </Distribution> <UserArea> <!--any element--> </UserArea> </DistributedCharge> <DistributedTax> <ID>normalizedString</ID> <TaxJurisdicationCodes> </TaxJurisdicationCodes> <BasisAmount currencyID="AED">1.0</BasisAmount> <Calculation>... </Calculation> <Exemption>... </Exemption> <Description>string</Description> <TaxAuthorityAmount currencyID="AED">1.0</TaxAuthorityAmount> <Amount currencyID="AED">1.0</Amount> <CurrencyExchangeRate>... </CurrencyExchangeRate> <Distribution>... </Distribution> <UserArea> <!--any element--> </UserArea> </DistributedTax> <Distribution> <LedgerID>normalizedString</LedgerID> <DocumentReference>... </DocumentReference> <Attachment>... </Attachment> <Percentage>1.0</Percentage> <Quantity>1.0</Quantity> <Amount currencyID="AED">1.0</Amount> <GLNominalAccount>normalizedString</GLNominalAccount> <GLElement> </GLElement> <EnterpriseUnit>... </EnterpriseUnit> <ProjectReference>... </ProjectReference> <UserArea> <!--any element--> </UserArea> </Distribution> <InvoiceCharge> <ID>normalizedString</ID> <BasisAmount currencyID="AED">1.0</BasisAmount> <Description>string</Description> <Amount currencyID="AED">1.0</Amount> <Calculation>... </Calculation> <ReasonCode>normalizedString</ReasonCode> <CurrencyExchangeRate>... </CurrencyExchangeRate> <TimePeriod>... </TimePeriod> <Tax>... </Tax> <Party>... </Party> <UserArea> <!--any element--> </UserArea> </InvoiceCharge> <InvoiceAllowance> <ID>normalizedString</ID> <BasisAmount currencyID="AED">1.0</BasisAmount> <Description>string</Description> <Amount currencyID="AED">1.0</Amount> <Calculation>... </Calculation> <ReasonCode>normalizedString</ReasonCode> <CurrencyExchangeRate>... </CurrencyExchangeRate> <TimePeriod>... </TimePeriod> <Tax>... </Tax> <Party>... </Party> <UserArea> <!--any element--> </UserArea> </InvoiceAllowance> <InvoiceSubLine> <LineNumber>normalizedString</LineNumber> <Description>string</Description> <Note>string</Note> <DocumentReference>... </DocumentReference> <Attachment>... </Attachment> <Status>... </Status> <Item>... </Item> <Quantity>1.0</Quantity> <UnitPrice>... </UnitPrice> <PurchaseOrderReference>... </PurchaseOrderReference> <Party>... </Party> <ContractReference>... </ContractReference> <ExtendedAmount currencyID="AED">1.0</ExtendedAmount> <TotalAmount currencyID="AED">1.0</TotalAmount> <QualifiedAmount>... </QualifiedAmount> <OpenItemIndicator>true</OpenItemIndicator> <Tax>... </Tax> <DistributedCharge>... </DistributedCharge> <DistributedTax>... </DistributedTax> <Distribution>... </Distribution> <InvoiceCharge>... </InvoiceCharge> <InvoiceAllowance>... </InvoiceAllowance> <UserArea> <!--any element--> </UserArea> </InvoiceSubLine> <UserArea> <!--any element--> </UserArea> </InvoiceLine> </Invoice>