이 가이드에서는 UBL 2.4 신청 응답의 적용을 설명합니다. UBL 2.4 표준을 준수합니다. 기본 기능은 세무 당국에 제출된 청구 서류의 상태 전달: 세금 당국을 대상으로 Google에 제출해야 하는 경우, 이 문서는 제출 상태를 의미하며, 제출 기한 내에 생성된 인보이스 바이너리 파일의 링크를 포함할 수 있습니다. 할 수도 있습니다.
이 스키마는 공급업체가 문서 제출 결과를 Google, 적용 대상:
- 문서의 수락 상태입니다.
- 세무 당국에서 발견한 문제 또는 오류
- 인보이스 또는 대변 메모의 관련 바이너리 파일 링크입니다.
이 구조화된 통신 프로토콜은 인보이스의 효율성을 향상하는 Google, 공급업체, 세무 당국 준수해야 합니다
요청에 사용되는 일괄 처리 메커니즘과 마찬가지로 응답 일괄 처리는 더 많은 작업을 위해 한 번의 제출로 여러 문서를 통합하는 방식 관리할 수 있습니다 이 메커니즘에 대한 자세한 정보는 인보이스 응답 일괄 처리 섹션으로 이동합니다.
이미지에 시각화된 스키마 구조는 문서의 중요한 구성 요소로서 지위에 대한 접근 방식을 강조합니다. 인보이스 제출 보고:
1.0 애플리케이션 응답 헤더
Google 공급업체 요청 ID, 날짜 및 응답이 제공된 시간(UTC)입니다.
요소 | 설명 | 예 |
---|---|---|
cbc:UUID |
인보이스 요청에 제공된 Google 공급업체 요청 ID | 123e4567-e89b-12d3-a456-426614174000 |
cbc:IssueDate |
응답이 제공된 날짜 | 2023-06-02 |
cbc:IssueTime |
응답이 제공된 시간(UTC)입니다. | 08:20:00-08:00 |
예
<ApplicationResponse>
<cbc:UUID>123e4567-e89b-12d3-a456-426614174000</cbc:UUID>
<cbc:IssueDate>2023-06-02</cbc:IssueDate>
<cbc:IssueTime>08:20:00-08:00</cbc:IssueTime>
<cac:SenderParty>
<!-- Sender party details -->
</cac:SenderParty>
<cac:ReceiverParty>
<!-- Receiver party details -->
</cac:ReceiverParty>
<cac:DocumentResponse>
<!-- Document Response content -->
</cac:DocumentResponse>
</ApplicationResponse>
2.0 발신자 및 수신자 정보
이 섹션에서는 Application Response, UBL 표준에 따른 필수 필드 이 발신자는 응답을 전달하는 공급업체여야 합니다. 수신자는 Google이어야 합니다.
요소 | 설명 | 예 |
---|---|---|
cac:SenderParty/cac:PartyName/cbc:Name |
정부 시스템에서 응답을 전달하는 공급업체의 이름입니다. | Vendor Company |
cac:ReceiverParty/cac:PartyName/cbc:Name |
응답을 수신하는 항목의 이름입니다. | Google |
예
<ApplicationResponse>
...
<cac:SenderParty>
<cac:PartyName>
<cbc:Name>Vendor Company</cbc:Name>
</cac:PartyName>
</cac:SenderParty>
<cac:ReceiverParty>
<cac:PartyName>
<cbc:Name>Google</cbc:Name>
</cac:PartyName>
</cac:ReceiverParty>
...
</ApplicationResponse>
3.0 문서 응답
이 섹션에서는 응답 상태 및 그 결과로 생성된 관련 문서 참조 도움이 될 수 있습니다
요소 | 설명 | 예 |
---|---|---|
cac:Response |
필수입니다. 인보이스 제출과 관련된 응답 상태가 포함됩니다. | 섹션 3.1 참조 |
cac:DocumentReference |
선택사항입니다. 생성된 문서에 대한 참조를 0개 또는 여러 개 포함할 수 있습니다. | 섹션 3.2 참조 |
예
<ApplicationResponse>
...
<cac:DocumentResponse>
<cac:Response>
<!-- Response details -->
</cac:Response>
<cac:DocumentReference>
<!-- Document Reference (if applicable) -->
</cac:DocumentReference>
<cac:DocumentReference>
<!-- Document Reference (if applicable) -->
</cac:DocumentReference>
</cac:DocumentResponse>
</ApplicationResponse>
3.1 대응
각 애플리케이션 응답에는 다음을 자세히 설명하는 단일 cac:Response
가 포함되어야 합니다.
현재 상태로, 문서 제출과 고유하게 연결됩니다. 이렇게 하면
각 문서 처리 결과를 명확하게 전달해야 합니다
요소 | 설명 | 예 |
---|---|---|
cbc:ReferenceID |
참조된 인보이스에 대해 조세 시스템에서 반환된 고유 식별자입니다. | BIL-123456 |
cbc:ReferenceID/@schemeID |
출처를 명확히 하는 식별자를 제공하는 시스템 또는 표준입니다. | KSEF |
cac:Status/cbc:StatusReasonCode |
사전 정의된 값을 기준으로 응답 또는 상태 이유를 정의하는 코드: list | NON |
cac:Status/cbc:StatusReason |
상태 코드에 관한 세부정보를 제공하는 설명 텍스트 | No Issue |
예
<ApplicationResponse>
...
<cac:DocumentResponse>
<cac:Response>
<cbc:ReferenceID schemeID="Vendor Company">BIL-123456</cbc:ReferenceID>
<cac:Status>
<cbc:StatusReasonCode>NON</cbc:StatusReasonCode>
<cbc:StatusReason>No Issue</cbc:StatusReason>
</cac:Status>
</cac:Response>
<cac:DocumentReference>
<!-- Document Reference (if applicable) -->
</cac:DocumentReference>
<cac:DocumentReference>
<!-- Document Reference (if applicable) -->
</cac:DocumentReference>
</cac:DocumentResponse>
</ApplicationResponse>
3.2 문서 참조
이 섹션은 그 결과로 생성된 문서에 대한 참조를 첨부하는 데 사용됩니다. 인보이스 제출 절차 선택사항이며 여러 개를 포함할 수 있습니다. 세무 당국에서 작성한 문서 수에 따라 다릅니다.
요소 | 설명 | 예 |
---|---|---|
cbc:ID |
현지 인보이스 번호 | BIL-123456 |
cbc:ID/@schemeID |
인보이스 참조 발급기관의 식별자입니다. | Vendor Company |
cbc:IssueDate |
세무 당국에서 이 응답을 제출한 날짜 | 2023-06-02 |
cbc:DocumentTypeCode |
코드로 표시된 참조 중인 문서의 유형 (인보이스가 허용되는 경우) | 380 |
cbc:DocumentType |
참조되는 문서의 유형(텍스트로 표현) | Invoice |
cac:Attachment/cac:ExternalReference/cbc:FormatCode |
생성된 인보이스의 형식 (XML, PDF, URL) | XML |
cac:Attachment/cac:ExternalReference/cbc:FileName |
SFTP 서버에서 생성된 파일의 파일 이름 (XML 및 PDF 형식 코드의 경우) | invoice_GCEMEAD0000000001.pdf |
cac:Attachment/cac:ExternalReference/cbc:URI |
생성된 파일을 가져올 URL (URL 형식 코드의 경우) | https://example.com/invoice/view |
다음 예는 신청서에서 문서가 어떻게 참조되는지를 보여줍니다. 대응. 첫 번째 예에는 SFTP를 사용하여 전송되는 문서가 포함됩니다. 두 번째 예제는 PDF 및 XML 형식으로, 두 번째 예는 URL을 사용하여 파일을 전송할 필요 없이 직접 액세스할 수 있음 사용할 수 있습니다
예 1: PDF 및 SFTP를 통해 전송된 XML 인보이스 첨부파일
<ApplicationResponse>
<!-- Sender and Receiver Details -->
<cac:DocumentResponse>
<cac:Response>
<!-- Response Details -->
</cac:Response>
<cac:DocumentReference>
<cbc:ID schemeID="Vendor Company">BIL-123456</cbc:ID>
<cbc:IssueDate>2023-06-02</cbc:IssueDate>
<cbc:DocumentTypeCode>380</cbc:DocumentTypeCode>
<cbc:DocumentType>Invoice</cbc:DocumentType>
<cac:Attachment>
<cac:ExternalReference>
<!-- PDF Document stored on SFTP -->
<cbc:FormatCode>PDF</cbc:FormatCode>
<cbc:FileName>invoice_GCEMEAD0000000001.pdf</cbc:FileName>
</cac:ExternalReference>
</cac:Attachment>
<cac:Attachment>
<cac:ExternalReference>
<!-- XML Document stored on SFTP -->
<cbc:FormatCode>XML</cbc:FormatCode>
<cbc:FileName>invoice_GCEMEAD0000000001.xml</cbc:FileName>
</cac:ExternalReference>
</cac:Attachment>
</cac:DocumentReference>
</cac:DocumentResponse>
</ApplicationResponse>
예 2: URL을 사용하여 액세스 가능한 문서
<ApplicationResponse>
<!-- Sender and Receiver Details -->
<cac:DocumentResponse>
<cac:Response>
<!-- Response Details -->
</cac:Response>
<cac:DocumentReference>
<cbc:ID schemeID="Vendor Company">BIL-123456</cbc:ID>
<cbc:IssueDate>2023-06-02</cbc:IssueDate>
<cbc:DocumentTypeCode>380</cbc:DocumentTypeCode>
<cbc:DocumentType>Invoice</cbc:DocumentType>
<cac:Attachment>
<cac:ExternalReference>
<!-- Document accessible using URL -->
<cbc:FormatCode>URL</cbc:FormatCode>
<cbc:URI>https://example.com/invoice/view</cbc:URI>
</cac:ExternalReference>
</cac:Attachment>
</cac:DocumentReference>
</cac:DocumentResponse>
</ApplicationResponse>