RubenAlves Posted March 18, 2022 at 03:13 PM Report Share #625580 Posted March 18, 2022 at 03:13 PM Estou a fazer uma Fatura simples de 100 com 20% de Desconto com Um Artigo Isento. Alguem conseque perceber o que está mal neste ficheiro porque não está a Validar? <?xml version="1.0" encoding="utf-8"?> <Invoice xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"> <cbc:UBLVersionID>2.1</cbc:UBLVersionID> <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:feap.gov.pt:CIUS-PT:2.1.1</cbc:CustomizationID> <cbc:ID>FT 22V101/35</cbc:ID> <cbc:IssueDate>2022-03-18</cbc:IssueDate> <cbc:DueDate>2022-04-17</cbc:DueDate> <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode> <cbc:Note>#NUMBER@ATCERTIFIEDPROGRAM#nº1799#</cbc:Note> <cbc:Note>#HASHCODE@ATCERTIFIEDPROGRAM#MW2+#</cbc:Note> <cbc:Note>Note>#DESCRIPTION@ATCERTIFIEDPROGRAM#TsGest Programama Certificado na AT#</cbc:Note> <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode> <cbc:AccountingCost>Teste</cbc:AccountingCost> <cac:AdditionalDocumentReference> <cbc:ID schemeID="AAA">FT 22V101/35</cbc:ID> <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode> <cbc:DocumentType>FT</cbc:DocumentType> <cbc:DocumentDescription>INVOICE_REPRESENTATION</cbc:DocumentDescription> </cac:AdditionalDocumentReference> <cac:AdditionalDocumentReference> <cbc:ID schemeID="ANG">0</cbc:ID> </cac:AdditionalDocumentReference> <cac:AccountingSupplierParty> <cac:Party> <cbc:EndpointID schemeID="9946">PT999999990</cbc:EndpointID> <cac:PartyName> <cbc:Name>Cliente</cbc:Name> </cac:PartyName> <cac:PostalAddress> <cbc:StreetName>Morada</cbc:StreetName> <cbc:CityName>Desconhecido</cbc:CityName> <cbc:PostalZone>9700-661</cbc:PostalZone> <cac:Country> <cbc:IdentificationCode listID="ISO3166-1">PT</cbc:IdentificationCode> </cac:Country> </cac:PostalAddress> <cac:PartyTaxScheme> <cbc:CompanyID>PT999999990</cbc:CompanyID> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> </cac:TaxScheme> </cac:PartyTaxScheme> <cac:PartyLegalEntity> <cbc:RegistrationName>Fornecedor</cbc:RegistrationName> <cbc:CompanyID schemeID="0001">PT999999990</cbc:CompanyID> <cac:RegistrationAddress> <cbc:CityName>Serreta</cbc:CityName> <cac:Country> <cbc:IdentificationCode>PT</cbc:IdentificationCode> </cac:Country> </cac:RegistrationAddress> </cac:PartyLegalEntity> </cac:Party> </cac:AccountingSupplierParty> <cac:AccountingCustomerParty> <cac:Party> <cbc:EndpointID schemeID="9946">PT183349830</cbc:EndpointID> <cac:PartyName> <cbc:Name>JOSÉ LEONEL SILVEIRA</cbc:Name> </cac:PartyName> <cac:PostalAddress> <cbc:StreetName>CAMINHO DE CIMA </cbc:StreetName> <cbc:CityName>ROSAIS</cbc:CityName> <cbc:PostalZone>9800-223</cbc:PostalZone> <cac:Country> <cbc:IdentificationCode listID="ISO3166-1">PT</cbc:IdentificationCode> </cac:Country> </cac:PostalAddress> <cac:PartyTaxScheme> <cbc:CompanyID>PT183349830</cbc:CompanyID> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> <cbc:CurrencyCode>EUR</cbc:CurrencyCode> </cac:TaxScheme> </cac:PartyTaxScheme> <cac:PartyLegalEntity> <cbc:RegistrationName>Cliente</cbc:RegistrationName> <cbc:CompanyID>PT183349830</cbc:CompanyID> </cac:PartyLegalEntity> </cac:Party> </cac:AccountingCustomerParty> <cac:Delivery> <cac:DeliveryLocation> <cac:Address> <cbc:StreetName>CAMINHO DE CIMA </cbc:StreetName> <cbc:CityName>ROSAIS</cbc:CityName> <cbc:PostalZone>9800-223</cbc:PostalZone> <cac:Country> <cbc:IdentificationCode>PT</cbc:IdentificationCode> </cac:Country> </cac:Address> </cac:DeliveryLocation> </cac:Delivery> <cac:PaymentMeans> <cbc:PaymentMeansCode name="Transferência">TB</cbc:PaymentMeansCode> <cbc:PaymentDueDate>2022-04-17</cbc:PaymentDueDate> </cac:PaymentMeans> <cac:PaymentTerms> <cbc:Note>30 Dias</cbc:Note> </cac:PaymentTerms> <cac:TaxTotal> <cbc:TaxAmount currencyID="EUR">0</cbc:TaxAmount> <cac:TaxSubtotal> <cbc:TaxableAmount currencyID="EUR">80.00</cbc:TaxableAmount> <cbc:TaxAmount currencyID="EUR">0.00</cbc:TaxAmount> <cac:TaxCategory> <cbc:ID>ISE</cbc:ID> <cbc:Percent>0.00</cbc:Percent> <cbc:TaxExemptionReasonCode>M10</cbc:TaxExemptionReasonCode> <cbc:TaxExemptionReason>Artigo 53.º do CIVA</cbc:TaxExemptionReason> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> </cac:TaxScheme> </cac:TaxCategory> </cac:TaxSubtotal> </cac:TaxTotal> <cac:LegalMonetaryTotal> <cbc:LineExtensionAmount currencyID="EUR">80.0</cbc:LineExtensionAmount> <cbc:TaxExclusiveAmount currencyID="EUR">80.0</cbc:TaxExclusiveAmount> <cbc:TaxInclusiveAmount currencyID="EUR">80.0</cbc:TaxInclusiveAmount> <cbc:AllowanceTotalAmount currencyID="EUR">0.00</cbc:AllowanceTotalAmount> <cbc:ChargeTotalAmount currencyID="EUR">0.00</cbc:ChargeTotalAmount> <cbc:PrepaidAmount currencyID="EUR">0.00</cbc:PrepaidAmount> <cbc:PayableRoundingAmount currencyID="EUR">0.00</cbc:PayableRoundingAmount> <cbc:PayableAmount currencyID="EUR">80.0</cbc:PayableAmount> </cac:LegalMonetaryTotal> <cac:InvoiceLine> <cbc:ID>1</cbc:ID> <cbc:InvoicedQuantity unitCode="C62">1.000</cbc:InvoicedQuantity> <cbc:LineExtensionAmount currencyID="EUR">80.00</cbc:LineExtensionAmount> <cac:AllowanceCharge> <cbc:ChargeIndicator>false</cbc:ChargeIndicator> <cbc:AllowanceChargeReason>Desconto</cbc:AllowanceChargeReason> <cbc:Amount currencyID="EUR">20.00</cbc:Amount> </cac:AllowanceCharge> <cac:Item> <cbc:Description>Artigo Isento</cbc:Description> <cbc:Name>Artigo Isento</cbc:Name> <cac:ClassifiedTaxCategory> <cbc:ID>ISE</cbc:ID> <cbc:Percent>0.00</cbc:Percent> <cbc:TaxExemptionReasonCode>M10</cbc:TaxExemptionReasonCode> <cbc:TaxExemptionReason>Artigo 53.º do CIVA</cbc:TaxExemptionReason> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> </cac:TaxScheme> </cac:ClassifiedTaxCategory> <cac:AdditionalItemProperty> <cbc:Name>M10</cbc:Name> <cbc:Value>#TAXEXEMPTIONREASONCODE@CLASSIFIEDTAXCATEGORY#</cbc:Value> </cac:AdditionalItemProperty> <cac:AdditionalItemProperty> <cbc:Name>Artigo 53.º do CIVA</cbc:Name> <cbc:Value>#TAXEXEMPTIONREASON@CLASSIFIEDTAXCATEGORY#</cbc:Value> </cac:AdditionalItemProperty> </cac:Item> <cac:Price> <cbc:PriceAmount currencyID="EUR">100.00</cbc:PriceAmount> <cbc:BaseQuantity unitCode="C62">1.000</cbc:BaseQuantity> </cac:Price> </cac:InvoiceLine> </Invoice> Link to comment Share on other sites More sharing options...
RubenAlves Posted March 19, 2022 at 03:27 PM Author Report Share #625588 Posted March 19, 2022 at 03:27 PM Já Consegui resolver. Link to comment Share on other sites More sharing options...
pauloalves75 Posted May 23, 2022 at 11:26 AM Report Share #625993 Posted May 23, 2022 at 11:26 AM On 3/19/2022 at 3:27 PM, RubenAlves said: Já Consegui resolver. Boas Ruben, tudo bem contigo? Afinal qual era o problema e como conseguiste resolver? Estou a ter o mesmo problema. Link to comment Share on other sites More sharing options...
pauloalves75 Posted May 23, 2022 at 11:37 AM Report Share #625994 Posted May 23, 2022 at 11:37 AM On 3/19/2022 at 3:27 PM, RubenAlves said: Já Consegui resolver. Tinhas trocado. Já resolvi 🙂 Link to comment Share on other sites More sharing options...
RubenAlves Posted May 23, 2022 at 02:35 PM Author Report Share #625999 Posted May 23, 2022 at 02:35 PM OK. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now